Hi,
thanks.
But I don't want to go so far, I only want to add a new list of items
under the list of user tasks in the dashboard page. So I did more or
less the same thing as in the other lists (i.e. My Documents) with a
stateful bean and 2 xhtml files. I get an exception when the method
getDataTableModel of the instance of class DataQueryActions is called.
The strange thing is that when I put all my stuffs in
org.nuxeo.ecm.webapp, it works, but it does not when my stuffs are in a
separate project. I may forget some config files ...
Jean-Marc Orliaguet wrote:
Vincent Dutat wrote:
Hi,
I tried to add a fragment in the dashboard through my own project (a
stateful bean, a theme-contrib.xml file to add a new view, my own
nxthemes-setup.xml that scratches the standard nxthemes-setup.xml at
deployment time using deployment-fragment.xml) but it does not work. I
had to put all my stuffs in org.nuxeo.ecm.webapp, which is ugly. Do
you have any idea to avoid doing that ?
Hi,
in OSGI-INF declare:
<extension target="org.nuxeo.theme.services.ThemeService" point="themes">
<theme>
<src>META-INF/path-to-you-theme.xml</src>
</theme>
</extension>
to register your theme. this will override the default theme (if the
theme is called 'default')
for a demo app see https://svn.nuxeo.org/nuxeo/org.nuxeo.theme/trunk/demo
/JM
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm