Am Montag, 6. Oktober 2008 10:38:36 schrieben Sie:
> Can you store the url with an id an use it as an expression in the
> action attribute of the submit tag?

This works using a html link with s:url and %{myactionurl}.

However the form does only work in this form (like it should):

<s:form action="/mvc/startMaster" method="POST" namespace="mw">
        <s:submit name="smaster" value="Start Master" title="Start Master" 
type="button" />
</s:form>

One action url at form level and the button submits.

Using more than one button - which should invoke another action specified at 
s:submit level does not work. Using action="%{myactionurl}" results in "no 
action found for ...." exception.
Some other ideas? It seems to me the action attribute at s:submit is useless, 
is it?

-- 
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