Hi, All URLs of this types (/nxdoc/* /nxfile/*) and handled by Nuxeo URL management infrastructure. This infra contains : - a servlet filter (in org.nuxeo.ecm.platform.ui.web.rest) - a JSF phase listener (in org.nuxeo.ecm.platform.ui.web.rest) - a Service for encoding/decoding URLs (nuxeo-platform-url-*)
URL codecs are contributed : org.nuxeo.ecm.platform/nuxeo-platform-url-core/src/main/resources/OSGI-INF/docviewurlservice-contrib.xml Codec will resolve a URL to a DocumentView (DocumentModel + view + additionnal parameters). URL patterns are contributed in : webapp : org.nuxeo.ecm.platform/nuxeo-platform-webapp-core/src/main/resources/OSGI-INF/urlservice-contrib.xml ui-web : org.nuxeo.ecm.platform/nuxeo-platform-ui-web/src/main/resources/OSGI-INF/urlservice-contrib.xml URL patterns will integrate URL decoding in the JSF process, so that the url is decoded and the right bindings are done. You can look at http://jira.nuxeo.org/browse/NXP-1146 to have a global overview. Hope this helps. Tiry Le vendredi 26 octobre 2007 à 10:40 +0200, Richard C. Hidalgo Lorite a écrit : > I need any advice for finding classes related with actions at web gui level. > > Using struts for example if I need to know what class is able to answer a > client command from the gui I have to exam the url and find the pattern at > struts-config.xml. How can I do this with nuxeo, I want for example to know > what controller class is able to answer to a command like this > http://localhost:8080/nuxeo/nxfile/default/9053636d-0d0e-4712-bb2c-8d4b339da3ae/file:content/ola.odt > (I don't want the answer but the process to find that answer!!!! ;-) > > thx in advance. > _______________________________________________ > ECM mailing list > [email protected] > http://lists.nuxeo.com/mailman/listinfo/ecm > _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
