org.zeroexchange.web.page
Class Layout

java.lang.Object
  extended by org.apache.wicket.Component
      extended by org.apache.wicket.MarkupContainer
          extended by org.apache.wicket.Page
              extended by org.apache.wicket.markup.html.WebPage
                  extended by org.zeroexchange.web.page.Layout
All Implemented Interfaces:
Serializable, Iterable<org.apache.wicket.Component>, org.apache.wicket.ajax.IAjaxIndicatorAware, org.apache.wicket.event.IEventSink, org.apache.wicket.event.IEventSource, org.apache.wicket.IConverterLocator, org.apache.wicket.IRedirectListener, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IHeaderContributor, org.apache.wicket.page.IManageablePage, org.apache.wicket.request.component.IRequestableComponent, org.apache.wicket.request.component.IRequestablePage, org.apache.wicket.util.IHierarchical<org.apache.wicket.Component>, org.apache.wicket.util.io.IClusterable, CommonStringKeys
Direct Known Subclasses:
About, AddUserCreditPage, DOJOLayout, EditSkill, Registration, RegistrationComplete, TabPage, UserSelection

public abstract class Layout
extends org.apache.wicket.markup.html.WebPage
implements CommonStringKeys, org.apache.wicket.ajax.IAjaxIndicatorAware

Base ZE page.

Author:
black
See Also:
Serialized Form

Field Summary
static String CSS_REFERENCE
           
 
Fields inherited from class org.apache.wicket.Component
ENABLE, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER
 
Fields inherited from interface org.zeroexchange.web.page.CommonStringKeys
MKEY_BACK, MKEY_UOM_PREFIX
 
Fields inherited from interface org.apache.wicket.IRedirectListener
INTERFACE
 
Constructor Summary
Layout()
          The default constructor.
Layout(org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
          The constructor accepts page parameters.
 
Method Summary
protected  boolean areBreadcrumbsVisible()
          Returns true if the breadcrumbs should be shown on the page.
protected  void forward(Class<? extends org.apache.wicket.Page> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters parameters)
          Goes the specified page and removes the current breadcrumb.
 String getAjaxIndicatorMarkupId()
           
protected  String getPageTitle()
          Returns page title if any.
protected  PageTarget getPreviousPage()
          Returns to the parameters of the previous 'breadcrumbed' page.
 String getVariation()
           
protected  void goBack()
          Sets 'Back' response page.
protected  void onBeforeRender()
           
protected  void reload()
          Reloads the page.
 void renderHead(org.apache.wicket.markup.head.IHeaderResponse response)
           
protected  void setBreadcrumbsVisible(boolean showBreadcrumbs)
           
 
Methods inherited from class org.apache.wicket.markup.html.WebPage
configureResponse, dirty, getMarkupType, homePageLink, onAfterRender, onRender, renderXmlDecl, setHeaders
 
Methods inherited from class org.apache.wicket.Page
componentChanged, componentRendered, detachModels, dirty, endComponentRender, getAutoIndex, getId, getPageClass, getPageId, getPageParameters, getPageReference, getRenderCount, getSizeInBytes, getStatelessHint, hierarchyAsString, internalOnModelChanged, internalPrepareForRender, isBookmarkable, isErrorPage, isPageStateless, onDetach, onRedirect, renderPage, setFreezePageId, setNumericId, setStatelessHint, setWasCreatedBookmarkable, startComponentRender, toString, wasCreatedBookmarkable, wasRendered
 
Methods inherited from class org.apache.wicket.MarkupContainer
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, visitChildren, visitChildren, visitChildren, visitChildren
 
Methods inherited from class org.apache.wicket.Component
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachModel, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getString, getString, getString, getStyle, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onComponentTag, onConfigure, onEvent, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.wicket.request.component.IRequestableComponent
detach, get, getBehaviorById, getBehaviorId, getPage, getPageRelativePath
 
Methods inherited from interface org.apache.wicket.page.IManageablePage
detach
 

Field Detail

CSS_REFERENCE

public static final String CSS_REFERENCE
See Also:
Constant Field Values
Constructor Detail

Layout

public Layout()
The default constructor.


Layout

public Layout(org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
The constructor accepts page parameters.

Method Detail

getAjaxIndicatorMarkupId

public String getAjaxIndicatorMarkupId()
Specified by:
getAjaxIndicatorMarkupId in interface org.apache.wicket.ajax.IAjaxIndicatorAware

onBeforeRender

protected void onBeforeRender()
Overrides:
onBeforeRender in class org.apache.wicket.Page

renderHead

public void renderHead(org.apache.wicket.markup.head.IHeaderResponse response)
Specified by:
renderHead in interface org.apache.wicket.markup.html.IHeaderContributor
Overrides:
renderHead in class org.apache.wicket.Component

getVariation

public String getVariation()
Overrides:
getVariation in class org.apache.wicket.Component

setBreadcrumbsVisible

protected void setBreadcrumbsVisible(boolean showBreadcrumbs)
Parameters:
showBreadcrumbs - the showBreadcrumbs to set

areBreadcrumbsVisible

protected boolean areBreadcrumbsVisible()
Returns true if the breadcrumbs should be shown on the page.


getPreviousPage

protected PageTarget getPreviousPage()
Returns to the parameters of the previous 'breadcrumbed' page.


reload

protected void reload()
Reloads the page.


goBack

protected void goBack()
Sets 'Back' response page.


forward

protected void forward(Class<? extends org.apache.wicket.Page> pageClass,
                       org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Goes the specified page and removes the current breadcrumb.


getPageTitle

protected String getPageTitle()
Returns page title if any.



Copyright © 2013. All Rights Reserved.