Package net.l3x.faces.freeway.templating.jsf

Examples of net.l3x.faces.freeway.templating.jsf.VariablesMap


  public VariablesMapWrapper(VariablesMap target) {
    this.target = target;
  }

  public VariablesMap copy() {
    VariablesMap map = new VariablesMapWrapper(target.copy());
    map.putAll(variables);
    return map;
  }
View Full Code Here


    }
    return template;
  }
 
  private JsfTemplate createTemplate(VariablesMap parentVariables) {
    VariablesMap newVariables = makeVariablesMap(parentVariables);
    setDefaultVariables(newVariables);
    SmartCopyingVariablesWrapper smartVariables = new SmartCopyingVariablesWrapper(newVariables);
    List<TemplateSpot> spots = new ArrayList<TemplateSpot>();
    for (TemplateComponent child : children) {
      spots.add(new TemplateSpot(child.asUIComponent().getId(), child.makeTemplate(smartVariables)));
View Full Code Here

    return initialVariables;
  }
 
  protected void overrideChildren(JsfTemplate targetTemplate, VariablesMap parentVariables) {
    overrideVariables(targetTemplate.getVariables());
    VariablesMap compositeVariables = makeCompositeVariablesMap(targetTemplate, parentVariables);
    TemplateList<JsfTemplate> targetChildren = targetTemplate.getChildren();
    for (TemplateComponent child : children) {
      JsfTemplate childTemplate = child.makeTemplate(compositeVariables);
      TemplateList<JsfTemplate> targetSubList = targetChildren.subListByName(childTemplate.getName());
      if (targetSubList.size() == 0) {
View Full Code Here

TOP

Related Classes of net.l3x.faces.freeway.templating.jsf.VariablesMap

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.