|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.Component
org.apache.wicket.markup.html.WebComponent
org.apache.wicket.markup.html.basic.Label
com.pmease.quickbuild.plugin.report.engine.web.feedback.FeedbackLabel
public class FeedbackLabel
Field Summary |
---|
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 |
Constructor Summary | |
---|---|
FeedbackLabel(java.lang.String id,
org.apache.wicket.markup.html.form.FormComponent<?> component)
Call this constructor if you just want to display the FeedbackMessage of the component |
|
FeedbackLabel(java.lang.String id,
org.apache.wicket.markup.html.form.FormComponent<?> component,
org.apache.wicket.model.IModel<java.lang.String> iModel)
Call this constructor if you want to display a custom model (for easy i18n) |
|
FeedbackLabel(java.lang.String id,
org.apache.wicket.markup.html.form.FormComponent<?> component,
java.lang.String text)
Call this constructor if you want to display a custom text |
Method Summary | |
---|---|
protected void |
onBeforeRender()
Set the content of this FeedbackLabel, depending on if the component has a FeedbackMessage. |
Methods inherited from class org.apache.wicket.markup.html.basic.Label |
---|
onComponentTag, onComponentTagBody |
Methods inherited from class org.apache.wicket.markup.html.WebComponent |
---|
onRender |
Methods inherited from class org.apache.wicket.Component |
---|
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, get, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFeedbackMessages, getFlag, getId, 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, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalInitialize, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onAfterRenderChildren, onConfigure, onDetach, onEvent, onInitialize, onMarkupAttached, onModelChanged, onModelChanging, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModel, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, toString, toString, 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 FeedbackLabel(java.lang.String id, org.apache.wicket.markup.html.form.FormComponent<?> component)
id
- The non-null id of this componentcomponent
- The FormComponent
to show the FeedbackMessage for.public FeedbackLabel(java.lang.String id, org.apache.wicket.markup.html.form.FormComponent<?> component, java.lang.String text)
id
- The non-null id of this componentcomponent
- The FormComponent
to show the custom text for.text
- The custom text to show when the FormComponent has a
FeedbackMessagepublic FeedbackLabel(java.lang.String id, org.apache.wicket.markup.html.form.FormComponent<?> component, org.apache.wicket.model.IModel<java.lang.String> iModel)
id
- The non-null id of this componentcomponent
- The FormComponent
to show the custom model for.iModel
- The custom model to show when the FormComponent
has a
FeedbackMessageMethod Detail |
---|
protected void onBeforeRender()
onBeforeRender
in class org.apache.wicket.Component
Component
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |