Thanks Francois,
It works fine... (Still some minor problems but I think I can fix them)

Now I have a question:
Is this indexed 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 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 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" />
>
>NOTE though that the same thing works with a regular
>html <INPUT> tag.
>
><INPUT
>          NAME="realname"
>          onFocus = "window.status='Enter your name'"
>          onBlur  =
>"window.status=window.defaultStatus"
>          ><BR>
>
>
>When I try this in the <strutshtml:text above I get a
>jsp compile error:
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
>http://geocities.yahoo.com/ps/info1
>
>--
>To unsubscribe, e-mail:   <mailto:struts-user-
[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:struts-user-
[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