Re: Passing a value to JavaScript from a tag

2009-05-08 Thread cm132005
-- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Passing-a-value-to-JavaScript-from-a-tag-tp23438467p23456174.html Sent from the Struts - User mail

Re: Passing a value to JavaScript from a tag

2009-05-07 Thread suhas kokal
Hi, Try out OGNL expression for the value attribute of property tag. This may help. Thanks Suhas. --- On Fri, 8/5/09, cm132005 wrote: > From: cm132005 > Subject: Passing a value to JavaScript from a tag > To: user@struts.apache.org > Date: Friday, 8 May, 2009, 6:45 AM >

Re: Passing a value to JavaScript from a tag

2009-05-07 Thread Dave Newton
cm132005 wrote: How to pass a value from valueStack to a JavaScript function? This doesn't work: > onclick='"doEdit(\'\')"' /> You can't nest custom tags like that; that's not an S2 issue, it's just the way it works. Use OGNL; that's what it's for: Dave --

Passing a value to JavaScript from a tag

2009-05-07 Thread cm132005
How to pass a value from valueStack to a JavaScript function? This doesn't work: \')"' /> Any help would be appreciated. Thanks. -- View this message in context: http://www.nabble.com/Passing-a-value-to-JavaScript-from-a-tag-tp23438467p23438467.html Sent from the Str