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: dropdown values getting lost in validation
Date Wed, 27 Feb 2008 15:38:35 GMT
--- John Menke <jmjava@gmail.com> wrote:
> it seems my dropdown collections on my bean are not getting 
> repopulated when i use the validator interceptor.  What is  the
> best practice for repopulating dropdowns?  Where should this 
> logic be placed?

It may depend on how you're populating the dropdowns (for example, where
you're getting the data from), but this is one use of the Preparable
interface. There are several ways to go about it, though.

Dave


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


Mime
View raw message