Class YuiId
java.lang.Object
org.hippoecm.frontend.plugins.yui.layout.YuiId
- All Implemented Interfaces:
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:
-
Constructor Summary
-
Method Summary