struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-François Houzard <>
Subject Trigger 2 actions
Date Tue, 15 Dec 2009 20:06:50 GMT
Hello, I'm new with Struts 2.
I'm actually using Struts 2 with the struts-dojo-tags.

Consider the following situation.
I would like to submit a form and to associate two distinct actions to
the form, for exemple MyAction1 and MyAction2. And I would like that
MyAction1 refresh the MyRes1 div and that MyAction2 refresh the MyRes2

How can I do that?
Thank you :)

Not working code example

<s:form namespace="/mynamespace" action="MyAction1, MyAction2"
targets="MyRes1, MyRes2">
  <input type="text" name="data">
  <sx:submit />

<s:div id="MyRes1"/>
<s:div id="MyRes2"/>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message