struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandeep Takhar <>
Subject Re: Where to build dropdown lists?
Date Wed, 16 Jul 2003 20:11:31 GMT
I have not personally used scaffolding, but by
separating your business logic from your display logic
you gain advantages.

Scaffolding's business beans automatically populate to
certain scopes.  You can have many of them per

By going to a different mapping, but having the
request scoped beans populated by the same business
routines will solve this problem.

--- Rick Reumann <> wrote:
> On Tue, Jul 15,'03 (01:56 PM GMT-0100), Dichotomy
> wrote: 
> > My solution, which is perhaps not the most
> efficient memory-wise, is
> > to simply put it in (and retrieve it from) the
> session rather than the
> > request. 
> I agree this is the best solution (using Session or
> Application scope).
> I brought this topic up a long time ago and
> ultimately you really have
> to use Session or Application scope if you plan to
> use Validation (or
> else settle for headaches getting it to work
> correctly with Request
> scope). If you use just Request scope you end up
> having to do
> some'crazier'(aka annoying) things to get the lists
> of beans for the
> drop downs to reset when validation fails. Search of
> the archives if you
> insist on using Request scope for the form lists and
> you'll find ways to
> do it, but none of them seemed worth the
> hassle(imo). If someone out
> there still has a nice clean way to get these
> request scope Lists back
> in scope after validation fails, I'd be interested
> in your solution.  
> -- 
> Rick
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message