myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lyon, Chad S." <CHAD.S.L...@saic.com>
Subject RE: default AutoScroll setting depends on Tomahawk
Date Wed, 12 Apr 2006 15:24:33 GMT
>Sorry for being ignorant, but whats the value for the user to have the
>focus reset on the last action component?

Let's say you are tabbing through the controls on a shopping cart page (in a
mouse-less world).  After changing the number of items in an inputText field
you tab to a button that, for example, updates your shopping cart.  You hit
space bar to press the button (fire the action), the page reloads and your
focus is back at the top.  In a similar thick client app you would retain
focus to the button you just pressed.
 
  
Chad Lyon
Application Software Developer
Science Applications International Corporation (SAIC)

-----Original Message-----
From: dev-return-13298-CHAD.S.LYON=saic.com@myfaces.apache.org
[mailto:dev-return-13298-CHAD.S.LYON=saic.com@myfaces.apache.org] On Behalf
Of Mario Ivankovits
Sent: Wednesday, April 12, 2006 9:59 AM
To: MyFaces Development
Subject: Re: default AutoScroll setting depends on Tomahawk

Hi
> You seem like the person to approve the patch I wrote for auto-focus.
Sorry for being ignorant, but whats the value for the user to have the
focus reset on the last action component?
Could you please explain this a little bit for me.


If, I would like to have the focus set on the first component caused a
validation error, else the focus should be on the first inputable
component on the page.
For sure, both scenarios can be solved by enhancing the focus component.


Ciao,
Mario


Mime
View raw message