ERROR: facelet not found at <custom.xhtml>

Hello,

We encounter an error on Nuxeo 8.10 while using a custom plugin.

We've been using Nuxeo 5.6 for a few years with a custom personalization plugin. This plugin offers many features, and since our upgrade from 5.6 to 8.10 one of them doesn't work anymore. This feature add an 'Archive' button near the 'Delete' button of a file, and a custom tab 'Archive' when inside a directory, so the users can access the archived files. Since the upgrade, the Archive button still works but when we open the Archive tab, we get the following error: ERROR:facelet not found at '/tabs/tab_archive_file.xhtml'.

This xhtml file is in our plugin JAR, under web/nuxeo.war/tabs. The plugin is located in /opt/nuxeo/server/nxserver/plugins on our Nuxeo server. Here is the corresponding code for the tab:

<require>org.nuxeo.runtime.started</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
    <action id ="ArchiveFile" link="/tabs/tab_archive_file.xhtml" order="40" label="Archive">
        <category>VIEW_ACTION_LIST</category>
        <filter id="filter@tab@ArchiveFile">
            <rule grant="true">
                <permission>Read</permission>
                <type>DirectoryPersonalized</type> <!-- a personalized directory from our custom plugin -->
            </rule>
        </filter>
    </action>
</extension>

And here is the xhtml file:

<div class=“summary”

xmlns:h="http://java.sun.com/jsf/html"  
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"  
xmlns:nxl="http://nuxeo.org/nxforms/layout">  
<a4j:region id="documentViewRegion">  
    <a4j:outputPanel id="documentViewPanel" layout="block">  
        <nxl:layout value="#{currentDocument}" mode="view" name="ArchivePilotagePalier@tabLayout" />  
    </a4j:outputPanel>  
</a4j:region>  

Why aren't this working anymore since the version upgrade?

Thanks for your attention!

0 votes

0 answers

233 views

ANSWER

Could you check that the xhtml file is actually present at the expected location /opt/nuxeo/server/nxserver/nuxeo.war/tabs/tab_archive_file.xhtml after your server is started.
01/17/2018