Are you really sure that s:a generates a <a.../> tag that submits the form???
I just get a regular link pointing to a regular URL, no form or form data
anywhere.
By the way, formId property is not a property for s:a tag, at least not in
docs and TagLibDocs.


mitch.gorman wrote:
> 
> mitch gorman wrote:
>> <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
>     actually, the form doesn't need to use struts tags, there... could
> just be a plain html form.  just so long as the form tag has the id
> attribute set, and that id is used in the s:a tag, it'll work.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Text-link-to-submit-a-form-%C2%BFstruts2-way--tp21904849p21960196.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to