11-24-2006 05:20 AM
<action-group id="document_browse">
<show-link>false</show-link>
<style-class>inlineAction</style-class>
<action idref="edit_doc_http" />
<action idref="edit_doc_webdav" />
<action idref="edit_doc_cifs" />
<action idref="checkout_doc" />
<action idref="checkin_doc" />
<action idref="details_doc" />
<action idref="preview_doc" />
<action idref="cat_doc" /> <!– new action –>
</action-group> <action id="cat_doc">
<label-id>etiquetar</label-id>
<image>/images/icons/category_small.gif</image>
<action-listener>#{BrowseBean.setupContentAction}</action-listener>
<action>addCategory</action>
</action>11-24-2006 06:32 AM
<action>addCategory</action>
The issue here is that this JSF navigation case can only be launched from the categories jsp page. As per the faces-config-navigation.xml:
<!– Categories screen action outcomes –>
<navigation-rule>
<from-view-id>/jsp/categories/*</from-view-id>
<navigation-case>
<from-outcome>addCategory</from-outcome>
<to-view-id>/jsp/categories/new-category.jsp</to-view-id>
</navigation-case>
…
The from-view-id element specifies the match for the source jsp pages that can launch the addCategory page. You can change this to:
<from-view-id>/jsp/*</from-view-id>
But you may find that the dialog does not work outside of the categories list screen (it is expecting some context).11-27-2006 05:29 AM
javax.faces.FacesException: Cannot get value for expression '#{WizardManager.title}'
caused by:
org.apache.jasper.JasperException: Cannot get value for expression '#{WizardManager.title}'
caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{WizardManager.title}'
caused by:
javax.faces.el.EvaluationException: org.alfresco.web.bean.wizard.WizardManager
caused by:
javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.wizard.WizardManager, property: title
caused by:
java.lang.reflect.InvocationTargetException
caused by:
java.lang.NullPointerException11-27-2006 12:03 PM
11-28-2006 03:28 AM
Your action needs to launch the web-client wizard framework correctly using the 'wizard:' prefix:
<action>wizard:addCategory</action>
Thanks,
Kevin
<navigation-rule>
<from-view-id>/jsp/*</from-view-id>
<navigation-case>
<from-outcome>linkCat</from-outcome>
<to-view-id>/jsp/actions/link-category.jsp</to-view-id>
</navigation-case>
</navigation-rule> <action id="cat_doc">
<label-id>etiquetar</label-id>
<image>/images/icons/category_small.gif</image>
<action-listener>#{BrowseBean.setupContentAction}</action-listener>
<action>linkCat</action>
</action>11-28-2006 04:00 PM
Tags
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.