Nested forms are not valid HTML.
--
James Mitchell
On Apr 28, 2007, at 12:44 PM, meeboo wrote:
Hey all
Is there a way to nest s:form elements in S2? I have a nested form
which
won't reach the specified action, even though it is correctly
mapped. If I
move it outside of the first form it automagically starts working.
The action is mapped like:
<action name="deleteMovie/*/"
class="com.myapp.web.struts.action.user.UserProfile"
method="deleteMovie">
<param name="movieId">{1}</param>
<result name="success"
type="redirect-action">user/${normalizedUsername}/movies/</result>
<result name="error">/userProfile.jsp</result>
</action>
The odd thing is that the result success works fine (it even reads the
normalizedUsername), but the method deleteMovie is never reached
when the
form is nested.
Any ideas?
Thanks!
--
View this message in context: http://www.nabble.com/Nested-%3Cs%
3Aform%3E-tf3662755.html#a10234465
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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]