You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Tom Innes (JIRA)" <de...@myfaces.apache.org> on 2006/08/24 08:47:55 UTC

[jira] Created: (TOMAHAWK-616) Datatable AutoSort and Facelets Bug

Datatable AutoSort and Facelets Bug
-----------------------------------

                 Key: TOMAHAWK-616
                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-616
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Extended Datatable
    Affects Versions: 1.1.3
         Environment: Windows XP Professional
JBoss 4.03 SP1
Tomahawk 1.14 Snapshot and MyFaces 1.14 Snapshot
            Reporter: Tom Innes
             Fix For: 1.1.4-SNAPSHOT
         Attachments: DatatableTestFacelets.zip

I am having problems with the auto sort feature after converting my application to facelets.  The sorting only sorts one way ( ascending ) and the arrows are never displayed.  I have tried 1.13 and 1.14 versions and there is no difference in the behaviour.

I have converted the car example to highlight the problem it is attached.  It is an eclipse project and the war is called DataTableTestFacelets.

Just press the Find Button and then click on the links to sort the data.

 

-- 
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: (TOMAHAWK-616) Datatable AutoSort and Facelets Bug

Posted by "HasunJoung (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

HasunJoung updated TOMAHAWK-616:
--------------------------------

    Status: Patch Available  (was: Open)

> Datatable AutoSort and Facelets Bug
> -----------------------------------
>
>                 Key: TOMAHAWK-616
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-616
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Extended Datatable
>    Affects Versions: 1.1.3
>         Environment: Windows XP Professional
> JBoss 4.03 SP1
> Tomahawk 1.14 Snapshot and MyFaces 1.14 Snapshot
>            Reporter: Tom Innes
>         Attachments: DatatableTestFacelets.zip
>
>
> I am having problems with the auto sort feature after converting my application to facelets.  The sorting only sorts one way ( ascending ) and the arrows are never displayed.  I have tried 1.13 and 1.14 versions and there is no difference in the behaviour.
> I have converted the car example to highlight the problem it is attached.  It is an eclipse project and the war is called DataTableTestFacelets.
> Just press the Find Button and then click on the links to sort the data.
>  

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


[jira] Commented: (TOMAHAWK-616) Datatable AutoSort and Facelets Bug

Posted by "Ronald Müller (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597932#action_12597932 ] 

Ronald Müller commented on TOMAHAWK-616:
----------------------------------------

I' ve also noticed this bug in my own webapp and could reproduce this with given sample-app. 
my maschine : linux, tomcat 5.0.28, jdk1.4.2 / 1.6.0, myfaces 1.1.15 and tomahawk 1.1.15
but i'm not sure if it is facelets related or a tomahawk bug !

as a workaround you can use 't:commandSortHeader' with the right 'columnName'-attribut.
what i figured out so far is :
- the binding for 'sortColumn' is called with wrong parameters. the method receives a component-id instead of a column-name.
- if i set 'preserveDataModel' to 'true' than the bindings for 'sortColumn' and 'sortAscending' are never called.

i hope this helps finding this bug soon.

> Datatable AutoSort and Facelets Bug
> -----------------------------------
>
>                 Key: TOMAHAWK-616
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-616
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Extended Datatable
>    Affects Versions: 1.1.3
>         Environment: Windows XP Professional
> JBoss 4.03 SP1
> Tomahawk 1.14 Snapshot and MyFaces 1.14 Snapshot
>            Reporter: Tom Innes
>         Attachments: DatatableTestFacelets.zip
>
>
> I am having problems with the auto sort feature after converting my application to facelets.  The sorting only sorts one way ( ascending ) and the arrows are never displayed.  I have tried 1.13 and 1.14 versions and there is no difference in the behaviour.
> I have converted the car example to highlight the problem it is attached.  It is an eclipse project and the war is called DataTableTestFacelets.
> Just press the Find Button and then click on the links to sort the data.
>  

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


[jira] Commented: (TOMAHAWK-616) Datatable AutoSort and Facelets Bug

Posted by "Rafael Rossignol Felipe (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-616?page=comments#action_12437657 ] 
            
Rafael Rossignol Felipe commented on TOMAHAWK-616:
--------------------------------------------------

I´ve choose by don´t use facelets because this bug.

> Datatable AutoSort and Facelets Bug
> -----------------------------------
>
>                 Key: TOMAHAWK-616
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-616
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Extended Datatable
>    Affects Versions: 1.1.3
>         Environment: Windows XP Professional
> JBoss 4.03 SP1
> Tomahawk 1.14 Snapshot and MyFaces 1.14 Snapshot
>            Reporter: Tom Innes
>             Fix For: 1.1.4-SNAPSHOT
>
>         Attachments: DatatableTestFacelets.zip
>
>
> I am having problems with the auto sort feature after converting my application to facelets.  The sorting only sorts one way ( ascending ) and the arrows are never displayed.  I have tried 1.13 and 1.14 versions and there is no difference in the behaviour.
> I have converted the car example to highlight the problem it is attached.  It is an eclipse project and the war is called DataTableTestFacelets.
> Just press the Find Button and then click on the links to sort the data.
>  

-- 
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: (TOMAHAWK-616) Datatable AutoSort and Facelets Bug

Posted by "Joseph ONeil (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph ONeil updated TOMAHAWK-616:
----------------------------------

    Status: Patch Available  (was: Open)

> Datatable AutoSort and Facelets Bug
> -----------------------------------
>
>                 Key: TOMAHAWK-616
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-616
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Extended Datatable
>    Affects Versions: 1.1.3
>         Environment: Windows XP Professional
> JBoss 4.03 SP1
> Tomahawk 1.14 Snapshot and MyFaces 1.14 Snapshot
>            Reporter: Tom Innes
>         Attachments: DatatableTestFacelets.zip
>
>
> I am having problems with the auto sort feature after converting my application to facelets.  The sorting only sorts one way ( ascending ) and the arrows are never displayed.  I have tried 1.13 and 1.14 versions and there is no difference in the behaviour.
> I have converted the car example to highlight the problem it is attached.  It is an eclipse project and the war is called DataTableTestFacelets.
> Just press the Find Button and then click on the links to sort the data.
>  

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


[jira] Updated: (TOMAHAWK-616) Datatable AutoSort and Facelets Bug

Posted by "Simon Kitching (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Kitching updated TOMAHAWK-616:
------------------------------------

    Status: Open  (was: Patch Available)

> Datatable AutoSort and Facelets Bug
> -----------------------------------
>
>                 Key: TOMAHAWK-616
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-616
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Extended Datatable
>    Affects Versions: 1.1.3
>         Environment: Windows XP Professional
> JBoss 4.03 SP1
> Tomahawk 1.14 Snapshot and MyFaces 1.14 Snapshot
>            Reporter: Tom Innes
>         Attachments: DatatableTestFacelets.zip
>
>
> I am having problems with the auto sort feature after converting my application to facelets.  The sorting only sorts one way ( ascending ) and the arrows are never displayed.  I have tried 1.13 and 1.14 versions and there is no difference in the behaviour.
> I have converted the car example to highlight the problem it is attached.  It is an eclipse project and the war is called DataTableTestFacelets.
> Just press the Find Button and then click on the links to sort the data.
>  

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


[jira] Commented: (TOMAHAWK-616) Datatable AutoSort and Facelets Bug

Posted by "Daniel Vidal Salvi Marson (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586601#action_12586601 ] 

Daniel Vidal Salvi Marson commented on TOMAHAWK-616:
----------------------------------------------------

I've the same problem in my aplication. The order is rendered in String, but my attribute is Long type

> Datatable AutoSort and Facelets Bug
> -----------------------------------
>
>                 Key: TOMAHAWK-616
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-616
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Extended Datatable
>    Affects Versions: 1.1.3
>         Environment: Windows XP Professional
> JBoss 4.03 SP1
> Tomahawk 1.14 Snapshot and MyFaces 1.14 Snapshot
>            Reporter: Tom Innes
>         Attachments: DatatableTestFacelets.zip
>
>
> I am having problems with the auto sort feature after converting my application to facelets.  The sorting only sorts one way ( ascending ) and the arrows are never displayed.  I have tried 1.13 and 1.14 versions and there is no difference in the behaviour.
> I have converted the car example to highlight the problem it is attached.  It is an eclipse project and the war is called DataTableTestFacelets.
> Just press the Find Button and then click on the links to sort the data.
>  

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