Re: Missing bean when validating

2004-02-29 Thread Martin Gross
Thanks, Hubert! That was the information I was looking for.

Hubert Rabago wrote:
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:


The collection is set by an action which redirects to this form.







I use Validator to check the values of this form when submitting it.





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]


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


Re: Missing bean when validating

2004-02-28 Thread Hubert Rabago
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:
>  labelProperty="name" />
> 
> The collection is set by an action which redirects to this form.
> 
>  type="de.evolt.newsletter.webgui.CampaignAction"  scope="request">
> 
> 
> 
> 
> 
> I use Validator to check the values of this form when submitting it.
> 
>  type="de.evolt.newsletter.webgui.CampaignAction" name="campaignForm" 
> scope="request" input="edit.campaign"  >
> 
> 
> 
> 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]



Missing bean when validating

2004-02-27 Thread Martin Gross
Hi,

I have a form with a dropdown list:


The collection is set by an action which redirects to this form.







I use Validator to check the values of this form when submitting it.





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
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]