tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30227] New: - Cannot disable auto-focus feature in ValidField
Date Wed, 21 Jul 2004 08:35:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30227>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30227

Cannot disable auto-focus feature in ValidField

           Summary: Cannot disable auto-focus feature in ValidField
           Product: Tapestry
           Version: 3.0
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Framework
        AssignedTo: tapestry-dev@jakarta.apache.org
        ReportedBy: woeye@mac.com


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?

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


Mime
View raw message