Dumitru CIUBENCO wrote:
Hi,
I’m trying to build a component with new perspective, and extend
default theme, but there are no documentation about this, at least I
can’t find it.
Can somebody help me with some short hints, sample or documentation?
Thaks, dima.
Hi,
do you mean creating new perspectives?
just add in your OSGI-INF/...-contrib.xml
<extension target="org.nuxeo.theme.services.ThemeService"
point="perspectives">
<perspective name="myperspective">
<title>My perspective</title>
</perspective>
</extension>
then refer to the perspective(s) with:
<fragment perspectives="myperspective1,myperspective2" type="some
fragment" />
or use the theme editor to assign perspectives to elements and export
the theme, it will add the perspectives="..." attributes to the fragments
/JM
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm