Hello again!

I fix the problem. I am using Struts 2 as presentation framework. I make a
mistake: I use the visitor validation and in my bean I have by mistake a
reference to the some bean (MyBean class has a field myBean with type
MyBean). It seems that in S2 the validation was propagated to this child
too. And this was the cause for all validation errors for required fields. 

Thanks for your feedback. 


mraible wrote:
> 
> What framework are you using? To change required fields, it should  
> just be a matter of changing the validation rules (typically in an XML  
> file).
> 
> Matt
> 
> On Nov 30, 2007, at 12:29 AM, colaru wrote:
> 
>>
>> Hello!
>>
>> First I generate all the Actions with appfuse:gen. I have this  
>> problem in
>> one of my actions: when I try to do a save request all my fields are  
>> marked
>> as been required even I add some informations in some fields. This is
>> happend just then I do a save after an add, not on a modify and just  
>> in one
>> of the actions. I rewtite the page, action. etc. But the problem is  
>> the
>> same!
>>
>> Is somebody with the some problem?
>> -- 
>> View this message in context:
>> http://www.nabble.com/Save-validation-problem-tf4902009s2369.html#a14041937
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Save-validation-problem-tf4902009s2369.html#a14117889
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to