struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Struts2 Dynamic Checkboxes
Date Thu, 24 May 2007 19:00:24 GMT
--- Skip Hollowell <skip@skipdaddy.com> wrote:
> Would you make that a separate  data structure, or 
> part of the object already being passed?

For me, that would depend on what the underlying data
model was, I suppose.

> Let's say it's separate, just add the Map/List to
the
> action, create setter and getters, and make sure and

> recreate the list when ever a function of the 
> action is called that returns to the page where you
> display the list and the choices?

Yep... in its simplest form, it's really pretty
straight-forward. There's all sorts of cool ways to
mess it up later ;)

d.



       
____________________________________________________________________________________Luggage?
GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message