You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Simon Lessard (JIRA)" <ad...@incubator.apache.org> on 2006/07/27 15:50:13 UTC

[jira] Created: (ADFFACES-95) Allow users to give focus to a specified field on PPR return

Allow users to give focus to a specified field on PPR return
------------------------------------------------------------

                 Key: ADFFACES-95
                 URL: http://issues.apache.org/jira/browse/ADFFACES-95
             Project: MyFaces ADF-Faces
          Issue Type: Improvement
            Reporter: Simon Lessard


That feature was requested over and over by jdrogers on OTN and was wanted by one of our client. When a PPR event return from server, the focus is currently given back to the PPR source. However, this behavior is often flagged as a bug by high end user, thus it would be nice to be able to specify what field should get the focus after PPR with an af:body property maybe.

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

        

[jira] Updated: (ADFFACES-95) Allow users to give focus to a specified field on PPR return

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-95:
---------------------------------------

    Affects Version/s: 1.0.1-incubating-core-SNAPSHOT

> Allow users to give focus to a specified field on PPR return
> ------------------------------------------------------------
>
>                 Key: ADFFACES-95
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-95
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>    Affects Versions: 1.0.1-incubating-core-SNAPSHOT
>            Reporter: Simon Lessard
>
> That feature was requested over and over by jdrogers on OTN and was wanted by one of our client. When a PPR event return from server, the focus is currently given back to the PPR source. However, this behavior is often flagged as a bug by high end user, thus it would be nice to be able to specify what field should get the focus after PPR with an af:body property maybe.

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


[jira] Commented: (ADFFACES-95) Allow users to give focus to a specified field on PPR return

Posted by "johnny petersen (JIRA)" <ad...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/ADFFACES-95?page=comments#action_12432273 ] 
            
johnny petersen commented on ADFFACES-95:
-----------------------------------------

Adding a af:body control of PPR does not solve the problem.

You can have multiple PPR source elements on a page.

You should simply respect the user click and tabulations.

This works on firefox and not on IE.

If you uncomment line 2075 of core.js like this ( in the original ADF with Jdeveloper):

_pprEventElement=null;//window.document.activeElement;

It works like firefox. This is perfect.

Does this destroy other things??


> Allow users to give focus to a specified field on PPR return
> ------------------------------------------------------------
>
>                 Key: ADFFACES-95
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-95
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Simon Lessard
>
> That feature was requested over and over by jdrogers on OTN and was wanted by one of our client. When a PPR event return from server, the focus is currently given back to the PPR source. However, this behavior is often flagged as a bug by high end user, thus it would be nice to be able to specify what field should get the focus after PPR with an af:body property maybe.

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

        

[jira] Commented: (ADFFACES-95) Allow users to give focus to a specified field on PPR return

Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/ADFFACES-95?page=comments#action_12423948 ] 
            
Gabrielle Crawford commented on ADFFACES-95:
--------------------------------------------

Wouldn't you need to ppr the af:body to do that? In which case you're essentially ppr'ing the entire content?

> Allow users to give focus to a specified field on PPR return
> ------------------------------------------------------------
>
>                 Key: ADFFACES-95
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-95
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Simon Lessard
>
> That feature was requested over and over by jdrogers on OTN and was wanted by one of our client. When a PPR event return from server, the focus is currently given back to the PPR source. However, this behavior is often flagged as a bug by high end user, thus it would be nice to be able to specify what field should get the focus after PPR with an af:body property maybe.

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

        

[jira] Commented: (ADFFACES-95) Allow users to give focus to a specified field on PPR return

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/ADFFACES-95?page=comments#action_12423959 ] 
            
Adam Winer commented on ADFFACES-95:
------------------------------------

af:body is actually in control of PPR - so we could add support for directing the focus based on a body property - like the initialFocusId property we already have.

> Allow users to give focus to a specified field on PPR return
> ------------------------------------------------------------
>
>                 Key: ADFFACES-95
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-95
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Simon Lessard
>
> That feature was requested over and over by jdrogers on OTN and was wanted by one of our client. When a PPR event return from server, the focus is currently given back to the PPR source. However, this behavior is often flagged as a bug by high end user, thus it would be nice to be able to specify what field should get the focus after PPR with an af:body property maybe.

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