PDA

View Full Version : Does Spring has something like ValueList?


markt
Aug 26th, 2005, 10:54 AM
Hi guys,

Is there any function in Spring that offer something like ValueList?
http://valuelist.sourceforge.net/

Thank you !

regards,
Mark

Colin Yates
Aug 26th, 2005, 11:07 AM
Valuelist is just a tag used for rendering tabular data. There is no reason why this spring cannot produce the data the tag uses to render.

They are different tools for different things ;)

markt
Aug 27th, 2005, 11:55 AM
Ya I know it's a tag....
So can u pls give an example on how using the similar functionality of ValueList with Spring ?
TIA !

rstearns01
Aug 27th, 2005, 07:30 PM
The page at the link you provided includes an example. However giving a view component direct access to the data layer just gives me shivers.

Spring doesn't include a lot of tags except for form and resource bundle binding, and I agree with that philosophy. As yatesco alluded to, its job is to be view agnostic. Here's your data, do unto it what you will.