|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.Component org.apache.wicket.MarkupContainer org.apache.wicket.markup.html.WebMarkupContainer lumis.portal.presentation.tag.page.RenderHolderComponent
public class RenderHolderComponent
Component used to mark a interface holder in a layout file. It will render the interfaces in the corresponding holder.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.wicket.Component |
---|
org.apache.wicket.Component.ComponentModelChange, org.apache.wicket.Component.EnabledChange, org.apache.wicket.Component.IVisitor<T extends org.apache.wicket.Component>, org.apache.wicket.Component.VisibilityChange |
Field Summary |
---|
Fields inherited from class org.apache.wicket.Component |
---|
ENABLE, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED6, FLAG_RESERVED7, FLAG_RESERVED8, PATH_SEPARATOR, RENDER |
Constructor Summary | |
---|---|
RenderHolderComponent(String id,
String holderId,
boolean hasRenderInterfaceChild)
Creates a new RenderHolderComponent . |
Method Summary | |
---|---|
void |
addServiceInterfaceInstance(String interfaceInstanceId)
Adds a interface instance in this holder. |
String |
getHolderId()
Returns the identifier of the holder rendered by this component. |
List<String> |
getServiceInterfaceInstanceIds()
Returns the list of identifiers of service interface instances in this holder. |
boolean |
insertServiceInterfaceInstance(String iiToInsert,
String sibling,
boolean before)
Inserts a service interface instance in this holder. |
protected void |
onBeforeRender()
|
protected void |
onComponentTag(org.apache.wicket.markup.ComponentTag tag)
|
boolean |
removeServiceInterfaceInstance(String serviceInterfaceInstanceId)
Removes a service interface instance from this holder. |
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer |
---|
getMarkupType, getWebPage, getWebRequest |
Methods inherited from class org.apache.wicket.MarkupContainer |
---|
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildren |
Methods inherited from class org.apache.wicket.Component |
---|
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, 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, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeginRequest, onDetach, onEndRequest, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, 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 |
Constructor Detail |
---|
public RenderHolderComponent(String id, String holderId, boolean hasRenderInterfaceChild)
RenderHolderComponent
.
id
- the component identifier.holderId
- the identifier of the holder to be rendered.hasRenderInterfaceChild
- indicates if this component has a
'interface' child in the markup.Method Detail |
---|
protected void onBeforeRender()
onBeforeRender
in class org.apache.wicket.Component
protected void onComponentTag(org.apache.wicket.markup.ComponentTag tag)
onComponentTag
in class org.apache.wicket.Component
public boolean removeServiceInterfaceInstance(String serviceInterfaceInstanceId)
serviceInterfaceInstanceId
- the service interface instance identifier.
true
if the service interface instance was removed,
false
if it is not in this holder.public boolean insertServiceInterfaceInstance(String iiToInsert, String sibling, boolean before)
iiToInsert
- the identifier of the service interface instance to
be inserted.sibling
- the identifier of the service interface instance that
the will be used to find the place to insert the iiToInsert
.before
- true
to insert before sibling
,
false
to insert after it.
true
if the service interface instance was inserted,
false
if sibling
is not in this holder.public void addServiceInterfaceInstance(String interfaceInstanceId)
interfaceInstanceId
- the interface instance identifier.public List<String> getServiceInterfaceInstanceIds()
public String getHolderId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |