Package com.sun.facelets.tag

Examples of com.sun.facelets.tag.TagAttributes


            for (int i = 0; i < len; i++) {
                ta[i] = new TagAttribute(this.createLocation(),
                        attrs.getURI(i), attrs.getLocalName(i), attrs
                                .getQName(i), attrs.getValue(i));
            }
            return new TagAttributes(ta);
        }
View Full Code Here


        tagId = "_tagId0";
        Location location = new Location("cdr", 1, 2);
        String ns = "urn:unk";
        tag = new Tag(location,
            ns, "tag", null,
            new TagAttributes(new TagAttribute[] {
              new TagAttribute(location, "", "beanName", null, beanName)
              new TagAttribute(location, "", "ajaxOnly", null, String.valueOf(ajaxOnly)) 
            }));
      }
     
View Full Code Here

            for (int i = 0; i < oa.length; i++) {
                if (!"jsfc".equals(oa[i].getLocalName())) {
                    na[p++] = oa[i];
                }
            }
            return new Tag(tag, new TagAttributes(na));
        }
        return tag;
    }
View Full Code Here

                attrList.add(attr[i]);
            }
            attr = (TagAttribute[]) attrList.toArray(new TagAttribute[attrList
                    .size()]);
            return new Tag(tag.getLocation(), tag.getNamespace(), tag
                    .getLocalName(), tag.getQName(), new TagAttributes(attr));
        }
    }
View Full Code Here

            for (int i = 0; i < len; i++) {
                ta[i] = new TagAttribute(this.createLocation(),
                        attrs.getURI(i), attrs.getLocalName(i), attrs
                                .getQName(i), attrs.getValue(i));
            }
            return new TagAttributes(ta);
        }
View Full Code Here

            for (int i = 0; i < oa.length; i++) {
                if (!"jsfc".equals(oa[i].getLocalName())) {
                    na[p++] = oa[i];
                }
            }
            return new Tag(tag, new TagAttributes(na));
        }
        return tag;
    }
View Full Code Here

                attrList.add(attr[i]);
            }
            attr = (TagAttribute[]) attrList.toArray(new TagAttribute[attrList
                    .size()]);
            return new Tag(tag.getLocation(), tag.getNamespace(), tag
                    .getLocalName(), tag.getQName(), new TagAttributes(attr));
        }
    }
View Full Code Here

            }
            if ("input".equals(n)) {
                TagAttribute attr = tag.getAttributes().get("type");
                if (attr != null) {
                    String t = attr.getValue();
                    TagAttributes na = removeType(tag.getAttributes());
                    if ("text".equals(t)) {
                        return new Tag(tag.getLocation(),
                                HtmlLibrary.Namespace, "inputText", tag
                                        .getQName(), na);
                    }
View Full Code Here

        for (int i = 0; i < o.length; i++) {
            if (!"type".equals(o[i].getLocalName())) {
                a[p++] = o[i];
            }
        }
        return new TagAttributes(a);
    }
View Full Code Here

  public PanelMenuGroupTagHandlerBase(ComponentConfig config) {
    super(config);
  }
 
  protected MetaRuleset createMetaRuleset(Class type) {
    TagAttributes attributes = this.tag.getAttributes();
    TagAttribute attribute = attributes.get("value");
    if (attribute != null && attributes.get("expanded") != null) {
      TagAttribute idAttribute = attributes.get("id");
      FacesContext facesContext = FacesContext.getCurrentInstance();
      facesContext.getExternalContext().log("expanded attribute has been already set for component with id: " +
          idAttribute != null ? idAttribute.getValue() : null +
          "[" + attribute.getValue() + "]. value attribute is deprecated and thus has been dropped!");
    }
View Full Code Here

TOP

Related Classes of com.sun.facelets.tag.TagAttributes

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.