07-21-2010 12:49 PM
<config evaluator="string-compare" condition="Action Wizards">
<action-handlers>
<handler name="add-features" class="com.custom.action.handler.AddFeaturesHandler" />
</action-handlers>
</config>
ConfigService svc = Application.getConfigService(FacesContext.getCurrentInstance());
Config wizardCfg = svc.getConfig("Action Wizards");
if (wizardCfg != null)
{
ConfigElement actionHandlerCfg = wizardCfg.getConfigElement("action-handlers");
if (actionHandlerCfg != null)
{
this.actionHandlers = new HashMap<String, IHandler>(20);
// instantiate each handler and store in the map
for (ConfigElement child : actionHandlerCfg.getChildren())
{
String actionName = child.getAttribute("name");
String handlerClass = child.getAttribute("class");
.
.
.
08-26-2010 06:52 AM
08-31-2010 07:27 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.