Finally, I found two valuable solutions to my problem.
The first one is MappingDispatchAction, as suggested
by Hubert. It is efficient but I dislike to have so
much entries in my struts-config (my application is
going big enough)
I found a good explanation for it by the frustrated
programmer (who
Another option is to switch to MappingDispatchAction* so you can set
different attributes for the different situations that your Action
needs to handle.
Hubert
*http://struts.apache.org/api/org/apache/struts/actions/MappingDispatchAction.html
On 7/19/05, Hubert Rabago <[EMAIL PROTECTED]> wrote:
No, always respond to the user list when it's relevant to the question
you posted. This way, other people can offer solutions as well, and
those having the same problems will get to hear/read what the solution
is.
Since you're extending DispatchAction, you probably should turn off
automatic valid
Unfortunately EditerPersonneAction do extend
DispatchAction (using parameter "do") ! (Otherwise
your solution would be good)
(I answer you personally because I assume such a
message is not useful for the list)
Billy
--- Hubert Rabago <[EMAIL PROTECTED]> wrote:
> It seems that you're trying to p
It seems that you're trying to prepopulate a form with values from the
DB before showing it to the user.
So, you have
1) call /EditionPersonne to prepopulate the form
2) show EditerPersonne.jsp to display the form
3) submit the form to /SomePathLikeSubmitPersonne
If so, you don't need to specify
Hi,
As much I know if you need to load data when the page is load before the
validation is called.
You may load data when the action is called and there could be another
action associated with the Submit button's page which will check the
validation.
I'm not sure whether it make you clear or
Hello,
I'm currently having a problem with the Struts
validator.
I have a very simple Struts bean "EditionPersonneForm"
(extending
ValidatorForm) associated with an action
"EditerPersonneAction" and a
JSP form "EditerPersonne.jsp"
[From struts-config.xml]
7 matches
Mail list logo