You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Dawn <pe...@gmail.com> on 2006/11/09 23:31:34 UTC
@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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: @Body tag Onload form focus problem
Posted by Peter Dawn <pe...@gmail.com>.
thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: @Body tag Onload form focus problem
Posted by Mark Stang <ms...@pingidentity.com>.
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:petedawn@gmail.com]
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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: @Body tag Onload form focus problem
Posted by Mark Stang <ms...@pingidentity.com>.
<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:petedawn@gmail.com]
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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: @Body tag Onload form focus problem
Posted by Mark Stang <ms...@pingidentity.com>.
<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:petedawn@gmail.com]
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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org