public class DynamicConfigPanel<C extends AbstractConfiguration> extends AdminPanel
AbstractConfiguration
TextArea type by using EntityTemplate with the name matching ConfigurationService.keyGen(String, String)-ValueTypeadminConfiguration| Constructor and Description |
|---|
DynamicConfigPanel(String id) |
DynamicConfigPanel(String id,
org.apache.wicket.model.IModel<C> model) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.wicket.Component |
getCustomField(String componentId,
C config,
MetaItem meta,
org.apache.wicket.model.IModel model,
org.apache.wicket.MarkupContainer container)
Determine any Value type field override in configs.
|
protected MetaItem |
getCustomFieldMeta(C config)
Get the
MetaItem that will back the custom component to be rendered |
protected void |
onAjaxUpdateRefresh(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.markup.html.form.Form<?> form)
A callback hook for this component to update any components that maybe in the calling component
|
void |
onInitialize() |
getConfigProperty, getModuleForPage, headerMeta, renderHeadonComponentTag, onComponentTagBody, renderHeadnewHeaderPartContainer, renderHeadFromAssociatedMarkupFilegetMarkupType, getWebPage, getWebRequestadd, 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, visitChildrenadd, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, 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, onConfigure, onDetach, 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, wrappublic DynamicConfigPanel(String id)
protected void onAjaxUpdateRefresh(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.markup.html.form.Form<?> form)
protected org.apache.wicket.Component getCustomField(String componentId, C config, MetaItem meta, org.apache.wicket.model.IModel model, org.apache.wicket.MarkupContainer container)
componentId - as Stringconfig - as Cmeta - as MetaItem that defines the custom Component to be generatedmodel - as IModel that binds the Component Model to the calling form model.container - as MarkupContainerComponent @nullable trueprotected MetaItem getCustomFieldMeta(C config)
MetaItem that will back the custom component to be renderedconfig - as Cpublic void onInitialize()
onInitialize in class org.apache.wicket.ComponentCopyright © 2018. All rights reserved.