Right I've sorted it:-
...
...
myFunction('')
...
...
...
...
-Original Message-
From: Cook, Graham [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 15:18
To: 'Struts Users Mailing List'
Subject: RE: Javascript & bean:message
Thanks Kris &a
rs Mailing List'
Subject: RE: Javascript & bean:message
Thanks Kris & Andrew, but still cant get it working:
When running the JSP I get a javascript error : expected ')'
and the page renders : onchange="myFunction(SEARCH)"
Was the syntax right?
-Original Message
>
> -Original Message-----
> From: Andrew Hill [mailto:[EMAIL PROTECTED]]
> Sent: 22 January 2003 14:20
> To: Struts Users Mailing List
> Subject: RE: Javascript & bean:message
>
>
> Yep. Kris already posted it for you :-)
>
> Here it is again:
>
>
22 January 2003 14:20
To: Struts Users Mailing List
Subject: RE: Javascript & bean:message
Yep. Kris already posted it for you :-)
Here it is again:
-Original Message-
From: Cook, Graham [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 22:13
To: 'Strut
I get the error through WSAD, not at runtime. button.search is in the
application.properties file
-Original Message-
From: Thomas Cornet [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 14:06
To: Struts Users Mailing List
Subject: RE: Javascript & bean:message
This kind of e
gt; Sent: Wednesday, January 22, 2003 7:13 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Javascript & bean:message
>
>
> A, im with you, didnt realize that you couldnt nest tags.
> Any idea on
> how to perform this ?
>
> -Original Message---
Yep. Kris already posted it for you :-)
Here it is again:
-Original Message-
From: Cook, Graham [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 22:13
To: 'Struts Users Mailing List'
Subject: RE: Javascript & bean:message
A, im with you, didnt re
A, im with you, didnt realize that you couldnt nest tags. Any idea on
how to perform this ?
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 13:25
To: Struts Users Mailing List
Subject: RE: Javascript & bean:message
Yeh, but if your using a
try wrapping -Original Message-
> From: Thomas Cornet [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 7:06 AM
> To: Struts Users Mailing List
> Subject: RE: Javascript & bean:message
>
>
>
> This kind of error message make me think that the
ript:myFunction()"/>
I get an error on the JSP saying that 'attribute button.search has no value'
-Original Message-
From: Thomas CORNET [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 13:23
To: Struts Users Mailing List
Subject: RE: Javascript & bean:message
Of course. - Your mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 21:59
To: 'Struts Users Mailing List'
Subject: RE: Javascript & bean:message
We use this on the body tag of our pages and it works fine.
');">
Les
-Original Message-
From: Kr
We use this on the body tag of our pages and it works fine.
');">
Les
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 13:54
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Javascript & bean:message
Qu
Quoting Andrew Hill <[EMAIL PROTECTED]>:
> Yeh, but if your using a tag already:
>
> mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 22 January 2003 21:15
> To: 'Struts Users Mailing List'
> Subject: RE: Javascript & bean:message
>
>
>
application.
>
>HTH,
>
>Matt
>
> > -Original Message-
> > From: Thomas CORNET [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 22, 2003 6:02 AM
> > To: Struts Users Mailing List
> > Subject: RE: Javascript & bean:message
> >
> >
&
Yeh, but if your using a tag already:
mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 21:15
To: 'Struts Users Mailing List'
Subject: RE: Javascript & bean:message
, all i wanted to do was get the value from the application.properties
and pass it in through a JavaS
AIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 6:02 AM
> To: Struts Users Mailing List
> Subject: RE: Javascript & bean:message
>
>
>
> I know.. It's just a long time coding habit that is hard to lose ;-)
>
> At 05:46 22/01/2003 -0700, you wrote:
> &
, all i wanted to do was get the value from the application.properties
and pass it in through a JavaScript function as an argument?
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 12:37
To: Struts Users Mailing List
Subject: RE: Javascript
www.webfx.nu/dhtml/helptip/helptip.html) into my application.
HTH,
Matt
> -Original Message-
> From: Thomas CORNET [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 6:02 AM
> To: Struts Users Mailing List
> Subject: RE: Javascript & bean:message
>
>
ED]]
> 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 :
>
> onClick="JavaScript:selectAll( name="recherche" property="nbresults"
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
AFAIK that would depend on whether the tag in which that onchange is an
attribute is a JSP tag or normal html.
-Original Message-
From: Cook, Graham [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 20:32
To: Struts User List
Subject: Javascript & bean:message
Is it possible to
Yes it is possible. I had something like this :
);">
and it's working well :)
Thomas
At 12:31 22/01/2003 +, you wrote:
Is it possible to have a tag as a parameter to a javscript
method?
ie.
onchange="javascript:myFunction(
key='button.search'/>)" />
*
22 matches
Mail list logo