To use s:focus for scrolling is an interesting idea!
I didn't think of that earlier. Now that I'm thinking about it, I wonder if s:focus could be made 'conditionally' On the first opening of a page I don't want to scroll, so the user can start at the top of the page. If the user submits a form and returns to the pages, I would prefer to scroll to a sensible default. ( eighter to the first form-field with validation-erros, or the button used to submit the form. ) I don't see how I can get that working with the focus-component at this time. I'll think about it some more and might come back on this. With kind regards, Marco Beelen -----Original Message----- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: dinsdag 3 april 2007 23:04 To: MyFaces Discussion Subject: Re: Scrolling on individual pages I wonder if you could use the sandbox focus component to control the scrolling? On 4/3/07, Beelen, Marco <[EMAIL PROTECTED]> wrote: > > > > Hello all, > > In my application currently the AUTO_SCROLL functionality is enable, but > there are some pages on which I would like to disabled this or otherwise: > Disable it globally and just activate it on some forms. > > Is this possible or does the config-param AUTO_SCROLL forces the same > behaviour throughout the entire applications?. > If it is possible: Could you tell me how to do that? > > With kind regards, > Marco Beelen > ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is available at http://www.merck.com/contact/contacts.html) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system. ------------------------------------------------------------------------------