Package org.salamandra.web.core.config.digester

Examples of org.salamandra.web.core.config.digester.ActionForward


    ActionForwardMappings actionForwardMapping = xConfig.getActionForwardMappings();
    // per ogni action forward tovato
    List<ActionForward> lstActionForward = actionForwardMapping.getActionForwards();
    Iterator<ActionForward> iter = lstActionForward.iterator();
    while (iter.hasNext()) {
      ActionForward action_forward = (ActionForward) iter.next();
      // controllo se � quello che � stato richiesto
      Pattern pattern = Pattern.compile(action_forward.getPath());
      if (pattern.matcher(matcher).matches()) {
        Transformer transformer;
        try {
          // ottengo il Transformer
          transformer = (Transformer) ((Transformer) hshTrans.get( action_forward.getTransformer() )).clone();
          try {
            // � imposto le sue propriet�
            PropertyUtils.applyPropertyValues(action_forward.getSetProperties(), transformer);
          } catch (PropertiesContainerException ex) {
            for (Iterator<PropertiesException> iterator = ex.iterator(); iterator.hasNext();) {
              PropertiesException element = (PropertiesException) iterator.next();
              transformer.addParameter(element.getProperty(), String.valueOf(element.getValue()));
View Full Code Here

TOP

Related Classes of org.salamandra.web.core.config.digester.ActionForward

Copyright © 2018 www.massapicom. 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.