Bugger, just noticed you'd found a more elegant version of the same
solution! That'll teach me to catch up with my e-mail forwards not
backwards.
Sorry for the noise!
Paul
On 6 Jul 2006, at 19:43, Paul Russell wrote:
James,
I've done this before, for exactly the same reason. My solution
James,
I've done this before, for exactly the same reason. My solution was
as follows:
I wrote a component that sat in the form, and every 0.25 seconds set
the value of a hidden field to the current scroll position using
Javascript, and then output Javascript that when the form was
redi
</initialization>
3. The HTML template...
-Original Message-
From: Hugo Palma [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 11:39 AM
To: Tapestry users
Subject: Re: Focus issues...
Have u tried implementing a component to create a javascript that scrol
Have u tried implementing a component to create a javascript that scrolls to
a element in the document by id ?
You can look here http://www.quirksmode.org/js/findpos.html for how to find
the position of an element.
Cheers,
Hugo
On 7/6/06, James Carman <[EMAIL PROTECTED]> wrote:
All,
Does any
I haven't tried this with dropdowns, but this is what I use for
linksubmits. It has some caveats though: It has to be used within a
form named Form0 and it doesn't work with directLinks (I think)...
It'd be nice if someone could help a brother out to fix the Form0
thing and put it on tassel...
also, that solution doesn't keep the focus on a particular field - it
just scrolls back to where the screen was before the submit
On 7/6/06, Jer Kah <[EMAIL PROTECTED]> wrote:
I haven't tried this with dropdowns, but this is what I use for
linksubmits. It has some caveats though: It has to be
All,
Does anyone know how to get Tapestry to "stay put" on a screen when you
submit the form and reshow it? I have a form that is somewhat long. When I
use an event (like selecting something in a drop-down box) that forces a
form submit to refresh some other parts of the screen, the screen goes