Package org.apache.myfaces.trinidad.model

Examples of org.apache.myfaces.trinidad.model.XMLMenuModel$MenuContentHandler


      // Put it in the map
      _treeModelMap.put(_currentTreeModelMapKey, treeModel);
     
      // If Model is the Root, then build Model's hashmaps
      // and set them on the Root Model.
      XMLMenuModel rootModel = getRootModel();
     
      if (rootModel == getModel())
      {
        _viewIdFocusPathMap = new HashMap<String,List<Object>>();
        _nodeFocusPathMap   = new HashMap<Object, List<Object>>();
View Full Code Here


  {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    Map<String, Object> requestMap =
      facesContext.getExternalContext().getRequestMap();
   
    XMLMenuModel model = (XMLMenuModel) requestMap.get(getRootModelKey());
    return model;
  }
View Full Code Here

       
        // Need to push several items onto the stack now as we recurse
        // into another menu model.
        _saveModelData();       

        XMLMenuModel menuModel = (XMLMenuModel)MenuUtils.getBoundValue(expr);
       
        // Now must pop the values cause we are back to the parent
        // model.
        _restoreModelData();
       
        Object         subMenuObj  = menuModel.getWrappedData();
        List<MenuNode> subMenuList = null;
       
        if (subMenuObj instanceof ChildPropertyTreeModel)
        {
          subMenuList = 
View Full Code Here

    // Put it in the map
    _treeModelMap.put(_currentTreeModelMapKey, treeModel);
   
    // If Model is the Root, then build Model's hashmaps
    // and set them on the Root Model.
    XMLMenuModel rootModel = getRootModel();
   
    if (rootModel == getModel())
    {
      _viewIdFocusPathMap = new HashMap<String,List<Object>>();
      _nodeFocusPathMap   = new HashMap<Object, List<Object>>();
View Full Code Here

  {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    Map<String, Object> requestMap =
      facesContext.getExternalContext().getRequestMap();
   
    XMLMenuModel model = (XMLMenuModel) requestMap.get(getRootModelKey());
    return model;
  }
View Full Code Here

TOP

Related Classes of org.apache.myfaces.trinidad.model.XMLMenuModel$MenuContentHandler

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.