Hi, ive been playing with ww2 for a few weeks now but wasn't able to
find out how to sort collections with a velocity tag.
While searching the source i've found an action named
SortIteratorFilter... and i guess:
1. i could call it with an #tag Action
2. i could #set( $action =
This is probably your best bet.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Martin Angeletti
Sent: Thursday, December 18, 2003 12:52 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] sorting collections
Hi, ive been playing with ww2 for a few weeks now
Title: sorting collections
My Action class has a method getCars() that returns a collection of Car objects.
The Car class has a method getMake(), along with several others.
I'd like to output a sorted table of the cars in my JSP, sorted on the make.
Here's what I tried.
table
webwork:bean