Re: s.autocompleter not found
That resolved the issue. Thanks! Is there an ETA for 2.0.7? Regards, Rohit On 3/16/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: I just realized that there is a bug with the autocompleter and freemarker: http://issues.apache.org/struts/browse/WW-1823 as a workaround use "autocompleterModel", it will be fixed for 2.0.7. regards musachy On 3/16/07, Rohit Dewan <[EMAIL PROTECTED]> wrote: > > I have a page configured as follows: > > http://www.w3.org/1999/xhtml";> > > > Test > <@s.head theme="ajax" /> > > > > and later in the body > > <@s.url id="bars" value="barsList.action" /> > <@s.form action="addFoo" method="add"> > <@s.autocompleter theme="ajax" href="%{bars}" name="bar" > /> > <@s.submit value="OK" action="addFoo" method="add"/> > <@s.submit value="Cancel" action="addFoo" > method="cancel"/> > > > > I get the following error when the page is rendered: > > > on line 56, column 33 in provider/addAppointment.html s.autocompleternot > found. > The problematic instruction: > -- > ==> user-directive s.autocompleter [on line 56, column 33 in > provider/addAppointment.html] > in user-directive s.form [on line 55, column 25 in > provider/addAppointment.html] > -- > > Java backtrace for programmers: > -- > freemarker.core.InvalidReferenceException: on line 56, column 33 in > provider/addAppointment.html s.autocompleter not found. > at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136) > 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.visit(Environment.java:233) > at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116) > 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.process(Environment.java:176) > at freemarker.template.Template.process(Template.java:232) > at org.apache.struts2.views.freemarker.FreemarkerResult.doExecute( > FreemarkerResult.java:168) > at org.apache.struts2.dispatcher.StrutsResultSupport.execute( > StrutsResultSupport.java:178) > at com.opensymphony.xwork2.DefaultActionInvocation.executeResult ( > DefaultActionInvocation.java:343) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke( > DefaultActionInvocation.java:248) > > What am I missing. Any help would be most appreciated. > > Regards, > Rohit > -- "Hey you! Would you help me to carry the stone?" Pink Floyd
Re: s.autocompleter not found
I just realized that there is a bug with the autocompleter and freemarker: http://issues.apache.org/struts/browse/WW-1823 as a workaround use "autocompleterModel", it will be fixed for 2.0.7. regards musachy On 3/16/07, Rohit Dewan <[EMAIL PROTECTED]> wrote: I have a page configured as follows: http://www.w3.org/1999/xhtml";> Test <@s.head theme="ajax" /> and later in the body <@s.url id="bars" value="barsList.action" /> <@s.form action="addFoo" method="add"> <@s.autocompleter theme="ajax" href="%{bars}" name="bar" /> <@s.submit value="OK" action="addFoo" method="add"/> <@s.submit value="Cancel" action="addFoo" method="cancel"/> I get the following error when the page is rendered: on line 56, column 33 in provider/addAppointment.html s.autocompleter not found. The problematic instruction: -- ==> user-directive s.autocompleter [on line 56, column 33 in provider/addAppointment.html] in user-directive s.form [on line 55, column 25 in provider/addAppointment.html] -- Java backtrace for programmers: -- freemarker.core.InvalidReferenceException: on line 56, column 33 in provider/addAppointment.html s.autocompleter not found. at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136) 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.visit(Environment.java:233) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116) 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.process(Environment.java:176) at freemarker.template.Template.process(Template.java:232) at org.apache.struts2.views.freemarker.FreemarkerResult.doExecute( FreemarkerResult.java:168) at org.apache.struts2.dispatcher.StrutsResultSupport.execute( StrutsResultSupport.java:178) at com.opensymphony.xwork2.DefaultActionInvocation.executeResult( DefaultActionInvocation.java:343) at com.opensymphony.xwork2.DefaultActionInvocation.invoke( DefaultActionInvocation.java:248) What am I missing. Any help would be most appreciated. Regards, Rohit -- "Hey you! Would you help me to carry the stone?" Pink Floyd
s.autocompleter not found
I have a page configured as follows: http://www.w3.org/1999/xhtml";> Test <@s.head theme="ajax" /> and later in the body <@s.url id="bars" value="barsList.action" /> <@s.form action="addFoo" method="add"> <@s.autocompleter theme="ajax" href="%{bars}" name="bar" /> <@s.submit value="OK" action="addFoo" method="add"/> <@s.submit value="Cancel" action="addFoo" method="cancel"/> I get the following error when the page is rendered: on line 56, column 33 in provider/addAppointment.html s.autocompleter not found. The problematic instruction: -- ==> user-directive s.autocompleter [on line 56, column 33 in provider/addAppointment.html] in user-directive s.form [on line 55, column 25 in provider/addAppointment.html] -- Java backtrace for programmers: -- freemarker.core.InvalidReferenceException: on line 56, column 33 in provider/addAppointment.html s.autocompleter not found. at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136) 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.visit(Environment.java:233) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116) 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.process(Environment.java:176) at freemarker.template.Template.process(Template.java:232) at org.apache.struts2.views.freemarker.FreemarkerResult.doExecute( FreemarkerResult.java:168) at org.apache.struts2.dispatcher.StrutsResultSupport.execute( StrutsResultSupport.java:178) at com.opensymphony.xwork2.DefaultActionInvocation.executeResult( DefaultActionInvocation.java:343) at com.opensymphony.xwork2.DefaultActionInvocation.invoke( DefaultActionInvocation.java:248) What am I missing. Any help would be most appreciated. Regards, Rohit