You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kibo <to...@gmail.com> on 2008/04/26 12:24:24 UTC
tabbedPanel and Form
Hi friends
I use tabbedPanel with forms:
-----------------------------------
<s:tabbedPanel id="tabsw">
<s:div id="one" label="Základní informace" theme="ajax">
<s:form action="action1">
<s:textfield label="Name" name="name" />
<s:submit />
</s:form>
</s:div> <%-- id="one" --%>
<s:div id="two" label="Foto dokumentace" theme="ajax">
<s:form action="action2">
<s:textfield label="Name2" name="name2"/>
<s:submit />
</s:form>
</s:div> <%-- id="two" --%>
</s:tabbedPanel>
---------------------------------------
All works ok, but when I submit the form into div with id="two" , the page
after return, moves me into div with id="one. I need stay into div with
id="two" after submit.
I need describe it better
1. I am into bookmark2
2. I click in submit button
3. the page do action and after skip into bookmark1
4. I need stay into bookmark2
Thaks very much for helps
-----
Tomas Jurman
Czech Republic
--
View this message in context: http://www.nabble.com/tabbedPanel-and-Form-tp16911500p16911500.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org