Thanks a lot, it works now !!

Olivier Grisel wrote:
Vincent Dutat a écrit :
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 ...

That might be because you need to register the seam interceptor in your jar so
that your stateful bean is actually usable as a seam component. To do that, copy
and paste the ejb-jar.xml file from
org.nuxeo.ecm.platform.relations.web/META-INF/  for instance and ensure you ant
task deploys it as part of your jar. You can take example on the build.xml of
the relations.web project.

You might also need a empty seam.properties file such as the one in 
relations.web.


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to