[
http://jira.nuxeo.org/browse/NXP-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Delphine Renevey updated NXP-2897:
----------------------------------
Scrum Backlog: (was: Starship)
> Simplify the JSF sorting column header declarations
> ---------------------------------------------------
>
> Key: NXP-2897
> URL: http://jira.nuxeo.org/browse/NXP-2897
> Project: Nuxeo Enterprise Platform
> Issue Type: Sub-task
> Components: Web Foundations
> Affects Versions: 5.2 M3, 5.2 RC
> Reporter: Olivier Grisel
> Assignee: Olivier Grisel
> Priority: Major
> Fix For: 5.2.x
>
>
> The following JSF boiler plate is typically copy and pasted all over the
> place in default templates:
> <f:facet name="header">
> <h:panelGroup>
> <h:commandLink immediate="true" action="#{sortActions.repeatSearch}"
> rendered="#{provider.sortable}" >
> <h:outputText
> value="#{messages['label.content.header.modified']}" />
> <f:param name="providerName" value="#{providerName}" />
> <f:param name="sortColumn" value="dc:modified" />
> <h:panelGroup rendered="#{provider.sortInfo.sortColumn ==
> 'dc:modified' }" >
> <h:graphicImage value="/icons/arrow_down.gif"
> rendered="#{provider.sortInfo.sortAscending}" />
> <h:graphicImage value="/icons/arrow_up.gif"
> rendered="#{!provider.sortInfo.sortAscending}" />
> </h:panelGroup>
> </h:commandLink>
> <h:outputText value="#{messages['label.content.header.modified']}"
> rendered="#{!provider.sortable}" />
> </h:panelGroup>
> </f:facet>
> This should be factorized in either a ui:included generic template or a
> dedicated JSF component. Also the sort logics should be centralized in a
> single seam components for resultsprovider management.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets