Ignacio de Córdoba wrote: > 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. > > the code, as posted, worked correctly. i tested it before i posted.
> 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. >> >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org