overseastars wrote: > Hi > > I'm having troubles in obtaining my data from the getCurrentRowObject > becasue it returns only object and I cant cast it back to ArrayList. In my > entity class it is List<Category> parents = new ArrayList<Category>(); I > didnt get solutions from google. Can anyone please help me out??? I really > need this to make my own decorator so that I can show that list of data in > the display:column.......Please help me. Many thanks.. > >
You're creating a List of Category objects and passing this to the DisplayTag library for display. Each _row_ of the table displays the data from a single _Category_ object. If you try and cast the return value of the getCurrentRowObject() call to Category then you should find it works. If you really need the whole List then you should be able to retrieve it inside the decorator from whatever scope you put it into. Ed! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user