07-19-2007 04:25 PM
<alfresco-config>
<config>
<actions>
<action id="custom_action">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<tooltip>…</tooltip>
<label>…</label>
<image>…</image>
<action>dialog:customDialog</action>
<action-listener>#{CustomBean.actionListenFunction}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<action-group id="document_browse_menu">
<action idref="custom_action" />
</action-group>
</actions>
<dialogs>
<dialog name="customDialog" page="/jsp/customJSP.jsp" managed-bean="MyCustomDialog"
icon="/images/icons/icon.gif" title="…"
description="…" />
</dialogs>
</config>
</alfresco-config>
public class MyCustomDialog extends BaseDialogBean
{
@Override
protected String finishImpl(FacesContext context, String outcome) throws Exception
{
System.out.println("finishImpl called");
return outcome;
}
@Override
public boolean getFinishButtonDisabled()
{
return false;
}
}
07-20-2007 08:59 AM
<action-listener>#{BrowseBean.setupContentAction}</action-listener>
Node node = this.browseBean.getDocument();
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.