Estoy haciendo un sitio web con struts, y necesito que cada x segundos llame a un action, segun he leido con struts-dojo hay un parametro (updateFreq) que me permitiria hacer esto.
he bajado el jar, lo pongo pero siempre salta el mismo error:
Código HTML:
Error on line 27, column 20 in template/simple/head.ftl Expecting a string, date or number here, Expression parameters.debug?default(false) is instead a freemarker.ext.beans.BooleanModel The problematic instruction: ---------- ==> ${parameters.debug?default(false)} [on line 27, column 18 in template/simple/head.ftl] in include "/${parameters.templateDir}/simple/head.ftl" [on line 24, column 1 in template/xhtml/head.ftl] in include "/${parameters.templateDir}/${themeProperties.parent}/head.ftl" [on line 24, column 1 in template/ajax/head.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.NonStringException: Error on line 27, column 20 in template/simple/head.ftl Expecting a string, date or number here, Expression parameters.debug?default(false) is instead a freemarker.ext.beans.BooleanModel at freemarker.core.Expression.getStringValue(Expression.java:126) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196)
Alguien sabe que puede ser?
Gracias!