@DefaultNonNull public class UrlPage extends Div
| Constructor and Description |
|---|
UrlPage() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeWindow()
Adds javascript to close page window.
|
void |
componentHandleWebAction(RequestContextImpl ctx,
String action)
Handle the action sent by the return pressed Javascript thingerydoo.
|
protected void |
fixStretchBody()
In case that stretch layout is used, this needs to be called for UrlPage that does not have already set height on its body (usually case for normal UrlPage that is shown inside new browser popup window - it is not needed for regular subclasses of
Window). |
protected void |
fixStretchBodyUnkludged()
In case that stretch layout is used, for page that does not use default ui-content padding (unkludged),
this needs to be called for UrlPage that does not have already set height on its body.
|
void |
forceReloadData() |
INotifyPageEvent |
getNotifyPageEvent() |
String |
getPageTitle()
Get the page name used for
AppPageTitleBar and BreadCrumb related code. |
QDataContext |
getSharedContext()
This is the root implementation to get the "shared context" for database access.
|
QDataContext |
getSharedContext(String key) |
QDataContextFactory |
getSharedContextFactory() |
QDataContextFactory |
getSharedContextFactory(String key) |
String |
getTestRepeatId()
EXPERIMENTAL: If this is part of some "repeating" structure this must hold a repeat ID, which is a
page-unique id for the repeating thing.
|
IThemeVariant |
getThemeVariant() |
ILogicContext |
lc()
EXPERIMENTAL Returns the business logic context for the current form.
|
void |
onDestroy()
Called when the page gets destroyed (navigation or such).
|
protected void |
onForceRebuild()
Called when forceRebuild is done on this node.
|
void |
onReload()
Gets called when a page is reloaded (for ROOT pages only).
|
void |
resetAllSharedContexts()
Use this only in cases when you really want to have fresh shared context -> in order to fetch all data fresh from database.
|
void |
setNotifyPageEvent(INotifyPageEvent notifyPageEvent) |
void |
setPageTitle(String pageTitle)
Set the page name used for
AppPageTitleBar and BreadCrumb related code. |
void |
setThemeVariant(IThemeVariant themeVariant)
Set the style of the theme to use for the entire page.
|
void |
unkludge()
Deprecated.
|
afterCreateContent, fadeIn, fadeOut, getCustomUpdatesCallJS, getDragHandler, getDropBody, getDropHandler, getDropMode, getReturnPressed, setDragHandler, setDropBody, setDropHandler, setReturnPressed, slideDown, slideUp, tb, visitadd, add, add, addTable, addTableForLayout, addTableForLayout, appendTreeErrors, canContain, createFrame, delegateTo, disableAllChildControlsDeep, findChildIndex, forceRebuild, getChild, getChildCount, getChildren, getDeepChildren, getDelegate, getErrorFence, getTextContents, hasError, internalAdd, internalCheckNotDirty, internalClearDelta, internalClearDeltaFully, internalCreateFrame, internalGetNodeCount, internalGetOldChildren, internalOnBeforeRender, internalShelve, internalUnshelve, iterator, onRefresh, removeAllChildren, removeChild, removeChild, replaceChild, setErrorFence, setErrorFence, setText, setValue, undelegatedAdd, undelegatedGetChild$, acceptRequestParameter, addBinding, addCssClass, addGlobalMessage, addNotificationListener, alignToLeft, alignToLeft, alignToMiddle, alignToMiddle, alignTopToBottom, alignTopToBottom, alignToRight, alignToRight, alignToTop, alignToTop, appendAfterMe, appendBeforeMe, appendCreateJS, appendJavascript, appendJQuerySelector, appendJsCustomUpdatesContributor, appendShowOverflowTextAsTitleJs, appendStatement, beforeCreateContent, bind, bind, bindErrors, build, calcTestID, changed, changedJavascriptState, clearFocusRequested, clearGlobalMessage, clearGlobalMessage, clearGlobalMessage, clearMessage, clearValidationFailure, componentHandleWebDataRequest, createContent, createStatement, findComponentBundle, findParent, getActualID, getAllocationTracepoint, getBindingErrors, getBindingList, getBrowserWindowSize, getCalculatedTestID, getClicked, getClientBounds, getComponentBundle, getComponentDataURL, getComponentDataURL, getComponentInfo, getComponentJSONURL, getCreateJS, getCssClass, getErrorList, getErrorLocation, getFocusID, getMessage, getOnClickJS, getOnMouseDownJS, getOnSizeAndPositionChange, getPage, getParent, getParent, getParent, getParentOfTypes, getSpecialAttribute, getSpecialAttributeList, getTag, getTestID, getThemedResourceRURL, getTitle, getUserObject, handleDrop, hasCssClass, hasParent, internalGetOldParent, internalGetParent, internalHasChangedAttributes, internalNeedClickHandler, internalOnClicked, internalOnValueChanged, internalRenderJavascriptDelta, internalRenderJavascriptState, internalSetHasChangedAttributes, internalSetHasChangedAttributes, internalSetLogAllocations, internalSetTag, isAttached, isBuilt, isFocusable, isFocusRequested, isRendersOwnClose, isStretchHeight, notify, notifyParentOrOpenerPage, onAddedToPage, onBeforeFullRender, onBeforeRender, onHeaderContributors, onRemoveFromPage, onShelve, onUnshelve, refresh, remove, removeBinding, removeCssClass, renderJavascriptDelta, renderJavascriptState, renderJavascriptState, replaceWith, setBrowserWindowSize, setCalculcatedId, setCalculcatedId, setClicked, setClientBounds, setComponentBundle, setCssClass, setErrorLocation, setFocus, setMessage, setOnClickJS, setOnMouseDownJS, setOnSizeAndPositionChange, setOverrideTitle, setSpecialAttribute, setStretchHeight, setTestID, setTestRepeatID, setTitle, setUserObject, toStringgetBackgroundAttachment, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorderBottomColor, getBorderBottomStyle, getBorderBottomWidth, getBorderLeftColor, getBorderLeftStyle, getBorderLeftWidth, getBorderRightColor, getBorderRightStyle, getBorderRightWidth, getBorderTopColor, getBorderTopStyle, getBorderTopWidth, getBottom, getCachedStyle, getClear, getColor, getDisplay, getFloat, getFontFamily, getFontSize, getFontSizeAdjust, getFontStyle, getFontVariant, getFontWeight, getHeight, getLeft, getLineHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOverflow, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPosition, getRight, getTextAlign, getTop, getTransform, getVerticalAlign, getVisibility, getWidth, getZIndex, internalSetDisplay, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorder, setBorderBottomColor, setBorderBottomStyle, setBorderBottomWidth, setBorderColor, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderStyle, setBorderTopColor, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setBottom, setBottom, setCachedStyle, setClear, setColor, setDisplay, setFloat, setFontFamily, setFontSize, setFontSizeAdjust, setFontStyle, setFontVariant, setFontWeight, setHeight, setLeft, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPosition, setRight, setRight, setTextAlign, setTop, setTop, setTransform, setVerticalAlign, setVisibility, setWidth, setZIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic final void setThemeVariant(@Nonnull IThemeVariant themeVariant)
DefaultThemeVariant.INSTANCE.themeVariant - public final IThemeVariant getThemeVariant()
@Deprecated public void unkludge()
public void onReload()
throws Exception
Exceptionpublic void onDestroy()
throws Exception
Exception@Nullable public String getPageTitle()
AppPageTitleBar and BreadCrumb related code. To set the head title use the
"title" property.@Nonnull public String getTestRepeatId()
NodeBasegetTestRepeatId in class NodeBasepublic void setPageTitle(@Nullable String pageTitle)
AppPageTitleBar and BreadCrumb related code. To set the head title use the
"title" property.pageTitle - public void closeWindow()
protected void fixStretchBody()
Window).protected void fixStretchBodyUnkludged()
Window.@Nonnull public QDataContext getSharedContext() throws Exception
getSharedContext in class NodeBaseExceptionNodeBase.getSharedContext()@Nonnull public QDataContext getSharedContext(@Nonnull String key) throws Exception
Exception@Nonnull public QDataContextFactory getSharedContextFactory()
getSharedContextFactory in class NodeBase@Nonnull public QDataContextFactory getSharedContextFactory(@Nonnull String key)
protected void onForceRebuild()
NodeBaseonForceRebuild in class NodeBase@Nonnull public ILogicContext lc() throws Exception
lc in class NodeBaseExceptionNodeBase.lc()public void resetAllSharedContexts()
public void componentHandleWebAction(@Nonnull RequestContextImpl ctx, @Nonnull String action) throws Exception
DivcomponentHandleWebAction in class DivExceptionNodeBase.componentHandleWebAction(to.etc.domui.server.RequestContextImpl, java.lang.String)@Nullable public INotifyPageEvent getNotifyPageEvent()
public void setNotifyPageEvent(@Nonnull INotifyPageEvent notifyPageEvent)
Copyright © 2017 etc.to. All rights reserved.