public abstract class FrontendPage
extends org.apache.wicket.markup.html.WebPage
Modifier and Type | Field and Description |
---|---|
protected DaoLookupFactory |
daoLookupFactory |
static int |
ITEMS_PER_PAGE |
static int |
MAX_LIST_COLUMN_TEXT_LENGTH |
Constructor and Description |
---|
FrontendPage(String pageCrumbs,
String pageTitle) |
Modifier and Type | Method and Description |
---|---|
protected void |
addHelpWindow(org.apache.wicket.markup.html.panel.Panel content)
Registers the given panel as a help window with the represented page
with default window and link component names.
|
protected void |
addHelpWindow(String compName,
String linkCompName,
org.apache.wicket.markup.html.panel.Panel content)
Registers the given panel as a help window to the represented page.
|
protected <T extends Comparable<T> & Serializable> |
createBoundedTextfield(String compName,
T min,
T max)
Creates a textfield with range validator (if min and max are both provided)
or minimum/maximum validator (if one value is provided)
|
protected org.apache.wicket.markup.html.form.CheckBox |
createCheckbox(String componentName) |
protected TransformationContext |
createContext() |
protected <EnumBO extends EntityWithSurrogateKey> |
createEnumSelectbox(DaoForEntityWithSurrogateKey<EnumBO> dao,
String componentName)
Creates a mandatory select-box form component for an SQL-table based
enumeration.
|
protected <EnumBO extends EntityWithSurrogateKey> |
createEnumSelectbox(DaoForEntityWithSurrogateKey<EnumBO> dao,
String componentName,
boolean required)
Creates a select-box form component for an SQL-table based enumeration.
|
protected <EnumBO extends EntityWithSurrogateKey> |
createEnumSelectbox(org.apache.wicket.model.IModel<List<EnumBO>> choices,
String componentName,
boolean required)
Creates a select-box form component for an SQL-table based enumeration.
|
protected org.apache.wicket.markup.html.form.TextField<String> |
createIRITextfield(String componentName)
Creates a mandatory text field component which accepts only IRIs.
|
protected org.apache.wicket.markup.html.form.TextField<String> |
createIRITextfield(String componentName,
boolean required)
Creates a text field component which accepts only IRIs.
|
protected <T extends Comparable<T> & Serializable> |
createMaximumTextfield(String compName,
T max) |
protected <T extends Comparable<T> & Serializable> |
createMinimumTextfield(String compName,
T min) |
protected <BO extends EntityWithSurrogateKey> |
createModelForListView(DaoForEntityWithSurrogateKey<BO> dao)
Returns a loadable-detachable model for a list of entities determined
by the given dao - to be used as choices in select boxes.
|
protected <BO extends EntityWithSurrogateKey> |
createModelForOverview(DaoForEntityWithSurrogateKey<BO> dao,
Integer boId)
Returns a loadable-detachable model for a single entity determined by
the given dao and id.
|
protected org.apache.wicket.markup.html.basic.Label |
createNullResistentTableCellLabel(String compName,
Object value)
Creates a label component to be used in table cells (contains
when given a null value).
|
protected RegexField |
createRegexTextfield(String componentName) |
protected RegexField |
createRegexTextfield(String componentName,
boolean required) |
protected ReplacementField |
createReplacementTextfield(String componentName,
RegexField pattern) |
protected ReplacementField |
createReplacementTextfield(String componentName,
RegexField pattern,
boolean required) |
protected org.apache.wicket.markup.html.form.TextArea<String> |
createTextarea(String componentName)
Creates a mandatory text area component.
|
protected org.apache.wicket.markup.html.form.TextArea<String> |
createTextarea(String componentName,
boolean required)
Creates a text area component.
|
protected org.apache.wicket.markup.html.form.TextField<String> |
createTextfield(String componentName)
Creates a mandatory text field component.
|
protected org.apache.wicket.markup.html.form.TextField<String> |
createTextfield(String componentName,
boolean required)
Creates a text field component.
|
protected ODCSWebFrontendApplication |
getApp() |
protected ODCSWebFrontendSession |
getODCSSession() |
configureResponse, dirty, getMarkupType, homePageLink, onAfterRender, onRender, renderXmlDecl, setHeaders
componentChanged, componentRendered, detachModels, dirty, endComponentRender, getAutoIndex, getId, getPageClass, getPageId, getPageParameters, getPageReference, getRenderCount, getSizeInBytes, getStatelessHint, hierarchyAsString, internalOnModelChanged, internalPrepareForRender, isBookmarkable, isErrorPage, isPageStateless, onBeforeRender, onDetach, onRedirect, renderPage, setFreezePageId, setNumericId, setStatelessHint, setWasCreatedBookmarkable, startComponentRender, toString, wasCreatedBookmarkable, wasRendered
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, hasAssociatedMarkup, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onMarkupAttached, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, 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, getFeedbackMessage, 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, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onComponentTag, onConfigure, onEvent, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, 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, urlFor, urlFor, visitParents, warn, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final int MAX_LIST_COLUMN_TEXT_LENGTH
public static final int ITEMS_PER_PAGE
protected final DaoLookupFactory daoLookupFactory
protected ODCSWebFrontendApplication getApp()
protected ODCSWebFrontendSession getODCSSession()
protected TransformationContext createContext()
protected <EnumBO extends EntityWithSurrogateKey> org.apache.wicket.markup.html.form.DropDownChoice<EnumBO> createEnumSelectbox(org.apache.wicket.model.IModel<List<EnumBO>> choices, String componentName, boolean required)
choices
- componentName
- required
- protected <EnumBO extends EntityWithSurrogateKey> org.apache.wicket.markup.html.form.DropDownChoice<EnumBO> createEnumSelectbox(DaoForEntityWithSurrogateKey<EnumBO> dao, String componentName)
dao
- componentName
- protected <EnumBO extends EntityWithSurrogateKey> org.apache.wicket.markup.html.form.DropDownChoice<EnumBO> createEnumSelectbox(DaoForEntityWithSurrogateKey<EnumBO> dao, String componentName, boolean required)
dao
- componentName
- protected org.apache.wicket.markup.html.form.TextField<String> createTextfield(String componentName, boolean required)
componentName
- required
- protected org.apache.wicket.markup.html.form.TextField<String> createTextfield(String componentName)
componentName
- protected org.apache.wicket.markup.html.form.TextField<String> createIRITextfield(String componentName, boolean required)
componentName
- required
- protected org.apache.wicket.markup.html.form.TextField<String> createIRITextfield(String componentName)
componentName
- protected RegexField createRegexTextfield(String componentName, boolean required)
componentName
- required
- protected RegexField createRegexTextfield(String componentName)
componentName
- protected ReplacementField createReplacementTextfield(String componentName, RegexField pattern, boolean required)
componentName
- required
- protected ReplacementField createReplacementTextfield(String componentName, RegexField pattern)
componentName
- protected org.apache.wicket.markup.html.form.CheckBox createCheckbox(String componentName)
componentName
- protected org.apache.wicket.markup.html.form.TextArea<String> createTextarea(String componentName, boolean required)
componentName
- required
- protected org.apache.wicket.markup.html.form.TextArea<String> createTextarea(String componentName)
componentName
- protected org.apache.wicket.markup.html.basic.Label createNullResistentTableCellLabel(String compName, Object value)
compName
- value
- content of the labelprotected <T extends Comparable<T> & Serializable> org.apache.wicket.markup.html.form.TextField<String> createBoundedTextfield(String compName, T min, T max)
protected <T extends Comparable<T> & Serializable> org.apache.wicket.markup.html.form.TextField<String> createMinimumTextfield(String compName, T min)
protected <T extends Comparable<T> & Serializable> org.apache.wicket.markup.html.form.TextField<String> createMaximumTextfield(String compName, T max)
protected void addHelpWindow(org.apache.wicket.markup.html.panel.Panel content)
content
- protected void addHelpWindow(String compName, String linkCompName, org.apache.wicket.markup.html.panel.Panel content)
compName
- the name of the window componentlinkCompName
- the name of the component which forms a link to open
the windowcontent
- protected <BO extends EntityWithSurrogateKey> org.apache.wicket.model.IModel<List<BO>> createModelForListView(DaoForEntityWithSurrogateKey<BO> dao)
dao
- protected <BO extends EntityWithSurrogateKey> org.apache.wicket.model.IModel<BO> createModelForOverview(DaoForEntityWithSurrogateKey<BO> dao, Integer boId)
dao
- boId
- Copyright © 2013. All Rights Reserved.