cancel
Showing results for 
Search instead for 
Did you mean: 

What is a path of an xhtml resource ?

fabrice_
Champ on-the-rise
Champ on-the-rise

Hi,

I uploaded "test-picturebook.xhtml" in Nuxeo Studio in "resources/widgets". I then contributed an extension point to display this xhtml :

<extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
     <action id="TAB_UNR_PICTURE_BOOK"
          link="/nuxeo.war/widgets/test-picturebook.xhtml" order="50"
          enabled="true"
          label="livre">
          <category>VIEW_ACTION_LIST</category>
          <filter id="display_unr_picture_book">
               <rule grant="true">
                    <permission>AddChildren</permission>
               </rule>
          </filter>
     </action>
</extension>

And this causes the following error :

ERROR: some facelet is not found: /nuxeo.war/widgets/test-picturebook.xhtml

It seams that the path of the resource is not "nuxeo.war/widgets". Do you know the exact path or syntax ?

Thank you for any help.

Regards

Fabrice

1 REPLY 1

fabrice_
Champ on-the-rise
Champ on-the-rise

Found it.

Link is

/widgets/test-picturebook.xhtml

instead of

/nuxeo.war/widgets/test-picturebook.xhtml

Regards

Fabrice

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.