/**
* Action that dispatches to a factory component.
*/
public CommandResponse panelActionFactory(final Panel panel, CommandRequest request) throws Exception {
FactoryRequestHandler requestHandler = (FactoryRequestHandler) Factory.lookup("org.jboss.dashboard.ui.components.FactoryRequestHandler");
CommandResponse factoryResponse = requestHandler.handleRequest(request);
String action = request.getRequestObject().getParameter(FactoryURL.PARAMETER_PROPERTY);
String componentName = request.getRequestObject().getParameter(FactoryURL.PARAMETER_BEAN);
if (action != null) {
HandlerFactoryElement handler = (HandlerFactoryElement)Factory.lookup(componentName);
if (handler != null) action = handler.getActionForShortcut(action);