You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mathias Broekelmann (JIRA)" <my...@incubator.apache.org> on 2005/07/19 12:37:54 UTC
[jira] Resolved: (MYFACES-224) x:dataTable, x:columns and x:commandSortHeader not sorting the data
[ http://issues.apache.org/jira/browse/MYFACES-224?page=all ]
Mathias Broekelmann resolved MYFACES-224:
-----------------------------------------
Resolution: Fixed
fixed. See the updated examples for 'Paged and Sortable (dynamic number of columns; mouseover)'
> x:dataTable, x:columns and x:commandSortHeader not sorting the data
> -------------------------------------------------------------------
>
> Key: MYFACES-224
> URL: http://issues.apache.org/jira/browse/MYFACES-224
> Project: MyFaces
> Type: Bug
> Versions: 1.0.9 beta
> Environment: tomcat5.5, java5 update 3,
> Reporter: Alex Mayer
>
> The x:commandSortHeader is not working if nested inside of x:columns (which is nested in x:dataTable)
> my code is like this:
> <x:dataTable id="data" value="#{manager.sortList.dataObjectsToSort}" var="b" rows="4"
> sortColumn="#{manager.sortList.sort}" sortAscending="#{manager.sortList.ascending}"
> preserveSort="true" preserveDataModel="true">
>
> <x:columns value="#{manager.headerStrings}" var="column">
> <f:facet name="header">
> <h:panelGroup>
> <h:selectBooleanCheckbox />
> <x:commandSortHeader columnName="#{column}" arrow="true">
> <h:outputText value="#{column}" />
> </x:commandSortHeader>
> </h:panelGroup>
> </f:facet>
> <h:outputText value="#{b[column]}" />
> </x:columns>
> </x:dataTable>
> in case I use a component-binding for the x:dataTable to generate a corresponding table in a bean, everything works fine.
> I believe this is, because the x:columns-tag assigns to every childcomponent of type commandSortHeader the same id.
--
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
Re: [jira] Resolved: (MYFACES-224) x:dataTable, x:columns and x:commandSortHeader not sorting the data
Posted by Sean Schofield <se...@gmail.com>.
Mathias,
Lately we've been marking bugs closed/fixed (instead of
resolved/fixed.) As of the last release, there was no way in JIRA to
change all resolved to closed so I had to do them manually! We don't
want to repeat that process again (along with all of the email.)
sean
ps. Welcome to the team
On 7/19/05, Mathias Broekelmann (JIRA) <my...@incubator.apache.org> wrote:
> [ http://issues.apache.org/jira/browse/MYFACES-224?page=all ]
>
> Mathias Broekelmann resolved MYFACES-224:
> -----------------------------------------
>
> Resolution: Fixed
>
> fixed. See the updated examples for 'Paged and Sortable (dynamic number of columns; mouseover)'
>
> > x:dataTable, x:columns and x:commandSortHeader not sorting the data
> > -------------------------------------------------------------------
> >
> > Key: MYFACES-224
> > URL: http://issues.apache.org/jira/browse/MYFACES-224
> > Project: MyFaces
> > Type: Bug
> > Versions: 1.0.9 beta
> > Environment: tomcat5.5, java5 update 3,
> > Reporter: Alex Mayer
>
> >
> > The x:commandSortHeader is not working if nested inside of x:columns (which is nested in x:dataTable)
> > my code is like this:
> > <x:dataTable id="data" value="#{manager.sortList.dataObjectsToSort}" var="b" rows="4"
> > sortColumn="#{manager.sortList.sort}" sortAscending="#{manager.sortList.ascending}"
> > preserveSort="true" preserveDataModel="true">
> >
> > <x:columns value="#{manager.headerStrings}" var="column">
> > <f:facet name="header">
> > <h:panelGroup>
> > <h:selectBooleanCheckbox />
> > <x:commandSortHeader columnName="#{column}" arrow="true">
> > <h:outputText value="#{column}" />
> > </x:commandSortHeader>
> > </h:panelGroup>
> > </f:facet>
> > <h:outputText value="#{b[column]}" />
> > </x:columns>
> > </x:dataTable>
> > in case I use a component-binding for the x:dataTable to generate a corresponding table in a bean, everything works fine.
> > I believe this is, because the x:columns-tag assigns to every childcomponent of type commandSortHeader the same id.
>
> --
> 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
>
>