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

Reply via email to