Examples of PageAction


Examples of com.hlcl.rql.util.as.PageAction

      } // end update method
    } // end listener class
    walker.setListener(new WalkerPageListener2());

    // prepare page action called on all physical pages
    PageAction simulateSmartEditUsage = new SimulateSmartEditUsagePageAction();

    // walk through all physical child pages for all given start pages
    Page startPg = project.getPageById(startPageId);
    walker.walk(startPg, simulateSmartEditUsage);
   
View Full Code Here

Examples of lupos.event.action.PageAction

      }

      send.init();

      subscribe(new Subscription("#" + this.subcount++ + " " + name,
          query), new PageAction(name, htmlCode, send));

    }

    if (selectedSendOption.equals("Generate HTML")) {
      new HTMLOptionsPanel(subscriptionNames, outPutFolder);
View Full Code Here

Examples of org.apache.myfaces.tobago.event.PageAction

      LOG.debug("actionId = '" + actionId + "'");
      LOG.debug("clientId = '" + clientId + "'");
    }
    if (actionId != null && actionId.equals(clientId)) {

      PageAction action;
      try {
        action = PageAction.parse(component.getId());
      } catch (Exception e) {
        LOG.error("Illegal value for PageAction :" + component.getId());
        return;
      }
      PageActionEvent event = new PageActionEvent(component.getParent(), action);

      switch (action) {
        case TO_PAGE:
        case TO_ROW:
          Map map = facesContext.getExternalContext().getRequestParameterMap();
          Object value = map.get(clientId + ComponentUtils.SUB_SEPARATOR + "value");
          try {
            event.setValue(Integer.parseInt((String) value));
          } catch (NumberFormatException e) {
            LOG.error("Can't parse integer value for action " + action.name() + ": " + value);
          }
          break;
        default:
          // nothing more to do
      }
View Full Code Here

Examples of org.apache.myfaces.tobago.event.PageAction

      LOG.debug("actionId = '" + actionId + "'");
      LOG.debug("clientId = '" + clientId + "'");
    }
    if (actionId != null && actionId.equals(clientId)) {

      PageAction action;
      try {
        action = PageAction.parse(component.getId());
      } catch (Exception e) {
        LOG.error("Illegal value for PageAction :" + component.getId());
        return;
      }
      PageActionEvent event = new PageActionEvent(component.getParent(), action);

      switch (action) {
        case TO_PAGE:
        case TO_ROW:
          Map map = facesContext.getExternalContext().getRequestParameterMap();
          Object value = map.get(clientId + ComponentUtils.SUB_SEPARATOR + "value");
          try {
            event.setValue(Integer.parseInt((String) value));
          } catch (NumberFormatException e) {
            LOG.error("Can't parse integer value for action " + action.name() + ": " + value);
          }
          break;
        default:
          // nothing more to do
      }
View Full Code Here

Examples of org.apache.myfaces.tobago.event.PageAction

      LOG.debug("actionId = '" + actionId + "'");
      LOG.debug("clientId = '" + clientId + "'");
    }
    if (actionId != null && actionId.equals(clientId)) {

      PageAction action;
      try {
        action = PageActionUtil.parse(component.getId());
        if (action == null) {
          LOG.error("Illegal value for PageAction :" + component.getId());
          return;
        }
      } catch (Exception e) {
        LOG.error("Illegal value for PageAction :" + component.getId());
        return;
      }
      PageActionEvent event = new PageActionEvent((UIData) component.getParent(), action);

      switch (action) {
        case TO_PAGE:
        case TO_ROW:
          Map map = facesContext.getExternalContext().getRequestParameterMap();
          Object value = map.get(clientId + SUBCOMPONENT_SEP + "value");
          try {
            event.setValue(Integer.parseInt((String) value));
          } catch (Exception e) {
            LOG.error("Can't parse value for action " + action.name() + ": " + value);
          }
          break;
        default:
          // nothing more to do
      }
View Full Code Here

Examples of org.apache.myfaces.tobago.event.PageAction

      LOG.debug("actionId = '" + actionId + "'");
      LOG.debug("clientId = '" + clientId + "'");
    }
    if (actionId != null && actionId.equals(clientId)) {

      PageAction action;
      try {
        action = PageActionUtil.parse(component.getId());
        if (action == null) {
          LOG.error("Illegal value for PageAction :" + component.getId());
          return;
        }
      } catch (Exception e) {
        LOG.error("Illegal value for PageAction :" + component.getId());
        return;
      }
      PageActionEvent event = new PageActionEvent((UIData) component.getParent(), action);

      switch(action) {
        case TO_PAGE:
        case TO_ROW:
          Map map = facesContext.getExternalContext().getRequestParameterMap();
          Object value = map.get(clientId + SUBCOMPONENT_SEP + "value");
          try {
            event.setValue(Integer.parseInt((String) value));
          } catch (Exception e) {
            LOG.error("Can't parse value for action " + action.name() + ": " + value);
          }
          break;
        default:
          // nothing more to do
      }
View Full Code Here

Examples of org.apache.myfaces.tobago.event.PageAction

      LOG.debug("actionId = '" + actionId + "'");
      LOG.debug("clientId = '" + clientId + "'");
    }
    if (actionId != null && actionId.equals(clientId)) {

      PageAction action;
      try {
        action = PageActionUtil.parse(component.getId());
        if (action == null) {
          LOG.error("Illegal value for PageAction :" + component.getId());
          return;
        }
      } catch (Exception e) {
        LOG.error("Illegal value for PageAction :" + component.getId());
        return;
      }
      PageActionEvent event = new PageActionEvent((UIData) component.getParent(), action);

      switch(action) {
        case TO_PAGE:
        case TO_ROW:
          Map map = facesContext.getExternalContext().getRequestParameterMap();
          Object value = map.get(clientId + SUBCOMPONENT_SEP + "value");
          try {
            event.setValue(Integer.parseInt((String) value));
          } catch (Exception e) {
            LOG.error("Can't parse value for action " + action.name() + ": " + value);
          }
          break;
        default:
          // nothing more to do
      }
View Full Code Here

Examples of org.apache.myfaces.tobago.event.PageAction

      LOG.debug("actionId = '" + actionId + "'");
      LOG.debug("clientId = '" + clientId + "'");
    }
    if (actionId != null && actionId.equals(clientId)) {

      final PageAction action;
      try {
        action = PageAction.parse(component.getId());
      } catch (final Exception e) {
        LOG.error("Illegal value for PageAction :" + component.getId());
        return;
      }
      final PageActionEvent event = new PageActionEvent(component.getParent(), action);

      switch (action) {
        case TO_PAGE:
        case TO_ROW:
          final Map map = facesContext.getExternalContext().getRequestParameterMap();
          final Object value = map.get(clientId + ComponentUtils.SUB_SEPARATOR + "value");
          try {
            event.setValue(Integer.parseInt((String) value));
          } catch (final NumberFormatException e) {
            LOG.error("Can't parse integer value for action " + action.name() + ": " + value);
          }
          break;
        default:
          // nothing more to do
      }
View Full Code Here

Examples of org.apache.myfaces.tobago.event.PageAction

      LOG.debug("actionId = '" + actionId + "'");
      LOG.debug("clientId = '" + clientId + "'");
    }
    if (actionId != null && actionId.equals(clientId)) {

      final PageAction action;
      try {
        action = PageAction.parse(component.getId());
      } catch (final Exception e) {
        LOG.error("Illegal value for PageAction :" + component.getId());
        return;
      }
      final PageActionEvent event = new PageActionEvent(component.getParent(), action);

      switch (action) {
        case TO_PAGE:
        case TO_ROW:
          final Map map = facesContext.getExternalContext().getRequestParameterMap();
          final Object value = map.get(clientId + ComponentUtils.SUB_SEPARATOR + "value");
          try {
            event.setValue(Integer.parseInt((String) value));
          } catch (final NumberFormatException e) {
            LOG.error("Can't parse integer value for action " + action.name() + ": " + value);
          }
          break;
        default:
          // nothing more to do
      }
View Full Code Here

Examples of org.apache.myfaces.tobago.event.PageAction

      LOG.debug("actionId = '" + actionId + "'");
      LOG.debug("clientId = '" + clientId + "'");
    }
    if (actionId != null && actionId.equals(clientId)) {

      PageAction action;
      try {
        action = PageAction.parse(component.getId());
      } catch (Exception e) {
        LOG.error("Illegal value for PageAction :" + component.getId());
        return;
      }
      PageActionEvent event = new PageActionEvent(component.getParent(), action);

      switch (action) {
        case TO_PAGE:
        case TO_ROW:
          Map map = facesContext.getExternalContext().getRequestParameterMap();
          Object value = map.get(clientId + ComponentUtils.SUB_SEPARATOR + "value");
          try {
            event.setValue(Integer.parseInt((String) value));
          } catch (NumberFormatException e) {
            LOG.error("Can't parse integer value for action " + action.name() + ": " + value);
          }
          break;
        default:
          // nothing more to do
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.