-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have not been able to make Map<String, List<Model>> work in my listbox.
I want to have key of this map in headers and the collection of value(ie List<Model>) will be listitems.
Using renderer ?
@Rhino
There is no need to post If you can not help. Anyway I have been able to complete my application long before, just wanted to know if you guys are also using renderer or implementing a listmodel
<rant>
Let's talk about forum etiquette a bit...
1) I think with @Rhino's post being the first one for him/her/bot, it's spam. Especially with the URL planted in the signature.
2) @leoyc should have added a sample rather than just say "mine works". Those kind of comments do absolutely *nothing* to help @dagarwal82 solve the problem being discussed. If you can't suggest a solution, post sample code, point to another thread with a possible solution, or point to documentation with a possible cure, you're just wasting bandwidth and everyone's time.
2) @dagarwal82, if you've solved the problem, you could sure cure someone else's pain someday by posting a sample of what you have running successfully.
</rant>
"Seekers of truth, a single lamp may light hundreds of thousands of lamps without itself being diminished... Likewise, the more you teach and demonstrate virtuous qualities to others, the more you grow with respect to these virtuous qualities."
~~ "The Inexhaustible Lamp" - Vimalakirti ~~
I can confirm, that List<Map<String, Object>> works nicely with listbox or grid. Except auto(sorting).
Look at this issue. There is also a file attached which shows a small example how to do it.
Asked: 2011-03-12 07:01:04 +0800
Seen: 676 times
Last updated: Mar 25 '11