DispayTag + Webwork + Decorator
Novice At Work <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <2646967.1165332538918.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
I am using display tag to display collection from an action and I want the colums to be sorted, when clicked on the columnTitle. Table uses a decorator to create a name string from first name and last name, which is done so that clicking on the Name in which the decorator-returned string is to appear will appear sorted.
The problem is that when I click on the header I am going to the ERROR page. Please take a sec to look at my code and tell me where I took the wrong route.
<ww:set name="incompleteSamples" value="unfinishedSamples" scope="request" />
<display:table name="incompleteSamples" decorator="org.stjude.proprod.util.ListAllSamplesDecorator">
<display:column property="refToOrder.refToUser.userInfo.firstName" title="firstName" sortable="true" ></display:column>
<display:column property="fullName" title="Name" sortable="true" ></display:column>
</display:table>
Note: Even when I display the first name and click on the header, expecting it to sort the column, my expectations were not matched.
Thanks for looking at the problem.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=52185&messageID=105323#105323
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]