// condition loop
if(tag.containsAttribute("condition")){
if(tag.isScriptBase())
throw new EvaluatorException("tag loop-condition is not supported within cfscript, use instead a while statement.");
TagLib tagLib=tagLibTag.getTagLib();
ExprTransformer transformer;
String text=ASMUtil.getAttributeString(tag, "condition");
try {
ConfigImpl config=(ConfigImpl) ThreadLocalPageContext.getConfig();
transformer = tagLib.getExprTransfomer();
Expression expr=transformer.transform(ASMUtil.getAncestorPage(tag),null,flibs,config.getCoreTagLib().getScriptTags(),new CFMLString(text,"UTF-8"),TransfomerSettings.toSetting(ThreadLocalPageContext.getConfig(),null));
tag.addAttribute(new Attribute(false,"condition",CastBoolean.toExprBoolean(expr),"boolean"));
}
catch (Exception e) {
throw new EvaluatorException(e.getMessage());