05-30-2012 12:58 PM
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
05-31-2012 06:00 AM
Found it.
Link is
/widgets/test-picturebook.xhtml
instead of
/nuxeo.war/widgets/test-picturebook.xhtml
Regards
Fabrice
 
					
				
				
			
		
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.