Re: multiple header in struts2 select tag

2011-11-27 Thread Li Ying
The error message is optGroupInternalListUiBean.parameters is undefined I had a quick look at the source of Struts2 and tag template, In [template/simple/optgroup.ftl]: line 23: #if parameters.optGroupInternalListUiBeanList??line 24: #assign

Re: multiple header in struts2 select tag

2011-11-27 Thread Li Ying
Sorry, the format of my email broken again. Send it again. The error message is optGroupInternalListUiBean.parameters is undefined I had a quick look at the source of Struts2 and tag template, In [template/simple/optgroup.ftl]: line 23: #if parameters.optGroupInternalListUiBeanList?? line

multiple header in struts2 select tag

2011-11-07 Thread Jyothrilinga Rao
Hi, I am showing a list of files in the drop down and want to show two more options as follows option value=none selected=selectedselect one/option option value=ALL ALL /option In Struts1, we could have html:option within the html:select tag. In Struts2, I tried

Re: multiple header in struts2 select tag

2011-11-07 Thread Dave Newton
Normally you'd do this through an s:optgroup tag [1]. If you need functionality beyond the defaults, you'd need to roll your own tag, or consider the optgroup approach. Dave [1] http://struts.apache.org/2.x/docs/optgroup.html On Mon, Nov 7, 2011 at 12:32 PM, Jyothrilinga Rao jyoth...@gmail.com

Re: multiple header in struts2 select tag

2011-11-07 Thread Maurizio Cucchiara
Latest version of S2 is 2.2.3.1 (and so is xwork). http://struts.apache.org/2.2.3.1/index.html Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 7 November

Re: multiple header in struts2 select tag

2011-11-07 Thread Dave Newton
Haven't seen the error before, but I also can't see your JSP to eyeball or test it. Dave On Mon, Nov 7, 2011 at 1:06 PM, Jyothrilinga Rao jyoth...@gmail.com wrote: Thank you Dave. I used the optgroup and got a unexpected error. Was using jars struts-core-2.0.14.jar and xwork-2.0.7.jar. Maybe