03-11-2008 06:59 PM
<h:commandButton id="addNewKeyword" action="#{DialogManager.bean.addNewKeyword}" value="Create New"></h:commandButton>
I get the following html generated: <input type="submit" onclick="if(typeof window.clearFormHiddenParams_dialog!='undefined'){clearFormHiddenParams_dialog('dialog');}" value="Add Existing" name="dialog:dialog-body:addExistingKeyword" id="dialog:dialog-body:addExistingKeyword"/>
If I create a new action Link: <a:actionLink value="Remove Association" actionListener="#{DialogManager.bean.removeKeyword}" >
<f:param name="id" value="#{r.id }" />
</a:actionLink>
<a id="_idJsp33" onclick="document.forms['dialog']['dialog:act'].value='dialog:dialog-body:_idJsp33';document.forms['dialog']['id'].value='e315ee20-b93c-102a-917a-00137266e2e6';document.forms['dialog'].submit();return false;" href="#">Remove Association</a>
03-12-2008 05:45 AM
03-12-2008 11:38 AM
<h:commandButton id="addNewK" actionListener="#{DialogManager.bean.addNewKeyword}" value="Create New"></h:commandButton>
public class SiteTagManageBean extends BaseDialogBean implements IContextListener {
…
public void addNewKeyword(final ActionEvent evt){
logger.debug("addNewKeyword: "+newKeyword);
}
…
}
03-12-2008 07:37 PM
<config evaluator="node-type" condition="webc:website">
<navigation>
<override from-view-id="/jsp/dialog/space-details.jsp" to-view-id="/jsp/dialog/website-space-details.jsp" />
<override from-outcome="showSpaceDetails" to-view-id="/jsp/dialog/website-space-details.jsp" />
<override from-outcome="cancelEdit" to-view-id="/jsp/dialog/website-space-details.jsp" />
<override from-outcome="finishEdit" to-view-id="/jsp/dialog/website-space-details.jsp" />
</navigation>
</config>
03-13-2008 04:44 AM
public class SiteTagManageBean extends BaseDialogBean implements IContextListener {
…
public void addNewKeyword(){
logger.debug("addNewKeyword: "+newKeyword);
}
…
}
03-13-2008 12:57 PM
public String xyz(){ … }
public void xyz(ActionEvent evt){ … }
<alfresco-config>
…
<navigation-rule>
<from-view-id>/jsp/tlhc/wc/dialog/website-tags-dialog.jsp</from-view-id>
<navigation-case>
<from-outcome>cancel</from-outcome>
<to-view-id>/jsp/tlhc/wc/dialog/website-space-details.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>finish</from-outcome>
<to-view-id>/jsp/tlhc/wc/dialog/website-space-details.jsp</to-view-id>
</navigation-case>
</navigation-rule>
…
<alfresco-config>
03-13-2008 01:47 PM
03-14-2008 04:36 AM
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.