[
https://jira.nuxeo.org/browse/NXP-6105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=85902#action_85902
]
Anahide Tchertchian edited comment on NXP-6105 at 12/15/10 11:10 AM:
---------------------------------------------------------------------
Please make this configurable on the document type so that it's easy to use a
different header on different document types.
You can add a new pseudo mode 'header' as it will be mapped to the 'view' mode
if widgets by default, and fallback on the default layout when not defined. I
added a feature to the nxl:documentLayout that makes it easy to do so (see
NXP-6137)
Exp:
<type id="Root">
<label>Server Root</label>
...
<layouts mode="header">
<layout>document_header</layout>
</layouts>
....
xhtml:
<nxl:documentLayout mode="header" value="#{currentDocument}"
defaultLayout="document_header" includeAnyMode="false" />
was (Author: atchertchian):
Please make this configurable on the document type so that it's easy to use
a different header on different document types.
You can add a new pseudo mode 'header' as it will be mapped to the 'view' mode
if widgets by default, and fallback on the default layout when not defined. I
added a feature to the nxl:documentLayout that makes it easy to do so (see
NXP-6637)
Exp:
<type id="Root">
<label>Server Root</label>
...
<layouts mode="header">
<layout>document_header</layout>
</layouts>
....
xhtml:
<nxl:documentLayout mode="header" value="#{currentDocument}"
defaultLayout="document_header" includeAnyMode="false" />
> Use a layout to display the document header
> -------------------------------------------
>
> Key: NXP-6105
> URL: https://jira.nuxeo.org/browse/NXP-6105
> Project: Nuxeo Enterprise Platform
> Issue Type: Improvement
> Components: Layouts / Widgets
> Reporter: Quentin Lamerand
> Assignee: Quentin Lamerand
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://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