Re: still wondering Re: Where to repopulate dynamic lists ?

2003-02-15 Thread Rick Reumann
On Wed, Feb 12,'03 (07:45 AM GMT-0500), Robert wrote: > Rick, I usually define the setUpForm action URI as the input attribute > of the processForm action element. That way if a validation error > occurs the request is forwarded to the setUpForm action which > repopulates the list and forwards to

RE: still wondering Re: Where to repopulate dynamic lists ?

2003-02-12 Thread Jerome Jacobsen
s. Come on Craig or Ted we await your pearls of wisdom. > -Original Message- > From: Theodas, Jacques [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 12, 2003 11:30 AM > To: [EMAIL PROTECTED] > Subject: RE: still wondering Re: Where to repopulate dynamic lists ? >

RE: still wondering Re: Where to repopulate dynamic lists ?

2003-02-12 Thread Theodas, Jacques
bruary 11, 2003 10:48 AM > To: Struts Users Mailing List > Cc: [EMAIL PROTECTED] > Subject: Re: still wondering Re: Where to repopulate dynamic lists ? > > > Sorry Craig to e-mail you directly but this topic has been up for a > while and I'd really be curious on your tak

RE: still wondering Re: Where to repopulate dynamic lists ?

2003-02-12 Thread Robert Taylor
> Subject: Re: still wondering Re: Where to repopulate dynamic lists ? > > > Sorry Craig to e-mail you directly but this topic has been up for a > while and I'd really be curious on your take on this. (I'm working on > struts demo and I don't mislead others by doing som

RE: still wondering Re: Where to repopulate dynamic lists ?

2003-02-11 Thread Mitchell Morris
What? You're going over my head? Fine. Be that way. I'm now going to charge you double for my free advice and unsolicited opinion :) [snip-and-rearrange] > Yes, actually I never did put the list into the form bean but had > initially put the list in request scope. Now we've come full circle:) > W

Re: still wondering Re: Where to repopulate dynamic lists ?

2003-02-11 Thread Rick Reumann
Sorry Craig to e-mail you directly but this topic has been up for a while and I'd really be curious on your take on this. (I'm working on struts demo and I don't mislead others by doing something 'wrong'). To recap I'm wondering what is the best practice for repopulating a dynamic list that a use

RE: still wondering Re: Where to repopulate dynamic lists ?

2003-02-11 Thread Mitchell Morris
> > #1) Create a custom tag library to share an application-wide cached > > value of the order list, and populate the list into scope: [snip] > > This is probably a pretty good solution, although doesn't this go > against the thought of all the objects to display should be set > up before you even

still wondering Re: Where to repopulate dynamic lists ?

2003-02-10 Thread Rick Reumann
Thanks for the feedback. Some comments below. Remember the problem isn't with setting up the list into scope from an Action, it's what to do when validation takes place and the validation returns false returning you back to the initial jsp page. On Mon, Feb 10,'03 (10:38 PM GMT-0500), Mitchell wro

RE: Where to repopulate dynamic lists ?

2003-02-10 Thread Mitchell Morris
Just to show there's more than one way to skin a cat: #1) Create a custom tag library to share an application-wide cached value of the order list, and populate the list into scope: ### in your custom tag handler public int doStart() { if(cacheNeedsRebuilding()) { List orderList = buil

RE: Where to repopulate dynamic lists ?

2003-02-10 Thread Joseph Fifield
how! Joe > -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 10, 2003 5:51 PM > To: Struts Users Mailing List > Subject: Re: Where to repopulate dynamic lists ? > > > > > On Mon, 10 Feb 2003 10:16:26 -0500 >

Re: Where to repopulate dynamic lists ?

2003-02-10 Thread Rick Reumann
On Mon, 10 Feb 2003 10:16:26 -0500 "Joseph Fifield" <[EMAIL PROTECTED]> wrote: > This topic seems to keep coming up, and with no real good solutions > (IMHO). One point that seems to be made frequently though, is that the > logic to repopulate the lists really doesn't belong in the ActionForm, >

RE: Where to repopulate dynamic lists ?

2003-02-10 Thread Joseph Fifield
This topic seems to keep coming up, and with no real good solutions (IMHO). One point that seems to be made frequently though, is that the logic to repopulate the lists really doesn't belong in the ActionForm, yet that seems to be the most convenient place to put it. I know I would really like this