Erez Efrati wrote:

One of the problem I found with 'action=init' method, is that the
validation is activated automatically for both cases (both init & send),
and fails of course on the 'init' cause no field is yet in the form. So
I was forced to configure 'validate=false' and call it manually in the
Action code.


Option B would be compacter. You can write two action mappings in struts-config to distinguish the calls, where one has no validation and the other does.


I know some people don't like having extra action mappings in their struts-config, but I believe that is what they are there for.


Adam



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



Reply via email to