Is this a bug - in Struts 2

2007-06-25 Thread Tracy12
Hi, I developed some portlets using Struts 2, It looks to me that the minimize does not seem to work, it just produce same content without getting minimized. Most of the time it should be no content, Even programatically I can't handle this as it does not invoke the action classes when I switc

Re: How to select the first item of a list.

2007-06-25 Thread TonyD
THANKS! IT WORKS! Lukasz Racon wrote: > > It depends what you have as an underlaying collection: > users[0] in case of arrays, lists; > or in worst case scenario use: > users.{^ true==true} > > Check the OGNL: > http://wiki.opensymphony.com/display/WW/OGNL > http://wiki.opensymphony.com/displa

Re: How to select the first item of a list.

2007-06-25 Thread Lukasz Racon
It depends what you have as an underlaying collection: users[0] in case of arrays, lists; or in worst case scenario use: users.{^ true==true} Check the OGNL: http://wiki.opensymphony.com/display/WW/OGNL http://wiki.opensymphony.com/display/WW/OGNL+Basics Lukasz TonyD wrote: > > I'm working wi

How to select the first item of a list.

2007-06-25 Thread TonyD
I'm working with structs 2.0.6 and a populate a list of users from a database. How can I select the first item of the list (the first user) with a value option? Thanks for any help, regards -- View this message in context: http://www.nabble.com/How-to-select-the-first-item-of-a-list.