RE: repopulating options of html:select when validation fails

2003-10-17 Thread Wendy Smoak
 Can anyone offer a crafty method of reloading a dynamic collection of
html:options
 into the request scope in case form validation fails and the
controller must forward to 
 the 'input' of the action mapping?  Thanks.

Is putting them in session scope totally out of the question?  I think a
bit of cleanup code is a fair tradeoff for having the collection
available when you need it.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: repopulating options of html:select when validation fails

2003-10-17 Thread Steve Raeburn
Set your input parameter to the *action* that prepares the page, not
directly to the page itself.

Steve

 -Original Message-
 From: Marc Dugger [mailto:[EMAIL PROTECTED]
 Sent: October 17, 2003 1:33 PM
 To: [EMAIL PROTECTED]
 Subject: repopulating options of html:select when validation fails


 Can anyone offer a crafty method of reloading a dynamic collection of
 html:options into the request scope in case form validation
 fails and the
 controller must forward to the 'input' of the action mapping?  Thanks.
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.525 / Virus Database: 322 - Release Date: 10/9/2003


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: repopulating options of html:select when validation fails

2003-10-17 Thread Robert Taylor
set your input attribute value to the action mapping which
set's up the page for display. 

So if you have SetupAction as the action invoked prior to 
displaying the page which contains the options collection, then
you would use it's action mapping as the input for the action
which processes the form input.

robert

 -Original Message-
 From: Marc Dugger [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 4:33 PM
 To: [EMAIL PROTECTED]
 Subject: repopulating options of html:select when validation fails 
 
 
 Can anyone offer a crafty method of reloading a dynamic collection of
 html:options into the request scope in case form validation 
 fails and the
 controller must forward to the 'input' of the action mapping?  Thanks.
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.525 / Virus Database: 322 - Release Date: 10/9/2003
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]