Hi,

Can you please explain me how is it possible to re-use "generic fragments"
like "nuxeo5 tree explorer" without having to declare it to nxthemes-setup.xml ?

In my example, I would like to use a panel with different tabs and insert the
component "nuxeo5 tree explorer" inside one of the tabs.

In that configuration, I have to declare in nxthemes-setup.xml :

<widget element="page[1]/section[2]/cell[1]/fragment[1]">
  <view>tabsPanel</view>
</widget>

In theme-contrib.xml :

<view name="tabsPanel">
  <format-type>widget</format-type>
  <class>org.nuxeo.theme.jsf.views.JSFView</class>
  <template>incl/tabsPanel.xhtml</template>
</view>

But in "tabsPanel.xhtml", when I include the "tree_explorer.xhtml" file
(corresponding to the "nuxeo5 tree explorer" view), I get a nice exception...

Hoping to have been clearly... :\

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

Reply via email to