What I want to do is display a string in the
window.status bar when a text input field gets focus.
Anyone have a working example?
This does not work:
strutshtml:text maxlength=8 property=username
onFocus = window.status='Enter your name'
onBlur =
window.status=window.defaultStatus
Taglibs attributes are case sensitive. Try onfocus instead of
onFocus.
I hope this will help you.
What I want to do is display a string in the
window.status bar when a text input field gets focus.
Anyone have a working example?
This does not work:
strutshtml:text maxlength=8
.
- Original Message -
From: Melanie Harris [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 20, 2001 11:39 AM
Subject: jsp compile error when using onFocus attribute in strutshtml:text
tag
What I want to do is display a string in the
window.status bar when a text input field gets
Ended up that the problem was with the single quote
within the html:text tag's onfocus attribute. If you
build the window.status string outside of the
html:text tag like below, it works.
% String onFocus = window.status='Enter Search
Parameters'; %
html:text property=searchText size=55
PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, November 21, 2001 6:05 AM
Subject: Re: jsp compile error when using onFocus attribute in
strutshtml:text tag
Taglibs attributes are case sensitive. Try onfocus instead of
onFocus.
I hope this will help you.
What I want to do is display a string
parameters will be available on the next Struts
release?
Regards,
Marcelo.
- Original Message -
From: Francois-Xavier Bonnet [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, November 21, 2001 6:05 AM
Subject: Re: jsp compile error when using onFocus attribute
6 matches
Mail list logo