At first, thank to have a look quickly :-)
I have a custom document type (named Medical)
at now, I'm using in my OSGI-INF a contribution to layout. This is an extract
of my layout-contrib.xml
<component name="inputtool2.layout">
<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
point="layouts"
>
<layout name="Medical">
<templates>
<template mode="any">+/layouts/layout_default_template.xhtml+
</template>
</templates>
<rows>
<row>
<widget>nameOfMedicalProduct</widget>
</row>
<row>
<widget>cnkCode</widget>
</row>
</rows>
<widget name="nameOfMedicalProduct" type="text">
<labels>
<label mode="any">nameOfMedicalProduct
</label>
</labels>
<translated>false</translated>
<fields>
<field>nt:nameOfMedicalProduct</field>
</fields>
<widgetModes>
<mode value="create">edit</mode>
<mode value="any">view</mode>
</widgetModes>
</widget>
<widget name="cnkCode" type="text">
<labels>
<label mode="any">be.pcsol.cnkCode
</label>
</labels>
<translated>false</translated>
<fields>
<field>nt:CNK_CODE</field>
</fields>
<widgetModes>
<mode value="create">edit</mode>
<mode value="any">view</mode>
</widgetModes>
</widget>
</widget>
</layout>
*What I want* : in place of the layout_default_template.xhtml , I want to
create my custom_layout_template.xhtml.
If I do it in the layout-contrib.xml and the make a ant deploy and try it on
FireFox, the page is not found.
So I suppose my custom_layout_template.xhtml must be register somewhere
(however, i just have write the relative path). But the questions are *where*
and *how* ?
I have a look at layouts-framework.xml in nuxeo-jsf /
nuxeo-platform-forms-layout-client but perhaps I don't understand it so good
:-)
At the same I'll have to make my custom widget_templates and I have the same
problem.
is this better "understand-able ?" If not, i can explain it in a other way .
megh
--
Posted by "meghRF4" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2571#7181>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm