You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org> on 2007/10/15 16:48:50 UTC

[jira] Created: (TRINIDAD-768) improved support for sortable properties

improved support for sortable properties
----------------------------------------

                 Key: TRINIDAD-768
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-768
             Project: MyFaces Trinidad
          Issue Type: Improvement
          Components: Components
    Affects Versions: 1.0.3-core
         Environment: tested with trinidad 1.0.3
            Reporter: Gerhard Petracek
            Priority: Minor


e.g.
with this patch the following is possible:
sortProperty="subproperty1.subproperty2.sortableValue"

full example:
<tr:table value="#{bean.list}" var="entry" autoSubmit="true">
  <tr:column headerText="property" sortable="true" sortProperty="subproperty1.subproperty2.sortableValue">
    <tr:outputText value="#{entry.subproperty1.subproperty2 .sortableValue}"/>
  </tr:column>
</tr:table>


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


[jira] Updated: (TRINIDAD-768) improved support for sortable properties

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated TRINIDAD-768:
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.5-core
                   1.0.5-core
           Status: Resolved  (was: Patch Available)

fixed on both trunks

> improved support for sortable properties
> ----------------------------------------
>
>                 Key: TRINIDAD-768
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-768
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Components
>    Affects Versions: 1.0.3-core
>         Environment: tested with trinidad 1.0.3
>            Reporter: Gerhard Petracek
>            Assignee: Matthias Weßendorf
>            Priority: Minor
>             Fix For: 1.0.5-core, 1.2.5-core
>
>         Attachments: SortableModel.patch
>
>
> e.g.
> with this patch the following is possible:
> sortProperty="subproperty1.subproperty2.sortableValue"
> full example:
> <tr:table value="#{bean.list}" var="entry" autoSubmit="true">
>   <tr:column headerText="property" sortable="true" sortProperty="subproperty1.subproperty2.sortableValue">
>     <tr:outputText value="#{entry.subproperty1.subproperty2 .sortableValue}"/>
>   </tr:column>
> </tr:table>

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


[jira] Commented: (TRINIDAD-768) improved support for sortable properties

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559941#action_12559941 ] 

Gerhard Petracek commented on TRINIDAD-768:
-------------------------------------------

hello luka,

thank you for your comment.

it wasn't my intention to support what you suggested (at the first step).
the attribute supports el expressions to provide a string. so you cannot use an "advanced" syntax within the provided string itself (at the moment).

however, i already have 2 possible implementations in place to support the suggested feature.
i've to think about dis-/advantages and maybe we have to discuss them on the dev-mailing-list.

it will be a separated improvement.

regards,
gerhard

> improved support for sortable properties
> ----------------------------------------
>
>                 Key: TRINIDAD-768
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-768
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Components
>    Affects Versions: 1.0.3-core
>         Environment: tested with trinidad 1.0.3
>            Reporter: Gerhard Petracek
>            Assignee: Matthias Weßendorf
>            Priority: Minor
>             Fix For: 1.0.5-core, 1.2.5-core
>
>         Attachments: SortableModel.patch
>
>
> e.g.
> with this patch the following is possible:
> sortProperty="subproperty1.subproperty2.sortableValue"
> full example:
> <tr:table value="#{bean.list}" var="entry" autoSubmit="true">
>   <tr:column headerText="property" sortable="true" sortProperty="subproperty1.subproperty2.sortableValue">
>     <tr:outputText value="#{entry.subproperty1.subproperty2 .sortableValue}"/>
>   </tr:column>
> </tr:table>

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


[jira] Commented: (TRINIDAD-768) improved support for sortable properties

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552219 ] 

Matthias Weßendorf commented on TRINIDAD-768:
---------------------------------------------

applied to 1.0.x trunk;
I'll apply it to 1.2.x on Monday/Tuesday
(need to overwork it b/c of javax.el.Blah)

> improved support for sortable properties
> ----------------------------------------
>
>                 Key: TRINIDAD-768
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-768
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Components
>    Affects Versions: 1.0.3-core
>         Environment: tested with trinidad 1.0.3
>            Reporter: Gerhard Petracek
>            Assignee: Matthias Weßendorf
>            Priority: Minor
>         Attachments: SortableModel.patch
>
>
> e.g.
> with this patch the following is possible:
> sortProperty="subproperty1.subproperty2.sortableValue"
> full example:
> <tr:table value="#{bean.list}" var="entry" autoSubmit="true">
>   <tr:column headerText="property" sortable="true" sortProperty="subproperty1.subproperty2.sortableValue">
>     <tr:outputText value="#{entry.subproperty1.subproperty2 .sortableValue}"/>
>   </tr:column>
> </tr:table>

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


[jira] Updated: (TRINIDAD-768) improved support for sortable properties

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

Gerhard Petracek updated TRINIDAD-768:
--------------------------------------

    Status: Patch Available  (was: Open)

> improved support for sortable properties
> ----------------------------------------
>
>                 Key: TRINIDAD-768
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-768
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Components
>    Affects Versions: 1.0.3-core
>         Environment: tested with trinidad 1.0.3
>            Reporter: Gerhard Petracek
>            Priority: Minor
>
> e.g.
> with this patch the following is possible:
> sortProperty="subproperty1.subproperty2.sortableValue"
> full example:
> <tr:table value="#{bean.list}" var="entry" autoSubmit="true">
>   <tr:column headerText="property" sortable="true" sortProperty="subproperty1.subproperty2.sortableValue">
>     <tr:outputText value="#{entry.subproperty1.subproperty2 .sortableValue}"/>
>   </tr:column>
> </tr:table>

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


[jira] Commented: (TRINIDAD-768) improved support for sortable properties

Posted by "Luka Surija (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557281#action_12557281 ] 

Luka Surija commented on TRINIDAD-768:
--------------------------------------

still doesn't work in this case : sortProperty="contractors[0].fullName"

> improved support for sortable properties
> ----------------------------------------
>
>                 Key: TRINIDAD-768
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-768
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Components
>    Affects Versions: 1.0.3-core
>         Environment: tested with trinidad 1.0.3
>            Reporter: Gerhard Petracek
>            Assignee: Matthias Weßendorf
>            Priority: Minor
>             Fix For: 1.0.5-core, 1.2.5-core
>
>         Attachments: SortableModel.patch
>
>
> e.g.
> with this patch the following is possible:
> sortProperty="subproperty1.subproperty2.sortableValue"
> full example:
> <tr:table value="#{bean.list}" var="entry" autoSubmit="true">
>   <tr:column headerText="property" sortable="true" sortProperty="subproperty1.subproperty2.sortableValue">
>     <tr:outputText value="#{entry.subproperty1.subproperty2 .sortableValue}"/>
>   </tr:column>
> </tr:table>

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