You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/07/08 04:15:33 UTC

[jira] Updated: (TAPESTRY-195) Cannot disable auto-focus feature in ValidField

     [ http://issues.apache.org/jira/browse/TAPESTRY-195?page=all ]

Howard M. Lewis Ship updated TAPESTRY-195:
------------------------------------------

    Assign To:     (was: Howard M. Lewis Ship)

> Cannot disable auto-focus feature in ValidField
> -----------------------------------------------
>
>          Key: TAPESTRY-195
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-195
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 3.0
>  Environment: Operating System: MacOS X
> Platform: Macintosh
>     Reporter: Lars Hoss

>
> The method addSelect(IRequestCycle) (line 131) adds JavaScript code to the body
> in order to automatically select and focus the ValidField. Though this feature
> is very nice it would be useful if there was a way to disable it. For example
> let's assume a rather long page where the form is located at the end of the
> page. The current implementation causes the browser to jump to the end of the
> page and therefore hide the beginning of the page. A simple solution might be to
> add a parameter to ValidField that triggers the code generation. But if you have
> many ValidFields in a form this solution isn't very convenient. Personally I
> would say that this "option" belongs to the Form component but then ValidField
> needs to talk to the Form component in some way. If you like I could develop a
> solution myself and present it afterwards?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org