Hi, Thanks for the replay. I am forwarding the Jsp page and the action src code driving the page to you. The getPermssionlevel() method return the appropriate list/collection and the value is populated in perpere mathod. Please have alook at the code snippet.
Thanks Suhas --- On Thu, 9/4/09, Muthu Velappan <muthu.velap...@aspiresys.com> wrote: > From: Muthu Velappan <muthu.velap...@aspiresys.com> > Subject: Re: Freemarker in JSP > To: user@struts.apache.org > Date: Thursday, 9 April, 2009, 5:31 PM > > Struts 2's default markup language is Freemarker and all > themes are written > in this language only. Your view is using this tag > "<s:select > name="permissionlevel" list="%{permissionlevel}" > theme="simple"/>" right, in > that look at the theme="simple" attribute, these are > written in freemarker > only. Its shipped as part ur jar. > > Now, coming to ur error. I think ur "permissionlevel" > variable in action is > not properly populated and that's the reason why u get this > error. Please > check where u populate this variable, if that is in input() > or execute() > method change the location to prepare() method as mentioned > in this link > http://struts.apache.org/2.1.6/docs/how-do-we-repopulate-controls-when-validation-fails.html > Select/List control re-population issues and then > re-test code... > -- > View this message in context: > http://www.nabble.com/Freemarker-in-JSP-tp22965569p22969478.html > Sent from the Struts - User mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org