Re: struts2 + javascript doubt

2010-05-26 Thread lucas owen
Hi, I have tried a href=*javascript:fPrimerNivel( ' *${info.id_html} ' *);* ( note the single quotes) and it works Thank you so much Cimballi, you are a crack 2010/5/24 Cimballi cimba...@cimballi.net Yes you can but instead of using s:property you can use directly JSP EL like

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: h3 id=s:property value=*'info.id_html'*/ class=*head* a href=*javascript:fPrimerNivel(*s:property value=*'info.id_html'*/*);* s:property value=*info.titulo_menu*//a /h3 javascript function:

Re: struts2 + javascript doubt

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

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 sr.ilus...@gmail.com wrote: Hi: is it possible to pass a dynamic parameter to a javascript function??? I'm trying this: h3 id=s:property value=*'info.id_html'*/ class=*head* a