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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to