Thanks Matt. :)
Got it working.
mraible wrote:
>
> You may have to write your own Comparable class for your Webappssystem
> object.
>
> Matt
>
> On 7/17/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>> Thanks for the reply.
>> I tried this,but i am getting following exception in testcases.
You may have to write your own Comparable class for your Webappssystem object.
Matt
On 7/17/07, Msarda <[EMAIL PROTECTED]> wrote:
Hi,
Thanks for the reply.
I tried this,but i am getting following exception in testcases.
java.lang.ClassCastException: au.com.suncorp.model.Webappssystem
Hi,
Thanks for the reply.
I tried this,but i am getting following exception in testcases.
java.lang.ClassCastException: au.com.suncorp.model.Webappssystem
at org.appfuse.model.LabelValue$1.compare(LabelValue.java:25)
at java.util.Arrays.mergeSort(Arrays.java:1284)
I am implementi
Are you Webappssystem objects LabelValue objects? You might want to
consider tranlating them into them and then using
LabelValue.CASE_INSENSITIVE_ORDER as the comparator (2nd argument in
Collections.sort()).
http://static.appfuse.org/appfuse-data-common/xref/org/appfuse/model/LabelValue.html
Th
Hi,
I am doing as following
protected Map referenceData(HttpServletRequest request) throws Exception {
Map model = new HashMap();
List webSystemImpacted =
webappssystemManager.getAll();
Collections.sort(webSystemImpacted);
model.put("webSystemImpacted",webSystemIm
You should sort your list with your HQL query, or use
Collections.sort() to sort the list.
Matt
On 7/17/07, Msarda <[EMAIL PROTECTED]> wrote:
Hi all,
I want to sort the drop down before displaying it on jsp.
I am using following in jsp to populate drop dowm list.
Hi all,
I want to sort the drop down before displaying it on jsp.
I am using following in jsp to populate drop dowm list.
"
SELECTED
>
--
View this message in context:
http://www.nabble.