The .js didn't come through, so I jar'd it up. Unjar it and drop it in where it belongs.
Mark J. Stang
Senior Engineer/Architect
office: +1 303.468.2900
mobile: +1 303.507.2833
Ping Identity
-----Original Message-----
From: Mark Stang
Sent: Thu 11/9/2006 3:39 PM
To: Tapestry users; tapestry-user@jakarta.apache.org
Subject: RE: @Body tag Onload form focus problem
<span jwcid="@Script" script="/images/FormFocus.js"/>
This sets it to the first field in the form.
<body jwcid="@Body" class="login" marginwidth="0" marginheight="60" leftmargin="0" rightmargin="0" topmargin="60">
<!--
<script>
IEWidthFix();
</script>
-->
<span jwcid="@Script" script="/images/FormFocus.js"/>
<span jwcid="@Form" delegate="ognl:beans.delegate">
HTH,
Mark
Mark J. Stang
Senior Engineer/Architect
office: +1 303.468.2900
mobile: +1 303.507.2833
Ping Identity
-----Original Message-----
From: Peter Dawn [mailto:[EMAIL PROTECTED]]
Sent: Thu 11/9/2006 3:31 PM
To: tapestry-user@jakarta.apache.org
Subject: @Body tag Onload form focus problem
guys,
i have a form on a page which contains multiple fields within a form.
now i want to put the focus/cursor on the first field when the page
loads up.
for that i have tried to use onload within @Body, but i am unable to
use it. and i have also tried to use some other _javascript_ but am
still unable to do it.
has anybody had the same problem in the past. i am using tap3.pls help.
thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
FormFocus.jar
Description: FormFocus.jar
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]