Class BasePanel<T>
- java.lang.Object
-
- org.apache.wicket.Component
-
- org.apache.wicket.MarkupContainer
-
- org.apache.wicket.markup.html.WebMarkupContainer
-
- org.apache.wicket.markup.html.panel.Panel
-
- com.evolveum.midpoint.gui.api.component.BasePanel<T>
-
- All Implemented Interfaces:
Serializable
,Iterable<org.apache.wicket.Component>
,org.apache.wicket.event.IEventSink
,org.apache.wicket.event.IEventSource
,org.apache.wicket.feedback.IFeedbackContributor
,org.apache.wicket.IConverterLocator
,org.apache.wicket.IMetadataContext<Serializable,org.apache.wicket.Component>
,org.apache.wicket.IQueueRegion
,org.apache.wicket.markup.html.IHeaderContributor
,org.apache.wicket.request.component.IRequestableComponent
,org.apache.wicket.util.IHierarchical<org.apache.wicket.Component>
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
AbstractAssignmentListPanel
,AbstractItemWrapperColumnPanel
,AbstractOrgTabPanel
,AbstractPopupTabPanel
,AbstractSearchConfigurationPanel
,AbstractSearchItemPanel
,AbstractSummaryPanel
,AbstractTreeTablePanel
,AbstractWizardBasicPanel
,AbstractWizardPanel
,ACAttributePanel
,ACAttributeValuePanel
,AceEditorFormGroup
,AceEditorPanel
,ActivitiesItemProcessingPanel
,ApplicablePolicyConfigPanel
,ApplicablePolicyGroupPanel
,ApprovalProcessesPreviewPanel
,ApprovalProcessExecutionInformationPanel
,ApprovalProcessExecutionInformationPanelTextOnly
,AssignmentConflictPanel
,AssignmentConstructionPanel
,AssignmentEditorPanel
,AssignmentHeaderPanel
,AssignmentPathPanel
,AssignmentPopup
,AssignmentsInfoDialog
,AssociationExpressionValuePanel
,AsyncUpdatePanel
,AuthenticationInfoPanel
,AutoRefreshPanel
,AxiomSearchPanel
,BadgeListPanel
,BadgePanel
,BasePageAwarePanel
,BasicSearchPanel
,BasicSearchPanel
,BoxedTablePanel
,CapabilitiesPanel
,CapabilitiesPanel
,CapabilityActivationPanel
,CapabilityCredentialsPanel
,CapabilityScriptPanel
,CapabilityValuePanel
,CaptchaPanel
,CardOutlineLeftPanel
,CartSummaryPanel
,CaseWorkItemActionsPanel
,CaseWorkItemsTableWithDetailsPanel
,CatalogItemDetailsPanel
,ChangePasswordPanel
,ChangesPanel
,CheckFormGroup
,ChooseFocusTypeAndRelationDialogPanel
,ChooseMemberPopup
,ChooseRelationPanel
,ChooseTypePanel
,ColumnResultPanel
,CompositedButtonPanel
,CompositedIconPanel
,ConditionalSearchFilterEditor
,ConfirmationPanel
,ConflictSolverPanel
,ConstructionAssociationPanel
,ContactOrgUnitPanel
,ContainerableListPanel
,ContainersDropDownPanel
,ContainerValuePanel
,CountIconPanel
,CreateResourceTemplatePanel
,CreateTemplatePanel
,CsvDownloadButtonPanel
,CustomContainerPanel
,CustomValidityPanel
,DashboardPanel
,DashboardSearchPanel
,DateFormGroup
,DateRangePicker
,DebugButtonPanel
,DecisionsPanel
,DefaultContainerablePanel
,DefinitionBasicPanel
,DefinitionScopePanel
,DefinitionStagePanel
,DefinitionStagesPanel
,DefinitionXmlPanel
,DeltaPanel
,DetailsNavigationPanel
,DetailsTablePanel
,DisplayNamePanel
,DoubleButtonPanel
,DownloadButtonPanel
,DropdownButtonPanel
,DropDownFormGroup
,DynamicFieldGroupPanel
,DynamicFormPanel
,ErrorPanel
,EvaluatedTriggerGroupListPanel
,EvaluatedTriggerGroupPanel
,EvaluatedTriggerPanel
,EvaluatorExpressionPanel
,ExecuteChangeOptionsPanel
,ExecuteChangeOptionsPanel
,ExportingPanel
,ExpressionEditorPanel
,ExpressionPanel
,ExpressionTypeSelectPopup
,FocusTilePanel
,FulltextSearchPanel
,GenericMultiValueLabelEditPanel
,ImagePanel
,ImportOptionsPanel
,ImportReportPopupPanel
,InfoBox
,InformationListPanel
,InformationPanel
,InternalsCachePanel
,InternalsClockPanel
,InternalsConfigPanel
,InternalsCountersPanel
,InternalsDebugUtilPanel
,InternalsLoggedInUsersPanel
,InternalsMemoryPanel
,InternalsPerformancePanel
,InternalsThreadsPanel
,InternalsTracesPanel
,ItemHeaderPanel
,ItemPanel
,ItemPathPanel
,ItemPathSegmentPanel
,ItemRefinedPanel
,LabelWithCheck
,LabelWithHelpPanel
,LeftMenuPanel
,LinkedReferencePanel
,ListContainersPopup
,ListGroupMenuItemPanel
,ListGroupMenuPanel
,ListMappingPanel
,LivesyncTokenEditorPanel
,LocalePanel
,LocalesDropDownMenu
,MainMenuPanel
,MappingColumnPanel
,MenuItemLinkPanel
,MenuLinkPanel
,MergeObjectDetailsPanel
,MergeObjectsPanel
,MessagePanel
,MetadataPanel
,ModelOperationStatusPanel
,ModificationsPanel
,MultiButtonPanel
,MultiCompositedButtonPanel
,MultifunctionalButton
,MultiStateHorizontalButton
,MultiValueAutoCompleteTextPanel
,MultiValueChoosePanel
,MultivalueContainerDetailsPanel
,MultiValueDropDownPanel
,MultiValueObjectChoosePanel
,MultiValueTextEditPanel
,MultiValueTextFormGroup
,MultiValueTextPanel
,MyAccountsPanel
,MyAssignmentsPanel
,MyTreeColumnPanel
,NavigationPanel
,NewObjectCreationPopup
,NotificationConfigTabPanel
,ObjectBasicPanel
,ObjectBrowserPanel
,ObjectReferenceColumnPanel
,ObjectTypeSelectPanel
,OperationalButtonsPanel
,OperationResultPanel
,OrgTreeAssignablePanel
,OrgTreeFolderContent
,PagingSizePanel
,PasswordLimitationsPanel
,PasswordPolicyValidationPanel
,PendingOperationPanel
,PersonalInfoPanel
,PopoverSearchPanel
,PopoverSearchPopupPanel
,PreviewChangesTabPanel
,PrismObjectValuePanel
,PrismValueMetadataPanel
,PrismValuePanel
,ProcessInstancesPanel
,ProgressBarPanel
,ProgressPanel
,ProgressPanel
,ProvenanceAcquisitionHeaderPanel
,QNameEditorPanel
,RelationDropDownChoicePanel
,RelationsPanel
,ResourceActivationEditor
,ResourceAssociationEditor
,ResourceAttributeEditor
,ResourceContentPanel
,ResourceCredentialsEditor
,ResourceDependencyEditor
,ResourceIterationEditor
,ResourceProtectedEditor
,ResourceTilePanel
,RoleOfTeammateMenuPanel
,RoundedIconPanel
,RoundedImagePanel
,RunReportPopupPanel
,SaveSearchPanel
,SchemaListPanel
,SearchButtonWithDropdownMenu
,SearchFilterConfigurationPanel
,SearchFilterPanel
,SearchPanel
,SecurityQuestionsPanel
,SelectableItemListPopoverPanel
,SelfConsentPanel
,ShadowPanel
,ShoppingCartEditPanel
,SideBarMenuPanel
,SimpleErrorPanel
,SimplePanel
,SimplePopupable
,SimpleRoleSelector
,SimpleVisualizationPanel
,SingleButtonPanel
,SingleContainerPanel
,SingleContainerPopupPanel
,SmallBox
,StageEditorPanel
,StatisticDashboardWidget
,StatisticsPanel
,StringLimitationPanel
,StyledPanel
,SwitchableApprovalProcessPreviewsPanel
,SwitchablePropertyValuePanel
,SynchronizationExpressionEditor
,SynchronizationReactionEditor
,SynchronizationSituationTransitionPanel
,SystemInfoPanel
,TestConnectionMessagesPanel
,TestConnectionResultPanel
,TextAreaFormGroup
,TextFormGroup
,ThreeStateBooleanPanel
,TilePanel
,TileTablePanel
,TitleWithMarks
,TogglePanel
,ToggleSimulationModePanel
,TreeTablePanel
,TriStateFormGroup
,TwoStateBooleanPanel
,TypedAssignablePanel
,ValueChoosePanel
,VariableBindingDefinitionTypePanel
,VerticalFormPanel
,VisualizationItemLinePanel
,VisualizationItemsPanel
,VisualizationItemValuePanel
,VisualizationPanel
,WidgetPanel
,WidgetTableHeader
,Wizard
,WizardHeaderStepPanel
,WizardIssuesPanel
,WizardPanel
,WizardStepPanel
,WizardSteps
,WorkItemDetailsPanel
,XmlEditorPanel
,XmlSearchPanel
public class BasePanel<T> extends org.apache.wicket.markup.html.panel.Panel
Base class for most midPoint GUI panels. It has a constructor and utility methods for convenient handling of the model. It also has other utility methods often used in reusable components.Almost all reusable components should extend this class.
- Author:
- lazyman, semancik
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
createComponentPath(String... components)
org.apache.wicket.model.IModel<T>
createModel()
org.apache.wicket.model.StringResourceModel
createStringResource(PolyString polystringKey, Object... objects)
org.apache.wicket.model.StringResourceModel
createStringResource(PolyStringType polystringKey, Object... objects)
org.apache.wicket.model.StringResourceModel
createStringResource(Enum<?> e)
org.apache.wicket.model.StringResourceModel
createStringResource(Enum<?> e, String prefix)
org.apache.wicket.model.StringResourceModel
createStringResource(Enum<?> e, String prefix, String nullKey)
org.apache.wicket.model.StringResourceModel
createStringResource(String resourceKey, Object... objects)
org.apache.wicket.model.StringResourceModel
createStringResource(String resourceKey, org.apache.wicket.model.IModel<?> model, Object... objects)
org.apache.wicket.Component
getFeedbackPanel()
MidpointConfiguration
getMidpointConfiguration()
org.apache.wicket.model.IModel<T>
getModel()
T
getModelObject()
PageBase
getPageBase()
PageAdminLTE
getParentPage()
This method was created to be used instead of getPageBase after a big number of the util methods moved to the PageAdminLTE.PrismContext
getPrismContext()
GuiComponentRegistry
getRegistry()
SchemaService
getSchemaService()
MidPointAuthWebSession
getSession()
String
getString(Enum<?> e)
String
getString(String resourceKey, Object... objects)
WebApplicationConfiguration
getWebApplicationConfiguration()
protected void
showResult(OperationResult result)
-
Methods inherited from class org.apache.wicket.markup.html.panel.Panel
getRegionMarkup, newMarkupSourcingStrategy
-
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession
-
Methods inherited from class org.apache.wicket.MarkupContainer
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onComponentTagBody, onDetach, onInitialize, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, stream, streamChildren, toString, toString, visitChildren, visitChildren
-
Methods inherited from class org.apache.wicket.Component
add, addStateChange, beforeRender, canCallListener, canCallListenerAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMarkupTag, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isInitialized, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderPart, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlForListener, urlForListener, visitParents, visitParents, warn, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
createModel
public org.apache.wicket.model.IModel<T> createModel()
-
getModel
public org.apache.wicket.model.IModel<T> getModel()
-
getModelObject
public T getModelObject()
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(String resourceKey, org.apache.wicket.model.IModel<?> model, Object... objects)
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(String resourceKey, Object... objects)
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(PolyString polystringKey, Object... objects)
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(PolyStringType polystringKey, Object... objects)
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(Enum<?> e)
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(Enum<?> e, String prefix)
-
createStringResource
public org.apache.wicket.model.StringResourceModel createStringResource(Enum<?> e, String prefix, String nullKey)
-
getPageBase
@Contract(pure=true) public PageBase getPageBase()
-
getParentPage
@Contract(pure=true) public PageAdminLTE getParentPage()
This method was created to be used instead of getPageBase after a big number of the util methods moved to the PageAdminLTE. For now it is used only by the components on the non-PageBase pages, in the future should be reviewed and refactored to be more generally used
-
showResult
protected void showResult(OperationResult result)
-
getFeedbackPanel
public org.apache.wicket.Component getFeedbackPanel()
-
getRegistry
public GuiComponentRegistry getRegistry()
-
getMidpointConfiguration
public MidpointConfiguration getMidpointConfiguration()
-
getPrismContext
public PrismContext getPrismContext()
-
getSchemaService
public SchemaService getSchemaService()
-
getWebApplicationConfiguration
public WebApplicationConfiguration getWebApplicationConfiguration()
-
getSession
public MidPointAuthWebSession getSession()
- Overrides:
getSession
in classorg.apache.wicket.Component
-
-