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/20 20:34:05 UTC

[jira] Created: (TOMAHAWK-265) Automatic sort feature for extended data table

Automatic sort feature for extended data table
----------------------------------------------

         Key: TOMAHAWK-265
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-265
     Project: MyFaces Tomahawk
        Type: New Feature

  Components: Extended Datatable  
 Environment: All
    Reporter: Catalin Kormos
    Priority: Minor
 Attachments: patch.zip

The main new feature is, to allow obtaining a sortable table with little effort. By specifying a sortable=true attribute on the dataTable, command sort header components will be automaticaly added to each column header, if not present already, wrapping the current content of the header facet, and the sorting will be performed by the property obtained from the output component displaying the cell's content. Using the t:column component for the columns, will allow specifying also the default sorted column, using the new defaultSorted=true attribute.

The actual sorting by columns is handled by a new SortableModel, integrated into MyFaces from ADF Faces, which acts as a wrapper for the current model, and uses row object's properties to perform sort.

I created also a new page in myfaces examples/simple, to show how can this be used.

I think it's a nice feature to have, and could be further enhanced, i hope you guys will feel the same.

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] Commented: (TOMAHAWK-265) Automatic sort feature for extended data table

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-265?page=comments#action_12375433 ] 

Martin Marinschek commented on TOMAHAWK-265:
--------------------------------------------

This is real great.

I'll review this right now.

regards,

Martin

> Automatic sort feature for extended data table
> ----------------------------------------------
>
>          Key: TOMAHAWK-265
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-265
>      Project: MyFaces Tomahawk
>         Type: New Feature

>   Components: Extended Datatable
>  Environment: All
>     Reporter: Catalin Kormos
>     Assignee: Martin Marinschek
>     Priority: Minor
>  Attachments: patch.zip
>
> The main new feature is, to allow obtaining a sortable table with little effort. By specifying a sortable=true attribute on the dataTable, command sort header components will be automaticaly added to each column header, if not present already, wrapping the current content of the header facet, and the sorting will be performed by the property obtained from the output component displaying the cell's content. Using the t:column component for the columns, will allow specifying also the default sorted column, using the new defaultSorted=true attribute.
> The actual sorting by columns is handled by a new SortableModel, integrated into MyFaces from ADF Faces, which acts as a wrapper for the current model, and uses row object's properties to perform sort.
> I created also a new page in myfaces examples/simple, to show how can this be used.
> I think it's a nice feature to have, and could be further enhanced, i hope you guys will feel the same.
> 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] Commented: (TOMAHAWK-265) Automatic sort feature for extended data table

Posted by "Catalin Kormos (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-265?page=comments#action_12375874 ] 

Catalin Kormos commented on TOMAHAWK-265:
-----------------------------------------

Hi Martin,

Yes it is :), thanks for your help.

Regards,
Catalin



> Automatic sort feature for extended data table
> ----------------------------------------------
>
>          Key: TOMAHAWK-265
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-265
>      Project: MyFaces Tomahawk
>         Type: New Feature

>   Components: Extended Datatable
>  Environment: All
>     Reporter: Catalin Kormos
>     Assignee: Martin Marinschek
>     Priority: Minor
>      Fix For: 1.1.3-SNAPSHOT
>  Attachments: patch.zip
>
> The main new feature is, to allow obtaining a sortable table with little effort. By specifying a sortable=true attribute on the dataTable, command sort header components will be automaticaly added to each column header, if not present already, wrapping the current content of the header facet, and the sorting will be performed by the property obtained from the output component displaying the cell's content. Using the t:column component for the columns, will allow specifying also the default sorted column, using the new defaultSorted=true attribute.
> The actual sorting by columns is handled by a new SortableModel, integrated into MyFaces from ADF Faces, which acts as a wrapper for the current model, and uses row object's properties to perform sort.
> I created also a new page in myfaces examples/simple, to show how can this be used.
> I think it's a nice feature to have, and could be further enhanced, i hope you guys will feel the same.
> 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-265) Automatic sort feature for extended data table

Posted by "Catalin Kormos (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-265?page=all ]

Catalin Kormos updated TOMAHAWK-265:
------------------------------------

    Status: Patch Available  (was: Open)

> Automatic sort feature for extended data table
> ----------------------------------------------
>
>          Key: TOMAHAWK-265
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-265
>      Project: MyFaces Tomahawk
>         Type: New Feature

>   Components: Extended Datatable
>  Environment: All
>     Reporter: Catalin Kormos
>     Priority: Minor
>  Attachments: patch.zip
>
> The main new feature is, to allow obtaining a sortable table with little effort. By specifying a sortable=true attribute on the dataTable, command sort header components will be automaticaly added to each column header, if not present already, wrapping the current content of the header facet, and the sorting will be performed by the property obtained from the output component displaying the cell's content. Using the t:column component for the columns, will allow specifying also the default sorted column, using the new defaultSorted=true attribute.
> The actual sorting by columns is handled by a new SortableModel, integrated into MyFaces from ADF Faces, which acts as a wrapper for the current model, and uses row object's properties to perform sort.
> I created also a new page in myfaces examples/simple, to show how can this be used.
> I think it's a nice feature to have, and could be further enhanced, i hope you guys will feel the same.
> 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