cancel
Showing results for 
Search instead for 
Did you mean: 

Where Can I modify this component: "javascript:Richfaces.showModalPanel('selectDocTypePanel');

geekonspace
Star Contributor
Star Contributor

I have many documents and I want to show these on the popup but in a list like as I show you in picturealt text

1 ACCEPTED ANSWER

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

Are you looking for something like path filter in Faceted search ?

alt text

If this is the case, you have to just replace the biding with field and the widget and write your own widget. For the biding you can do look here.

For the widget definition, you can look the "select_path_tree" widget definition:

<widgetType name="select_path_tree">
  <configuration>
    <title>Path tree</title>
    <categories>
      <category>configuration_not_ready</category>
    </categories>
  </configuration>
  <handler-class>
    org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
  </handler-class>
  <property name="template">
    /widgets/select_path_tree_widget_template.xhtml
  </property>
</widgetType>

And see the xhtml associated.

Hope this will help you...

View answer in original post

1 REPLY 1

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

Are you looking for something like path filter in Faceted search ?

alt text

If this is the case, you have to just replace the biding with field and the widget and write your own widget. For the biding you can do look here.

For the widget definition, you can look the "select_path_tree" widget definition:

<widgetType name="select_path_tree">
  <configuration>
    <title>Path tree</title>
    <categories>
      <category>configuration_not_ready</category>
    </categories>
  </configuration>
  <handler-class>
    org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
  </handler-class>
  <property name="template">
    /widgets/select_path_tree_widget_template.xhtml
  </property>
</widgetType>

And see the xhtml associated.

Hope this will help you...