RE: s:property tag with action attribute of form/submit
the mechanism you are using assumes the value is located on OGNL root if you want session or request specfic variables you will need to use the #session or #request qualifier as in these examples or or http://struts.apache.org/2.0.14/docs/ognl.html HTH Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Wed, 14 Jan 2009 13:10:04 -0800 > From: lsbo...@gmail.com > To: user@struts.apache.org > Subject: s:property tag with action attribute of form/submit > > Hello, > I want to use s:property tag in action attribute of s:submit, like this, > " theme="ajax" targets="dummy_div" /> > > Is this possible ? I am getting errors while compiling this JSP . I even > tried ". Doesn't work. > Leena _ Windows Liveā¢ HotmailĀ®: Chat. Store. Share. Do more with mail. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009
Re: s:property tag with action attribute of form/submit
That worked, Thanks for the help. Leena On Wed, Jan 14, 2009 at 1:23 PM, Christian Priebe wrote: > Hey, > > since %{actionUrl} is simple OGNL you should be able to use it directly in > the s:submit-Tag like this: > > targets="dummy_div" /> > > > Christian > > > > > Leena Borle schrieb: > > Hello, >> I want to use s:property tag in action attribute of s:submit, like this, >> " theme="ajax" targets="dummy_div" /> >> >> Is this possible ? I am getting errors while compiling this JSP . I even >> tried ". Doesn't work. >> Leena >> >> >> > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >
Re: s:property tag with action attribute of form/submit
Hey, since %{actionUrl} is simple OGNL you should be able to use it directly in the s:submit-Tag like this: Christian Leena Borle schrieb: Hello, I want to use s:property tag in action attribute of s:submit, like this, " theme="ajax" targets="dummy_div" /> Is this possible ? I am getting errors while compiling this JSP . I even tried ". Doesn't work. Leena - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org