D2W: List default sort order
Assumptions: Your D2WList page inherits from ERD2WListPage in Wonder (and if it doesn’t it should).
Apply a default sort order on the list with a rule that looks like this:
LH: task = 'list' and entity.name = 'User'
RH: defaultSortOrdering = ( "name", "compareAscending" )
Class: com.webobjects.directtoweb.Assignment
Also available are:
compareAscending
compareCaseInsensitiveAscending
compareCaseInsensitiveDescending
compareDescending
- ← Previous
Interesting stuff post - Next →
D2W: Grouping fields in edit form