You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Justin P. McAllister" <jm...@widen.com> on 2005/09/07 21:26:54 UTC

Can I turn of the default form focus?

Hi,

 

I've noticed that in Tapestry 4, the first element of the first form on
a page seems to receive focus by default. I have a situation where I
would like to disable that behavior. Is there a way through the
framework that I can turn this off for a certain page?

 

Thanks in advance,

Justin McAllister.


Re: Can I turn of the default form focus?

Posted by Jesse Kuhnert <jk...@gmail.com>.
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Form.html

I think the focus attribute is what you want. 

On 9/7/05, Justin P. McAllister <jm...@widen.com> wrote:
> 
> Hi,
> 
> 
> 
> I've noticed that in Tapestry 4, the first element of the first form on
> a page seems to receive focus by default. I have a situation where I
> would like to disable that behavior. Is there a way through the
> framework that I can turn this off for a certain page?
> 
> 
> 
> Thanks in advance,
> 
> Justin McAllister.
> 
> 
>