myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronald Müller (JIRA) <>
Subject [jira] Commented: (TOMAHAWK-616) Datatable AutoSort and Facelets Bug
Date Mon, 19 May 2008 12:09:55 GMT


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

View raw message