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

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 optGroupInternalListUiBeans=parameters.optGroupInter

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 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 updating the j

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
Normally you'd do this through an 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 wrote: > Hi, > > I am showin

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 select one ALL In Struts1, we could have html:option within the html:select tag. In Struts2, I tried to use the headerKey & headerValue attribute of s:select, but can o