Re: about select model

2011-05-21 Thread Thiago H. de Paula Figueiredo
On Fri, 20 May 2011 18:50:55 -0300, Vangel V. Ajanovski wrote: On 05/20/2011 02:24 AM, Thiago H. de Paula Figueiredo wrote: Yes we use tapetstry-hibernate and this is all automated which is excellent. So if you have entity classes like this. Person > Country And if you are creating a

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