Re: page automatically scrolling to component on load

2011-05-21 Thread Joel Halbert
Worked a treat, thanks. On Sat, 2011-05-21 at 09:13 -0400, Bryan Lewis wrote: > Tapestry automatically puts the focus into the first field of the page > unless you tell it not to. Try adding the 'autofocus' attribute to the form > declaration: > > > > > On Sat, May 21, 2011 at 5:53 AM, Jo

Re: page automatically scrolling to component on load

2011-05-21 Thread Bryan Lewis
Tapestry automatically puts the focus into the first field of the page unless you tell it not to. Try adding the 'autofocus' attribute to the form declaration: On Sat, May 21, 2011 at 5:53 AM, Joel Halbert wrote: > Hi, > > We've got a upload file form using the Upload component: > >

page automatically scrolling to component on load

2011-05-21 Thread Joel Halbert
Hi, We've got a upload file form using the Upload component: This is all located towards the bottom of the page and I've noticed that when the page first loads it scrolls down to this field, in all browsers. Could this be beca