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 "Joseph Rozier (JIRA)" <ad...@incubator.apache.org> on 2006/08/30 00:34:22 UTC

[jira] Created: (ADFFACES-157) Moving from ascending sort to descending sort on a tr:column on the PDA does not work

Moving from ascending sort to descending sort on a tr:column on the PDA does not work
-------------------------------------------------------------------------------------

                 Key: ADFFACES-157
                 URL: http://issues.apache.org/jira/browse/ADFFACES-157
             Project: MyFaces ADF-Faces
          Issue Type: Bug
         Environment: PDA
            Reporter: Joseph Rozier
            Priority: Minor


On the PDA, if a column is both ascending and descending sortable, the user is not able to move to the descending sort after first selecting the ascending sort.

-- 
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-157) Moving from ascending sort to descending sort on a tr:column on the PDA does not work

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-157?page=all ]

Joseph Rozier updated ADFFACES-157:
-----------------------------------

    Status: Patch Available  (was: Open)

> Moving from ascending sort to descending sort on a tr:column on the PDA does not work
> -------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-157
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-157
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: PDA
>            Reporter: Joseph Rozier
>            Priority: Minor
>
> On the PDA, if a column is both ascending and descending sortable, the user is not able to move to the descending sort after first selecting the ascending sort.

-- 
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] Assigned: (ADFFACES-157) Moving from ascending sort to descending sort on a tr:column on the PDA does not work

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-157?page=all ]

Matthias Weßendorf reassigned ADFFACES-157:
-------------------------------------------

    Assignee: Matthias Weßendorf

> Moving from ascending sort to descending sort on a tr:column on the PDA does not work
> -------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-157
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-157
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: PDA
>            Reporter: Joseph Rozier
>         Assigned To: Matthias Weßendorf
>            Priority: Minor
>         Attachments: adffaces157.patch
>
>
> On the PDA, if a column is both ascending and descending sortable, the user is not able to move to the descending sort after first selecting the ascending sort.

-- 
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] Resolved: (ADFFACES-157) Moving from ascending sort to descending sort on a tr:column on the PDA does not work

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-157?page=all ]

Matthias Weßendorf resolved ADFFACES-157.
-----------------------------------------

    Resolution: Fixed

fixed in SVN. THX Josef!

> Moving from ascending sort to descending sort on a tr:column on the PDA does not work
> -------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-157
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-157
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: PDA
>            Reporter: Joseph Rozier
>         Assigned To: Matthias Weßendorf
>            Priority: Minor
>         Attachments: adffaces157.patch
>
>
> On the PDA, if a column is both ascending and descending sortable, the user is not able to move to the descending sort after first selecting the ascending sort.

-- 
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-157) Moving from ascending sort to descending sort on a tr:column on the PDA does not work

Posted by "Joseph Rozier (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-157?page=all ]

Joseph Rozier updated ADFFACES-157:
-----------------------------------

    Attachment: adffaces157.patch

I'm attaching a patch for this issue.

The problem was with the JavaScript.  The _tableSort method which is called takes in a set of parameters, one of which is called "state".  In the _submitForm logic, the values from these parameters are populated in hidden input fields.  If a matching hidden input field is not found, the JavaScript attempts to create one on the fly.  The PDAs we are supporting does not support the creation of DOM elements on the fly, so this was failing.

The solution is to add a hidden input field with the name "state" whenever a column is sortable and the agent does not support the creation of DOM elements on the fly.

> Moving from ascending sort to descending sort on a tr:column on the PDA does not work
> -------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-157
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-157
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: PDA
>            Reporter: Joseph Rozier
>            Priority: Minor
>         Attachments: adffaces157.patch
>
>
> On the PDA, if a column is both ascending and descending sortable, the user is not able to move to the descending sort after first selecting the ascending sort.

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