Can you store the url with an id an use it as an expression in the action attribute of the submit tag?
Nils-H On Mon, Oct 6, 2008 at 9:16 AM, Torsten Krah <[EMAIL PROTECTED]> wrote: > Hi, > > I want to use the namespace feature of struts2 actions in a portal/portlet > environment. > Using s:url like this works (like shown in the struts2 delivered testcases): > > <s:form action="MasterControl" method="POST"> > <a href="<s:url portletUrlType="action" namespace="mw" action="/mvc/stopWork" >></s:url>">Test</a> > </s:form> > > Using Buttons to Submit the form, i am unable to get it working. Can anyone > give my some hint what i am doing wrong (the s:submit tag got no > portletUrlType or namespace attribute like s:url Tag): > > <s:form action="MasterControl" method="POST" namespace="mw"> > <s:submit name="smaster" value="Start Master" action="/mvc/stopWork" > title="Test" type="button" /> > </s:form> > > Any help appreciated. thx. > > -- > Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. > Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html > > Really, I'm not out to destroy Microsoft. That will just be a > completely unintentional side effect." > -- Linus Torvalds > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]