[1.1-beta-4] FreeMarker template error!

2007-11-21 Thread Erik Ruisma
Hello,

we have been testing the beta-4 for a while, suddenly I'm unable to edit or
add any Build definitions.
I don't see the save button (see screenshot1).
On the bottom of the page I get a yellow background (screenshot2).

I've also added the a part of the continuum log file.
Anything I can do to solve this (except reïnstalling)?

Thanks

(PS: sorry if you receive the mail 2 times, my first message was refused
because attachment were to big)
INFO   | jvm 1| 2007/11/21 14:53:38 | 2007-11-21 14:53:38,746 
[SocketListener0-1] ERROR freemarker.runtime  - 
INFO   | jvm 1| 2007/11/21 14:53:38 | Error on line 48, column 13 in 
template/simple/select.ftl
INFO   | jvm 1| 2007/11/21 14:53:38 | 
stack.findString(parameters.listValue) is undefined.
INFO   | jvm 1| 2007/11/21 14:53:38 | It cannot be assigned to itemValue
INFO   | jvm 1| 2007/11/21 14:53:38 | The problematic instruction:
INFO   | jvm 1| 2007/11/21 14:53:38 | --
INFO   | jvm 1| 2007/11/21 14:53:38 | ==> assignment: 
itemValue=stack.findString(parameters.listValue) [on line 48, column 13 in 
template/simple/select.ftl]
INFO   | jvm 1| 2007/11/21 14:53:38 |  in user-directive ww.iterator [on 
line 40, column 1 in template/simple/select.ftl]
INFO   | jvm 1| 2007/11/21 14:53:38 |  in include 
"/${parameters.templateDir}/simple/select.ftl" [on line 2, column 1 in 
template/default/select.ftl]
INFO   | jvm 1| 2007/11/21 14:53:38 | --
INFO   | jvm 1| 2007/11/21 14:53:38 | 
INFO   | jvm 1| 2007/11/21 14:53:38 | Java backtrace for programmers:
INFO   | jvm 1| 2007/11/21 14:53:38 | --
INFO   | jvm 1| 2007/11/21 14:53:38 | 
freemarker.core.InvalidReferenceException: Error on line 48, column 13 in 
template/simple/select.ftl
INFO   | jvm 1| 2007/11/21 14:53:38 | 
stack.findString(parameters.listValue) is undefined.
INFO   | jvm 1| 2007/11/21 14:53:38 | It cannot be assigned to itemValue
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.Assignment.accept(Assignment.java:111)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.Environment.visit(Environment.java:196)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.IfBlock.accept(IfBlock.java:82)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.Environment.visit(Environment.java:196)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.Environment.visit(Environment.java:196)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.Environment.visit(Environment.java:233)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.Environment.visit(Environment.java:196)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.Environment.visit(Environment.java:196)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.Environment.include(Environment.java:1375)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.Include.accept(Include.java:155)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.Environment.visit(Environment.java:196)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.Environment.visit(Environment.java:196)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.core.Environment.process(Environment.java:176)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
freemarker.template.Template.process(Template.java:231)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
com.opensymphony.webwork.components.template.FreemarkerTemplateEngine.renderTemplate(FreemarkerTemplateEngine.java:126)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
com.opensymphony.webwork.components.UIBean.mergeTemplate(UIBean.java:642)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
com.opensymphony.webwork.components.UIBean.end(UIBean.java:596)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
com.opensymphony.webwork.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:21)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
org.apache.jsp.WEB_002dINF.jsp.buildDefinitionEdit_jsp._jspx_meth_ww_select_0(buildDefinitionEdit_jsp.java:1020)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
org.apache.jsp.WEB_002dINF.jsp.buildDefinitionEdit_jsp._jspx_meth_c_when_1(buildDefinitionEdit_jsp.java:456)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
org.apache.jsp.WEB_002dINF.jsp.buildDefinitionEdit_jsp._jspx_meth_c_choose_0(buildDefinitionEdit_jsp.java:284)
INFO   | jvm 1| 2007/11/21 14:53:38 |   at 
org.apach

Re: locale settings

2007-11-06 Thread Erik Ruisma
Thanks a lot  for your answer.
I solved the problem be copying the continuum.proporties  file to
continuum_en.properties

I use firefox and I noticed the following in  the header (using
LiveHttpHeaders)
Accept-Language: en,nl;q=0.8,fr;q=0.5,no;q=0.3

I deleted the fr in the header  (by changing firefox settings) but I
continued to get the pages in english. So I decided to add a continuum_en
file.
So my problem is solved but I just wanted to let you know.



On Oct 31, 2007 6:49 PM, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:

> The localization with french is new in this version and the locale to use
> is determined by the local sent by the browser to the server.
>
> If you don't want french, change your browser settings or remove
> "_fr.properties" file in the webapp.
>
> Emmanuel
>
> Erik Ruisma a écrit :
> > Hello,
> >
> > I just installed the beta-4 of continuum.
> > We run it standalone as a windows service (on windows server 2003).
> > In previous releases (1.0.3 but also beta 3 and 2) continuum web pages
> were
> > always displayed in English. Now (as of beta 4) they are in french.
> > We still have the old version running on the same machine, and there the
> > webapp is in English.
> > Has anything changed in this release. How is the locale
> > retrieved/determined?
> >
> > I'll check with our system admins to find out the specific settings for
> the
> > user we use when running the service.
> >
> > I'll keep you informed, but any ideas are welcome.
> >
>
>