public class CustomContentEditorWrapper<CF extends ContentFacet> extends org.apache.wicket.markup.html.panel.Fragment implements ContentFacetEditor
ContentFacetEditor for ContentDetailsPageForm.onSubmit() and ContentDetailsPanel.createMainFacetEditor(org.apache.wicket.markup.html.list.ListItem<CF>, com.neurosys.template.model.FacetMeta, org.apache.wicket.markup.html.WebMarkupContainer),
that ensures we can use any Component wrapped by this for use as a Text-Editor.
ContentFacet
as a data model, this wrapper ensures that (or simply ensure the custom editorPanel implements ContentFacetEditor).
| Constructor and Description |
|---|
CustomContentEditorWrapper(String id,
org.apache.wicket.model.IModel<CF> model,
org.apache.wicket.markup.html.WebMarkupContainer container,
org.apache.wicket.Component customEditor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEditorModelValue()
Extract the model value as String from the wrapped Editor.
|
chooseMarkupStream, findComponentIndex, getAssociatedMarkupStream, getMarkupProvider, hasAssociatedMarkup, onComponentTag, onComponentTagBody, setMarkupTagReferenceIdnewHeaderPartContainer, renderHeadFromAssociatedMarkupFilegetMarkupType, getWebPage, getWebRequestadd, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getMarkupStream, 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, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, 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 String getEditorModelValue()
getEditorModelValue in interface ContentFacetEditorCopyright © 2018. All rights reserved.