public abstract class AbstractFieldInstancePanel
extends org.apache.wicket.markup.html.panel.Panel
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractFieldInstancePanel.AbstractFieldInstanceMessage<T> |
protected class |
AbstractFieldInstancePanel.AbstractFieldInstancePanelFeedbackMessageFilter |
protected class |
AbstractFieldInstancePanel.FieldUpdatingBehaviour |
Modifier and Type | Field and Description |
---|---|
protected org.apache.wicket.markup.html.panel.FeedbackPanel |
feedbackPanel |
protected org.apache.wicket.markup.html.WebMarkupContainer |
fieldInstanceButtons |
protected FieldInstanceModel |
fieldInstanceModel |
protected org.apache.wicket.markup.html.WebMarkupContainer |
fieldValuesContainer |
protected FieldValuesModel |
fieldValuesModel |
protected org.apache.wicket.markup.html.list.ListView<FieldValueModel> |
listView |
Constructor and Description |
---|
AbstractFieldInstancePanel(String id,
FieldInstanceModel fieldInstanceModel) |
Modifier and Type | Method and Description |
---|---|
protected void |
addNewFieldValueCssClass(org.apache.wicket.markup.html.WebMarkupContainer component,
FieldValuesModel fieldValuesModel,
FieldValueModel fieldValueModel) |
static Serializable |
createErrorMessage(FieldInstanceModel fieldInstanceModel,
org.apache.wicket.model.IModel<String> message) |
static Serializable |
createErrorMessage(FieldInstanceModel fieldInstanceModel,
Throwable t) |
protected static String |
createIdentifier(FieldInstanceModel fieldInstanceModel) |
FieldInstanceModel |
getFieldInstanceModel() |
FieldValuesModel |
getFieldValuesModel() |
protected boolean |
matchesThisField(AbstractFieldInstancePanel.AbstractFieldInstanceMessage<?> fim) |
protected void |
onDetach() |
void |
onError(org.apache.wicket.ajax.AjaxRequestTarget target,
RuntimeException e) |
void |
onUpdate(org.apache.wicket.ajax.AjaxRequestTarget target) |
protected void |
updateDependentComponents(org.apache.wicket.ajax.AjaxRequestTarget target)
Update any dependent components as the value of the field
instance panel has changed.
|
protected void |
validateCardinality() |
onComponentTag, onComponentTagBody, renderHead
newHeaderPartContainer, renderHeadFromAssociatedMarkupFile
getMarkupType, getWebPage, getWebRequest
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildren
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, onBeforeRender, onBeginRequest, onEndRequest, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, 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
protected FieldInstanceModel fieldInstanceModel
protected FieldValuesModel fieldValuesModel
protected org.apache.wicket.markup.html.WebMarkupContainer fieldValuesContainer
protected org.apache.wicket.markup.html.WebMarkupContainer fieldInstanceButtons
protected org.apache.wicket.markup.html.list.ListView<FieldValueModel> listView
protected org.apache.wicket.markup.html.panel.FeedbackPanel feedbackPanel
public AbstractFieldInstancePanel(String id, FieldInstanceModel fieldInstanceModel)
public FieldInstanceModel getFieldInstanceModel()
public FieldValuesModel getFieldValuesModel()
protected void updateDependentComponents(org.apache.wicket.ajax.AjaxRequestTarget target)
public void onUpdate(org.apache.wicket.ajax.AjaxRequestTarget target)
public void onError(org.apache.wicket.ajax.AjaxRequestTarget target, RuntimeException e)
protected void addNewFieldValueCssClass(org.apache.wicket.markup.html.WebMarkupContainer component, FieldValuesModel fieldValuesModel, FieldValueModel fieldValueModel)
protected void onDetach()
onDetach
in class org.apache.wicket.Component
protected void validateCardinality()
protected boolean matchesThisField(AbstractFieldInstancePanel.AbstractFieldInstanceMessage<?> fim)
protected static String createIdentifier(FieldInstanceModel fieldInstanceModel)
public static Serializable createErrorMessage(FieldInstanceModel fieldInstanceModel, org.apache.wicket.model.IModel<String> message)
public static Serializable createErrorMessage(FieldInstanceModel fieldInstanceModel, Throwable t)