What you are looking for is the "bind" tag. Check: http://struts.apache.org/2.x/docs/bind.html
in your example: <s:form action="MyAction" id="myStatusForm"> <s:hidden name="statusdate"/> <s:checkbox theme="ajax" name="status" value="status" id="statusCheckbox"/> </s:form> <sx:bind src="statusCheckbox" events="onclick" showLoadingText="false" formId="myStatusForm"/> Look at the docs, the "bind" tag can do a few other tricks. musachy On Tue, Feb 10, 2009 at 9:52 AM, ulf n <ulf...@hotmail.com> wrote: > > Hi! all > > I'm trying to find a way to submit a form ajax-style without a submit button > (Without a page reload). > > Is it possible at all? Google has been to no avail :( > > > the Form: > > <s:form theme="ajax" action="MyAction" id="myStatusForm"> > <s:hidden name="statusdate"/> > <s:checkbox theme="ajax" name="status" value="status" > onclick="javascript:someHowSubmitTheFormWithoutReload();"></s:checkbox> > </s:form> > > > > TIA > Ulf > > _________________________________________________________________ > News, entertainment and everything you care about at Live.com. Get it now! > http://www.live.com/getstarted.aspx -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org