Were do you place the methods that have to initialize action forms?
In the actions. I typically use ShowBlahFormAction as a name, and similar for the acutal url.
what does it means? ShowBlahFormAction???
In some case I have to do this before populate, and in other case after the populate (reset and validate).
Not sure what you mean here.
In some cases I have to pre-populate the form bean with the default values, because if the request contains some values, I can't cover them with the default values, 'cause they are only default values...
Now you understand?
Use the validate option in the action mapping. Turn it to false when
setting up the form, and true when the form gets submitted for edit or add.
Ok, but I have the control of the action only after validate calling! To do what you say I have to create a dispatch action, Ok?
I'm sorry for my bad english... I hope you understand me...
best regards,
-- Davide Gurgone. davide_at_gurgone_dot_it
--------------------------------------------------------------------- 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]