Hi,

I've done the same using topics:

1) Publish on a topic after the request is executed (eg,
notifyTopics="/submit" in the s:submit).

2) Register to the same topic in the s:div corresponding to the tab
(eg, listenTopics="/submit" in the s:div).

Alvaro.

On 8/17/07, Clement, Steve <[EMAIL PROTECTED]> wrote:
>
> You should be able to set the listenTopic attribute on the div for that
> panel, and then notify the topic (I think this is on the s:submit tag,
> but I could be mistaken). See
> http://struts.apache.org/2.0.9/docs/tag-reference.html for more details.
>
> This works if your theme "ajax".
>
> One thing I have found, however, is that if you use the rich text editor
> for a textarea, the content of that textarea does not submit for some
> reason. Other form controls submit fine.
>
> Steve Clement
> -----Original Message-----
> From: Eugen Stoianovici [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 17, 2007 8:24 AM
> To: Struts Users Mailing List
> Subject: [S2][Tabbed panel] posting data from one tab
>
> i have a tabbedpanel which displays several tabs one of which contains a
>
> form. How do i turn back to that tab after i've pressed the submit
> button on that form?
>
> ---------------------------------------------------------------------
> 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]
>
>


-- 
Alvaro Sanchez-Mariscal
Arquitecto de Software Java EE
Salenda - www.salenda.es
Avd. Rey Juan Carlos I, 92. 28916 - Leganés (Madrid).
T: 91 101 0607 ext. 301 / F: 91 101 0608
M: +34.647.94.44.30
E: [EMAIL PROTECTED]

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

Reply via email to