Ignacio de Córdoba wrote:
> OK... I know I must use javascript. My question really was about if struts2
> s:a or sx:a tags had an option to generate that javascript submit text link,
> in a similar way as s:submit generates the input type="submit". I guest not.
> :-(
>   

<s:url id="homeurl" action="goHome" />
<s:form id="gohome">
        <s:textfield label="enter some data" name="data" />
</s:form>
<s:a href="%{#homeurl}" formId="gohome" >Go home</s:a>

Reply via email to