[Q] D2W sorting lists with property level custom component
[Q] D2W sorting lists with property level custom component
- Subject: [Q] D2W sorting lists with property level custom component
- From: Markus Ruggiero <email@hidden>
- Date: Mon, 14 Mar 2011 19:24:00 +0100
More D2W problems here:
I have a simple D2W list page with a couple of attributes. All the columns have the sort icon and sorting works. One of the attributes is a very large string. So I created a CollapsibleLargeString property level component. This component is basically a WOCollapsibleComponentContent that shows the full string in opened state and shows a truncated version of the string as the collapsed label. When I use this component sorting does not work any more. All the records can be sorted by clicking the sort icon above the columns but the column for that large string does not sort with the rest of the list. Thus the displayed values stay at their place and the rest of the table sorts around them. Why? What does a custom component for display have to do with the sort order? Why is the whole table sorted but this particular column stays as it was? Sortkey is properly set. Replacing the custom component by e.g. D2WDisplayString fixes the issue.
Any ideas?
---markus---
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden