org.apache.wicket.markup.html
Class WebMarkupContainerWithAssociatedMarkup
java.lang.Object
org.apache.wicket.Component
org.apache.wicket.MarkupContainer
org.apache.wicket.markup.html.WebMarkupContainer
org.apache.wicket.markup.html.WebMarkupContainerWithAssociatedMarkup
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<Component>, IClusterable, IConverterLocator, IRequestableComponent
- Direct Known Subclasses:
- Border, Fragment, Panel
public class WebMarkupContainerWithAssociatedMarkup
- extends WebMarkupContainer
WebMarkupContainer with it's own markup and possibly tag.
- Author:
- Juergen Donnerstag
- See Also:
- Serialized Form
Fields inherited from class org.apache.wicket.Component |
ENABLE, FLAG_CONFIGURED, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PATH_SEPARATOR, RENDER |
Methods inherited from class org.apache.wicket.MarkupContainer |
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupStream, getMarkupType, hasAssociatedMarkup, internalAdd, iterator, iterator, onComponentTagBody, onMarkupAttached, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildren |
Methods inherited from class org.apache.wicket.Component |
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, isActionAuthorized, isAttached, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onDetach, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponent, renderComponentTag, rendered, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WebMarkupContainerWithAssociatedMarkup
public WebMarkupContainerWithAssociatedMarkup(java.lang.String id)
- See Also:
Component.Component(String)
WebMarkupContainerWithAssociatedMarkup
public WebMarkupContainerWithAssociatedMarkup(java.lang.String id,
IModel<?> model)
- See Also:
Component.Component(String, IModel)
renderHead
public void renderHead(HtmlHeaderContainer container)
- Description copied from class:
Component
- THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT USE IT.
Print to the web response what ever the component wants to contribute to the head section.
Make sure that all attached behaviors are asked as well.
NOT intended for overriding by framework clients. Rather, use
IHeaderContributor.renderHead(org.apache.wicket.markup.html.IHeaderResponse)
- Overrides:
renderHead
in class Component
- Parameters:
container
- The HtmlHeaderContainer- See Also:
Component.renderHead(org.apache.wicket.markup.html.internal.HtmlHeaderContainer)
renderHeadFromAssociatedMarkupFile
protected final void renderHeadFromAssociatedMarkupFile(HtmlHeaderContainer container)
- Called by components like Panel and Border which have associated Markup and which may have a
<wicket:head> tag.
Whereas 'this' might be a Panel or Border, the HtmlHeaderContainer parameter has been added
to the Page as a container for all headers any of its components might wish to contribute.
The headers contributed are rendered in the standard way.
- Parameters:
container
- The HtmlHeaderContainer added to the Page
findMarkupInAssociatedFileHeader
public IMarkupFragment findMarkupInAssociatedFileHeader(IMarkupFragment markup,
Component child)
- Search the child's markup in the header section of the markup
- Parameters:
markup
- child
-
- Returns:
- Null, if not found
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.