Re: struts2 + javascript doubt

2010-05-26 Thread lucas owen
Hi, I have tried ( note the single quotes) and it works Thank you so much Cimballi, you are a crack 2010/5/24 Cimballi > Yes you can but instead of using you can use directly JSP > EL like {myBean.propertyName}. > > Cimballi > > > On Mon, May 24, 2010 at 1:10 PM, lucas owen wrote:

Re: struts2 + javascript doubt

2010-05-24 Thread sandeep kotha
One more simple thing just replace * with ' it will work On 24 May 2010 23:40, lucas owen wrote: > Hi: > > > is it possible to pass a dynamic parameter to a javascript function??? > > I'm trying this: > > > > > > > > > > javascript function: > > fPrimerNivel(id){ alert(id); } > > yields [ob

Re: struts2 + javascript doubt

2010-05-24 Thread Cimballi
Yes you can but instead of using you can use directly JSP EL like {myBean.propertyName}. Cimballi On Mon, May 24, 2010 at 1:10 PM, lucas owen wrote: > Hi: > > > is it possible to pass a dynamic parameter to a javascript function??? > > I'm trying this: > > > > > > > > > > javascript function

struts2 + javascript doubt

2010-05-24 Thread lucas owen
Hi: is it possible to pass a dynamic parameter to a javascript function??? I'm trying this: javascript function: fPrimerNivel(id){ alert(id); } yields [object] If I try the same, but with javascript:fPrimerNivel(this.id), I get [undefined] I dont know if this is possible, any he