struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alvaro Sanchez-Mariscal" <alvaro.sanc...@salenda.es>
Subject Re: [S2][Tabbed panel] posting data from one tab
Date Fri, 17 Aug 2007 16:27:33 GMT
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 <SClement@flyfrontier.com> 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:eugen.stoianovici@gmail.com]
> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
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: alvaro.sanchez@salenda.es

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message