Class YuiId

  • All Implemented Interfaces:
    Serializable

    public class YuiId
    extends Object
    implements Serializable
    The YuiId allows for transparent element id resolution, without having to worry about id clashes on the client. The idea is really simple. A YuiId consists of an id value, and an optional parentId value. If the parentId is set, the YuiId will return an elementId like 'parentId:id', else it will only return the local id. The id value corresponds to an element in a Component's html file through the attribute yui:id, the parent id is a normal id-attribute, normally generated by Wicket and added to the YuiId once it's known. The YAHOO.hippo.LayoutManager module uses YAHOO.hippo.Dom.resolveElement(id) to resolve elements by their YuiId. For more info see: hippo-ecm-addon-yui/src/main/java/org/hippoecm/frontend/plugins/yui/inc/hippo/2.7.0/hippodom/hippodom.js
    See Also:
    Serialized Form
    • Constructor Detail

      • YuiId

        public YuiId​(String id)
    • Method Detail

      • getElementId

        public String getElementId()
      • setId

        public void setId​(String id)
      • getId

        public String getId()
      • getParentId

        public String getParentId()
      • setParentId

        public void setParentId​(String parentId)