cancel
Showing results for 
Search instead for 
Did you mean: 

alfwf.war not up to date ?

deas0815
Star Contributor
Star Contributor
Hallo everybody,

following http://wiki.alfresco.com/wiki/Surf_Platform#Deploying using the source
from svn revision 3278 (which should be labs 3c) I have run into

———-
==> ${url.match} [on line 1, column 26 in test/alfwebtest01.get.html.ftl]
———-

Java backtrace for programmers:
———-
freemarker.core.InvalidReferenceException: Expression url.match is undefined on line 1, column 28 in test/alfwebtest01.get.html.ftl.
        at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
        at freemarker.core.Expression.getStringValue(Expression.java:118)
        at freemarker.core.Expression.getStringValue(Expression.java:93)
        at freemarker.core.DollarVariable.accept(DollarVariable.java:76)


and

Expression url.full is undefined on line 17, column 47 in status.ftl.
The problematic instruction:
———-
==> ${url.full} [on line 17, column 45 in status.ftl]
———-

Java backtrace for programmers:
———-
freemarker.core.InvalidReferenceException: Expression url.full is undefined on line 17, column 47 in status.ftl.
        at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
        at freemarker.core.Expression.getStringValue(Expression.java:118)
        at freemarker.core.Expression.getStringValue(Expression.java:93)


url is a org.alfresco.web.scripts.URLHelper which indeed has no such properties.

I guess the sample was not quite up to date at that time.

Will this be/is this fixed in HEAD ?

Is there a working SURF sample application available ?

regards
Andreas
2 REPLIES 2

t_broyer
Champ in-the-making
Champ in-the-making
Is there a working SURF sample application available ?

Share ?  😉

(oh, and Web Studio of course)

deas0815
Star Contributor
Star Contributor
ok thanks, I'll have a closer look at share/webstudio.

Nevertheless, the wiki and the sources can be a little misleading here.

regards
Andreas