Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[s2]Targeting a link to open in a <s:div theme="ajax" box ?

walidito

2007-01-19

Replies:


Hi everybody,
My new dilema is :
I have created my "own" ajax widgets by putting <s:div theme="ajax" in a
struts 2 tabbedPanel. This allows to refresh its content and works fine.
I want to put links inside this widget (a button for exemple or a "<a href"
...) that are linked to an Action class, but that targets the same widgets.
If its not clear, let me illustrate. I display a list of objects in my
widget, I display a link to delete/modify one row of my list. When clicking
on it, it calls an action that performs the change (modify the row) . And
now I don't know what to do in order to refresh the display of the list ONLY
IN MY AJAX WIDGET, without refreshing all the page.

thanks a lot
--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.