Class PortalSettingsNavigationComponent
- java.lang.Object
-
- org.apache.wicket.Component
-
- org.apache.wicket.markup.html.WebComponent
-
- lumis.portal.presentation.core.HTMLFragmentComponent
-
- lumis.portal.presentation.mode.portaladministration.PortalSettingsNavigationComponent
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.IClusterable
,org.apache.wicket.IConverterLocator
public class PortalSettingsNavigationComponent extends HTMLFragmentComponent
Component that generates the Portal settings navigation menu- Since:
- 7.1.0
- Version:
- $Revision: 17606 $ $Date: 2015-07-24 10:56:40 -0300 (Fri, 24 Jul 2015) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PortalSettingsNavigationComponent(String id, boolean autoRenderBodyOnly)
Creates a new RenderPortalAdministrationFooterComponent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CharSequence
getHTMLFragment(org.apache.wicket.markup.MarkupStream markupStream, org.apache.wicket.markup.ComponentTag openTag)
Returns the HTML code fragment to be output by this component.protected boolean
isChannelInPath(String channelId, PageConfig pageConfig, List<String> parentChannelIds)
protected org.apache.wicket.util.string.AppendingStringBuffer
renderAdministrationMenu(LayoutFilePage page, ChannelConfig curChannel, int iLevel, boolean isLast, ITransaction transaction)
-
Methods inherited from class lumis.portal.presentation.core.HTMLFragmentComponent
onComponentTag, onComponentTagBody
-
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, findMarkupStream, 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, onBeforeRender, 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, setDefaultModel, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMarkupStream, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, toString, toString, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap
-
-
-
-
Constructor Detail
-
PortalSettingsNavigationComponent
public PortalSettingsNavigationComponent(String id, boolean autoRenderBodyOnly)
Creates a new RenderPortalAdministrationFooterComponent.- Parameters:
id
- the component identifier.autoRenderBodyOnly
- ifComponent.setRenderBodyOnly(boolean)
should automatically be set in case of layout file tags are to be stripped.- Since:
- 7.1.0
-
-
Method Detail
-
getHTMLFragment
protected CharSequence getHTMLFragment(org.apache.wicket.markup.MarkupStream markupStream, org.apache.wicket.markup.ComponentTag openTag)
Description copied from class:HTMLFragmentComponent
Returns the HTML code fragment to be output by this component. Called duringHTMLFragmentComponent.onComponentTagBody(MarkupStream, ComponentTag)
.A return type of
AppendingStringBuffer
prevents the allocation of another HTML fragment string instance.- Specified by:
getHTMLFragment
in classHTMLFragmentComponent
- Parameters:
markupStream
- the markup stream.openTag
- the open tag for the body.- Returns:
- the HTML code fragment. A
null
return value will leave the body empty.
-
renderAdministrationMenu
protected org.apache.wicket.util.string.AppendingStringBuffer renderAdministrationMenu(LayoutFilePage page, ChannelConfig curChannel, int iLevel, boolean isLast, ITransaction transaction) throws PortalException
- Throws:
PortalException
-
isChannelInPath
protected boolean isChannelInPath(String channelId, PageConfig pageConfig, List<String> parentChannelIds)
-
-