You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Catalin Kormos (JIRA)" <de...@myfaces.apache.org> on 2006/04/25 13:23:05 UTC
[jira] Created: (TOMAHAWK-385) Improvement to SortableModel to
allow resolving of nested sort properties
Improvement to SortableModel to allow resolving of nested sort properties
-------------------------------------------------------------------------
Key: TOMAHAWK-385
URL: http://issues.apache.org/jira/browse/TOMAHAWK-385
Project: MyFaces Tomahawk
Type: Improvement
Components: Extended Datatable
Environment: All
Reporter: Catalin Kormos
Priority: Minor
The initial SortableModel integrated from ADF Faces was using PropertyResolver to get the value of the property used to sort from the row object. This was working fine, but in most cases the value displayed in a cell, would be obtained from a nested property, on more than one level through the row object relationships (i.e. car.city.name).
This patch eliminates the use of the PropertyResolver, and uses EL Commons to evaluate the expression representing the value of the sort property.
Regards,
Catalin
--
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-385) Improvement to SortableModel to
allow resolving of nested sort properties
Posted by "Catalin Kormos (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-385?page=all ]
Catalin Kormos updated TOMAHAWK-385:
------------------------------------
Status: Patch Available (was: Open)
> Improvement to SortableModel to allow resolving of nested sort properties
> -------------------------------------------------------------------------
>
> Key: TOMAHAWK-385
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-385
> Project: MyFaces Tomahawk
> Type: Improvement
> Components: Extended Datatable
> Environment: All
> Reporter: Catalin Kormos
> Priority: Minor
> Attachments: SortableModel.patch
>
> The initial SortableModel integrated from ADF Faces was using PropertyResolver to get the value of the property used to sort from the row object. This was working fine, but in most cases the value displayed in a cell, would be obtained from a nested property, on more than one level through the row object relationships (i.e. car.city.name).
> This patch eliminates the use of the PropertyResolver, and uses EL Commons to evaluate the expression representing the value of the sort property.
> Regards,
> Catalin
--
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