The topics are submitted twice, once before and one after the request.
Check:

http://struts.apache.org/2.x/docs/ajax-tags.html

for details. One of the parameters passed to the topic is either "before" or
"load". Just as a heads up, 2 separate topics were added to the ajax tags
for 2.1 to make this easier. There is another thread with an example.

regards
musachy

On 4/18/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:


Hy Guys,

I made a form that must be submited and refreshed to get the new values
from
DB.
The problem is, when I use notifyTopics, I got 2 requests, and form
refresh
2 times.
when I use the targets attribute of submit button, when I submit again, my
ActionContext.getContext( ).getParameters( ) returns an empty list, what
means, like there is no parameters in the ActionContext submited.

Does anyone lived something like that and maybe can help me?


Thanks,

Felipe
--
View this message in context:
http://www.nabble.com/Targets-vs-ActionContext-weird-tf3602496.html#a10063736
Sent from the Struts - User mailing list archive at Nabble.com.


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




--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Reply via email to