public class CmsSeoOptionsDialog extends CmsPopup implements I_CmsFormHandler
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
限定符和类型 | 字段和说明 |
---|---|
protected static CmsAliasMessages |
aliasMessages
The alias messages.
|
protected CmsAliasList |
m_aliasList
The inner alias list.
|
protected int |
m_aliasValidationStatus
The validation status for the aliases.
|
protected com.google.gwt.user.client.ui.FlowPanel |
m_panel
The root panel for this dialog.
|
protected int |
m_propertyValidationStatus
The validation status for the properties.
|
protected CmsUUID |
m_structureId
The structure id of the resource whose aliases are being edited.
|
protected static java.lang.String[] |
seoProperties
The properties which should be displayed.
|
protected static int |
VALIDATION_FAILED
The validation has detected an error.
|
protected static int |
VALIDATION_OK
The validation has finished successfully.
|
protected static int |
VALIDATION_RUNNING
The validation isn't finished yet.
|
m_closeCommand, m_notificationWidgetInstalled, m_windowWidth
构造器和说明 |
---|
CmsSeoOptionsDialog(CmsUUID structureId,
CmsListInfoBean infoBean,
java.util.List<CmsAliasBean> aliases,
java.util.Map<java.lang.String,CmsXmlContentProperty> propertyConfig,
I_CmsPropertyEditorHandler propertyEditorHandler)
Creates a new dialog instance.
|
限定符和类型 | 方法和说明 |
---|---|
static void |
loadAliases(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsAliasBean>> callback)
Loads the aliases for a given page.
|
protected void |
onClickSave()
The method which is called when the user clicks the save button of the dialog.
|
void |
onSubmitValidationResult(CmsForm form,
boolean ok)
This method is called when the validation triggered by an attempt to submit the form has finished.
|
void |
onValidationResult(CmsForm form,
boolean ok)
This method is called when the normal validation triggered by changing fields has finished.
|
protected void |
saveAliases()
Saves the aliases.
|
void |
saveAliases(CmsUUID uuid,
java.util.List<CmsAliasBean> aliases)
Saves the aliases for a given page.
|
protected void |
saveProperties()
Saves the properties.
|
void |
show() |
void |
update(boolean submit)
Updates the validation status and optionally submits the data.
|
add, add, addButton, addButton, addDialogClose, adjustIndex, beginDragging, catchNotifications, center, centerHorizontally, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, clear, continueDragging, createDialogNotificationWidget, doAttachChildren, doDetachChildren, endDragging, getAvailableHeight, getCaption, getChildren, getContainerElement, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, getWidth, hasCaption, hide, insert, insert, insertFront, installNotificationWidget, iterator, onBrowserEvent, onDetach, onPreviewNativeEvent, remove, remove, removeAllButtons, removeButton, removePadding, setBackgroundColor, setCaption, setHeight, setHeight, setMainContent, setPixelSize, setPositionFixed, setSize, setSpecialBackgroundClass, setUseAnimation, setWidget, setWidth, setWidth, showArrow, wrapWithBorderPadding
addAutoHidePartner, addCloseHandler, addPopupListener, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, showRelativeTo
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onLoad, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAutoHidePartner, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, removeAutoHidePartner, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled
protected static CmsAliasMessages aliasMessages
protected static java.lang.String[] seoProperties
protected static final int VALIDATION_FAILED
protected static final int VALIDATION_OK
protected static final int VALIDATION_RUNNING
protected CmsAliasList m_aliasList
protected int m_aliasValidationStatus
protected com.google.gwt.user.client.ui.FlowPanel m_panel
protected int m_propertyValidationStatus
protected CmsUUID m_structureId
public CmsSeoOptionsDialog(CmsUUID structureId, CmsListInfoBean infoBean, java.util.List<CmsAliasBean> aliases, java.util.Map<java.lang.String,CmsXmlContentProperty> propertyConfig, I_CmsPropertyEditorHandler propertyEditorHandler)
structureId
- the structure id of the resource whose aliases are being editedinfoBean
- a bean containing the information to display in the resource info boxaliases
- the existing aliases of the resourcepropertyConfig
- the property configurationpropertyEditorHandler
- the property editor handlerpublic static void loadAliases(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsAliasBean>> callback)
structureId
- the structure id of the pagecallback
- the callback for the loaded aliasespublic void onSubmitValidationResult(CmsForm form, boolean ok)
I_CmsFormHandler
onSubmitValidationResult
在接口中 I_CmsFormHandler
form
- the formok
- the validation resultI_CmsFormHandler.onSubmitValidationResult(org.opencms.gwt.client.ui.input.form.CmsForm, boolean)
public void onValidationResult(CmsForm form, boolean ok)
I_CmsFormHandler
onValidationResult
在接口中 I_CmsFormHandler
form
- the formok
- the validation resultI_CmsFormHandler.onValidationResult(org.opencms.gwt.client.ui.input.form.CmsForm, boolean)
public void saveAliases(CmsUUID uuid, java.util.List<CmsAliasBean> aliases)
uuid
- the page structure idaliases
- the aliases to savepublic void show()
show
在类中 CmsPopup
CmsPopup.show()
public void update(boolean submit)
submit
- the submit flagprotected void onClickSave()
protected void saveAliases()
protected void saveProperties()