Your example code should work. Just a reminder: all the WebWork 1.x SortIterator classes have been ported and might be helpful depending on what you are trying to do. However, for the most part they are obsolete due to the new features in the OGNL EL.
-----Original Message-----
Hmm, well our result is in a list containing beans with result data.
Can i set a value in the stack, like prevValue. And later in the iterator loop check if this prevValue is equal to newValue.
Like this? OrganizationName is the beans property value. SearchResult gives a list containing beans (POJO's).
<ww:iterator
status="row"
value="searchResultTransport.searchResult" > ....write orgName </ww:if> <ww:set name="prevOrgName" value="organizationName" /> </ww:iterator>
or is there a better way to deal with this.
/Mathias
|
Title: Message
- [OS-webwork] About ww:iterator tag Mathias Berg
- RE: [OS-webwork] About ww:iterator tag Daniel Pfeifer
- RE: [OS-webwork] About ww:iterator tag Jason Carreira
- RE: [OS-webwork] About ww:iterator tag Mathias Berg
- RE: [OS-webwork] About ww:iterator tag Patrick Lightbody
- RE: [OS-webwork] About ww:iterator tag Jason Carreira
- RE: [OS-webwork] About ww:iterator tag Mathias Berg
- RE: [OS-webwork] About ww:iterator tag Jason Carreira