You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Leonardo Quijano Vincenzi (JIRA)" <ta...@jakarta.apache.org> on 2006/04/07 05:57:27 UTC

[jira] Created: (TAPESTRY-909) Make AbstractFormComponent.getCanTakeFocus() public instead of private

Make AbstractFormComponent.getCanTakeFocus() public instead of private
----------------------------------------------------------------------

         Key: TAPESTRY-909
         URL: http://issues.apache.org/jira/browse/TAPESTRY-909
     Project: Tapestry
        Type: Improvement

    Versions: 4.0.1    
    Reporter: Leonardo Quijano Vincenzi
    Priority: Minor


For Ajax-style requests or special form focus processing, sometimes it's needed to focus an element in a non-standard way. For example, when updating a section of the document using ajax semantics, one would like to set the focus on the first component in that section.

Now, a possible solution is to iterate over the components of the parent element, and focus on the first "focusable" element of that list. But there's no way to tell if a component is capable of receiving focus, so this change could allow this and other similar uses.



-- 
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


[jira] Updated: (TAPESTRY-909) Make AbstractFormComponent.getCanTakeFocus() public instead of private

Posted by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert updated TAPESTRY-909:
-----------------------------------

    Fix Version/s:     (was: 4.1.2)
                   4.1.3

> Make AbstractFormComponent.getCanTakeFocus() public instead of private
> ----------------------------------------------------------------------
>
>                 Key: TAPESTRY-909
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-909
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0.1
>            Reporter: Leonardo Quijano Vincenzi
>            Priority: Minor
>             Fix For: 4.1.3
>
>
> For Ajax-style requests or special form focus processing, sometimes it's needed to focus an element in a non-standard way. For example, when updating a section of the document using ajax semantics, one would like to set the focus on the first component in that section.
> Now, a possible solution is to iterate over the components of the parent element, and focus on the first "focusable" element of that list. But there's no way to tell if a component is capable of receiving focus, so this change could allow this and other similar uses.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (TAPESTRY-909) Make AbstractFormComponent.getCanTakeFocus() public instead of private

Posted by "Brian K. Wallace (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-909?page=all ]

Brian K. Wallace updated TAPESTRY-909:
--------------------------------------

    Component: Framework

> Make AbstractFormComponent.getCanTakeFocus() public instead of private
> ----------------------------------------------------------------------
>
>          Key: TAPESTRY-909
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-909
>      Project: Tapestry
>         Type: Improvement

>   Components: Framework
>     Versions: 4.0.1
>     Reporter: Leonardo Quijano Vincenzi
>     Priority: Minor

>
> For Ajax-style requests or special form focus processing, sometimes it's needed to focus an element in a non-standard way. For example, when updating a section of the document using ajax semantics, one would like to set the focus on the first component in that section.
> Now, a possible solution is to iterate over the components of the parent element, and focus on the first "focusable" element of that list. But there's no way to tell if a component is capable of receiving focus, so this change could allow this and other similar uses.

-- 
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


[jira] Updated: (TAPESTRY-909) Make AbstractFormComponent.getCanTakeFocus() public instead of private

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-909?page=all ]

Jesse Kuhnert updated TAPESTRY-909:
-----------------------------------

    Fix Version/s: 4.1.2

> Make AbstractFormComponent.getCanTakeFocus() public instead of private
> ----------------------------------------------------------------------
>
>                 Key: TAPESTRY-909
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-909
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0.1
>            Reporter: Leonardo Quijano Vincenzi
>            Priority: Minor
>             Fix For: 4.1.2
>
>
> For Ajax-style requests or special form focus processing, sometimes it's needed to focus an element in a non-standard way. For example, when updating a section of the document using ajax semantics, one would like to set the focus on the first component in that section.
> Now, a possible solution is to iterate over the components of the parent element, and focus on the first "focusable" element of that list. But there's no way to tell if a component is capable of receiving focus, so this change could allow this and other similar uses.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-909) Make AbstractFormComponent.getCanTakeFocus() public instead of private

Posted by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert updated TAPESTRY-909:
-----------------------------------

    Fix Version/s:     (was: 4.1.5)
                   4.1.6

> Make AbstractFormComponent.getCanTakeFocus() public instead of private
> ----------------------------------------------------------------------
>
>                 Key: TAPESTRY-909
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-909
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0.1
>            Reporter: Leonardo Quijano Vincenzi
>            Priority: Minor
>             Fix For: 4.1.6
>
>
> For Ajax-style requests or special form focus processing, sometimes it's needed to focus an element in a non-standard way. For example, when updating a section of the document using ajax semantics, one would like to set the focus on the first component in that section.
> Now, a possible solution is to iterate over the components of the parent element, and focus on the first "focusable" element of that list. But there's no way to tell if a component is capable of receiving focus, so this change could allow this and other similar uses.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (TAPESTRY-909) Make AbstractFormComponent.getCanTakeFocus() public instead of private

Posted by "Marcus Schulte (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Schulte updated TAPESTRY-909:
------------------------------------

    Fix Version/s:     (was: 4.1.6)
                   4.1.7

> Make AbstractFormComponent.getCanTakeFocus() public instead of private
> ----------------------------------------------------------------------
>
>                 Key: TAPESTRY-909
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-909
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0.1
>            Reporter: Leonardo Quijano Vincenzi
>            Priority: Minor
>             Fix For: 4.1.7
>
>
> For Ajax-style requests or special form focus processing, sometimes it's needed to focus an element in a non-standard way. For example, when updating a section of the document using ajax semantics, one would like to set the focus on the first component in that section.
> Now, a possible solution is to iterate over the components of the parent element, and focus on the first "focusable" element of that list. But there's no way to tell if a component is capable of receiving focus, so this change could allow this and other similar uses.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (TAPESTRY-909) Make AbstractFormComponent.getCanTakeFocus() public instead of private

Posted by "Andreas Andreou (JIRA)" <de...@tapestry.apache.org>.
    [ https://issues.apache.org/jira/browse/TAPESTRY-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567165#action_12567165 ] 

Andreas Andreou commented on TAPESTRY-909:
------------------------------------------

I've run into something that - I had a rather big form and when ajax updating a part of it, the
page would scroll up to the top! 

As you describe, the reason was that it would give focus to the first element of the form - way far 
from the updated area...

> Make AbstractFormComponent.getCanTakeFocus() public instead of private
> ----------------------------------------------------------------------
>
>                 Key: TAPESTRY-909
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-909
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0.1
>            Reporter: Leonardo Quijano Vincenzi
>            Priority: Minor
>             Fix For: 4.1.6
>
>
> For Ajax-style requests or special form focus processing, sometimes it's needed to focus an element in a non-standard way. For example, when updating a section of the document using ajax semantics, one would like to set the focus on the first component in that section.
> Now, a possible solution is to iterate over the components of the parent element, and focus on the first "focusable" element of that list. But there's no way to tell if a component is capable of receiving focus, so this change could allow this and other similar uses.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (TAPESTRY-909) Make AbstractFormComponent.getCanTakeFocus() public instead of private

Posted by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert updated TAPESTRY-909:
-----------------------------------

    Fix Version/s:     (was: 4.1.3)
                   4.1.4

> Make AbstractFormComponent.getCanTakeFocus() public instead of private
> ----------------------------------------------------------------------
>
>                 Key: TAPESTRY-909
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-909
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0.1
>            Reporter: Leonardo Quijano Vincenzi
>            Priority: Minor
>             Fix For: 4.1.4
>
>
> For Ajax-style requests or special form focus processing, sometimes it's needed to focus an element in a non-standard way. For example, when updating a section of the document using ajax semantics, one would like to set the focus on the first component in that section.
> Now, a possible solution is to iterate over the components of the parent element, and focus on the first "focusable" element of that list. But there's no way to tell if a component is capable of receiving focus, so this change could allow this and other similar uses.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (TAPESTRY-909) Make AbstractFormComponent.getCanTakeFocus() public instead of private

Posted by "Leonardo Quijano Vincenzi (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-909?page=comments#action_12373572 ] 

Leonardo Quijano Vincenzi commented on TAPESTRY-909:
----------------------------------------------------

The method it's currently protected, actually. Nevertheless, the issue remains the same.


> Make AbstractFormComponent.getCanTakeFocus() public instead of private
> ----------------------------------------------------------------------
>
>          Key: TAPESTRY-909
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-909
>      Project: Tapestry
>         Type: Improvement

>     Versions: 4.0.1
>     Reporter: Leonardo Quijano Vincenzi
>     Priority: Minor

>
> For Ajax-style requests or special form focus processing, sometimes it's needed to focus an element in a non-standard way. For example, when updating a section of the document using ajax semantics, one would like to set the focus on the first component in that section.
> Now, a possible solution is to iterate over the components of the parent element, and focus on the first "focusable" element of that list. But there's no way to tell if a component is capable of receiving focus, so this change could allow this and other similar uses.

-- 
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