http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg94386.html

hth,
Hubert

--- Martin Gross <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have a form with a dropdown list:
> <html:options collection="campaignList" property="id" 
> labelProperty="name" />
> 
> The collection is set by an action which redirects to this form.
> 
> <action path="/showNewCampaigns" 
> type="de.evolt.newsletter.webgui.CampaignAction"  scope="request">
> <forward name="success" path="edit.campaign" />
> </action>
> 
> 
> 
> I use Validator to check the values of this form when submitting it.
> 
> <action path="/updateCampaign" 
> type="de.evolt.newsletter.webgui.CampaignAction" name="campaignForm" 
> scope="request" input="edit.campaign"  >
> <forward name="success" path="/showNewsletterOverview.do" />
> </action>
> 
> The problem is that I get an "Cannot find bean campaignList" error when 
> validation detects that a required field was not filled.
> 
> I could solve the problem putting campaignList into session scope. But 
> is there another solution without putting campaignList into session 
> scope (e.g. request scope)?
> 
> Regards,
> Martin
> 
> 

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

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

Reply via email to