struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas CORNET <tho...@cornet.name>
Subject RE: Javascript & bean:message
Date Wed, 22 Jan 2003 13:02:09 GMT

I know.. It's just a long time coding habit that is hard to lose   ;-)

At 05:46 22/01/2003 -0700, you wrote:
>FYI...
>
>in an onclick event, you do not need to prefix the method name with
>javascript:
>
>;-)
>
> > -----Original Message-----
> > From: Thomas CORNET [mailto:thomas@cornet.name]
> > 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:struts-user-unsubscribe@jakarta.apache.org>
> >For additional commands, e-mail:
><mailto:struts-user-help@jakarta.apache.org>
>
>--
>To unsubscribe, e-mail:
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail:
><mailto:struts-user-help@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message