FYI...

in an onclick event, you do not need to prefix the method name with
javascript:

;-)

> -----Original Message-----
> From: Thomas CORNET [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 5:39 AM
> To: Struts Users Mailing List
> Subject: Re: Javascript & bean:message
> 
> 
> 
> Yes it is possible. I had something like this :
> 
> <input type=checkbox name="all" 
> onClick="JavaScript:selectAll(<bean:write 
> name="recherche" property="nbresults" />);">
> 
> and it's working well :)
> 
> Thomas
> 
> At 12:31 22/01/2003 +0000, you wrote:
> >Is it possible to have a <bean:message> tag as a parameter 
> to a javscript
> >method?
> >
> >ie.
> >         onchange="javascript:myFunction(<bean:message
> >key='button.search'/>)" />
> >
> >
> >
> >
> >
> >*************************************************************
> *******************************
> >" This message contains information that may be privileged 
> or confidential 
> >and
> >is the property of the Cap Gemini Ernst & Young Group. It is 
> intended only 
> >for
> >the person to whom it is addressed. If you are not the 
> intended recipient, 
> >you
> >are not authorized to read, print, retain, copy, 
> disseminate, distribute, 
> >or use
> >this message or any part thereof. If you receive this 
> message in error, 
> >please
> >notify the sender immediately and delete all copies of this 
> message ".
> >*************************************************************
> *******************************
> >
> >
> >--
> >To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to