2.0.3 is around the corner (a few days maybe)

musachy

walidito wrote:
when will it be available because a very important feature of struts 2 in
general, and of my application.
?
thanks


Musachy Barroso-2 wrote:
My bad, that's new on 2.0.2.

musachy

walidito wrote:
yes with the same error,
and let me rewrite what i wrote on my post :
moreover, the thing i'm worried about is that I looked into
struts-tag.tld
in struts2-core-2.0.1.jar in the META-INF package, and I did not find any
"targets" attribute declaration...

any idea?


Musachy Barroso-2 wrote:
With the same error?

musachy

walidito wrote:
sorry i posted the wrong code,
but i tried both target and targets.
both doesnt work

Musachy Barroso-2 wrote:
The anchor and the submit tags have a "targets" attribute that does that. In "targets" you can specify a comma-delimited list of ids, whose content will be updated with html returned from from your action:

<s:div id="div1" ...>
    <s:submit theme="ajax" targets="div1" .../>
</s:div>

Showcase has several examples of this. More info here:

http://cwiki.apache.org/confluence/display/WW/Ajax+Tags

regards
musachy

walidito wrote:
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 " ...)
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
---------------------------------------------------------------------
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]



---------------------------------------------------------------------
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]

Reply via email to