|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.Component
wicket.MarkupContainer
wicket.markup.html.WebMarkupContainer
wicket.markup.html.BodyOnLoadContainer
Handle <body> tags. The reason why this is a component is because of JavaScript and CSS support which requires to append body onload attributes from child component markup to the page's body tag.
| Nested Class Summary |
| Nested classes inherited from class wicket.Component |
Component.ComponentModelChange, Component.IVisitor, Component.VisibilityChange |
| Field Summary |
| Fields inherited from class wicket.Component |
FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4 |
| Constructor Summary | |
BodyOnLoadContainer(java.lang.String id)
Constructor used by BodyOnLoadContainer. |
|
| Method Summary | |
protected void |
onComponentTag(ComponentTag tag)
If parent is WebPage append onload attribute values from all components in the hierarchie with onload attribute in there own markup. |
boolean |
resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
BodyOnLoadContainer has been autoAdded, it has been injected similiar to an AOP interceptor. |
| Methods inherited from class wicket.markup.html.WebMarkupContainer |
getMarkupType, onRender, renderHead |
| Methods inherited from class wicket.MarkupContainer |
add, autoAdd, contains, findMarkupStream, get, getAssociatedMarkupStream, getMarkupStream, internalAdd, internalBeginRequest, internalEndRequest, iterator, iterator, onComponentTagBody, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, replace, setMarkupStream, setModel, size, toString, toString, visitChildren, visitChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BodyOnLoadContainer(java.lang.String id)
id - Componen id| Method Detail |
protected void onComponentTag(ComponentTag tag)
onComponentTag in class Componenttag - Tag to modifyComponent.onComponentTag(wicket.markup.ComponentTag)
public boolean resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
resolve in interface IComponentResolvercontainer - The container parsing its markupmarkupStream - The current markupStreamtag - The current component tag while parsing the markup
IComponentResolver.resolve(wicket.MarkupContainer, wicket.markup.MarkupStream, wicket.markup.ComponentTag)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||