|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.mdm.ui.UIContext com.softwareag.mdm.ui.UIResponseContext
Encapsulates a HTTP response so that a UIBeanEditor
is able
to generate its part of the DHTML page.
UIBeanEditor
Method Summary | |
UIResponseContext |
add_cr(String aString)
Writes a String to the HTTP output stream and adds a carriage return to the HTML source at the end. |
UIResponseContext |
add(int integer)
This writes an int to the HTTP output stream. |
UIResponseContext |
add(String aString)
Writes a string to the HTTP output stream. |
void |
addUIBean(Path aPath,
String htmlAttributes)
The path specified must not refer to an indexed element in its last position. |
void |
addUIBestMatchingDisplay(Path aPath,
UIRenderingMode renderingMode,
String htmlAttributes)
|
void |
addUIBestMatchingEditor(Path aPath,
String htmlAttributes)
|
void |
addUICheckBox(int index,
Path aPath,
String htmlAttributes)
|
void |
addUICheckBox(Path aPath,
String htmlAttributes)
|
void |
addUICheckBoxGroup(Path aPath,
String htmlAttributes)
|
void |
addUICheckBoxGroup(Path aPath,
String htmlAttributes,
Nomenclature aSpecificNomenclature)
|
void |
addUICheckBoxGroup(Path aPath,
String htmlAttributes,
String htmlSeparator)
|
void |
addUICheckBoxGroup(Path aPath,
String htmlAttributes,
String htmlSeparator,
Nomenclature aSpecificNomenclature)
|
void |
addUIComplexEditor(Path aPath,
String htmlAttributes)
The path specified must not refer to an indexed element in its last position. |
void |
addUIDescription(Path aPath)
|
void |
addUIDisplayValue(Path aPath)
|
void |
addUIDropDownBox(Path aPath,
String htmlAttributes)
|
void |
addUIDropDownBox(Path aPath,
String htmlAttributes,
Nomenclature aSpecificNomenclature)
|
void |
addUIDropDownBoxMultiple(Path aPath,
String htmlAttributes)
|
void |
addUILabel(Path aPath)
|
void |
addUIOccurrenceEditor(Path aPath,
String htmlAttributes)
The path specified must refer to an indexed element in its last position. |
void |
addUIPasswordInputField(Path aPath,
String htmlAttributes)
|
void |
addUIRadioButton(Path aPath,
String htmlAttributes,
boolean setCode,
boolean setLabel,
int index)
|
void |
addUIRadioButtonGroup(Path aPath,
String htmlAttributes)
|
void |
addUIRadioButtonGroup(Path aPath,
String htmlAttributes,
String htmlSeparator)
|
void |
addUITextAreaField(Path aPath,
String htmlAttributes)
|
void |
addUITextHiddenInputField(Path aPath,
String htmlAttributes)
|
void |
addUITextInputField(Path aPath,
String htmlAttributes)
|
void |
addUIValidationMessage(Path aPath)
Adds the validation message associated with the node specified. |
void |
doEnsureValueIsDefined()
Preinstantiates a value on the current node. |
void |
enableEscapedHtml(boolean enabled)
Enables temporarily or disables the Escaped HTML stream writing. |
UIRenderingMode |
getRenderingMode()
Returns the current rendering mode. |
String |
getURLForResource(ResourceType aResourceType,
String aResourceName)
Returns the URL of the Web resource specified, in the current module and for the current session locale. |
String |
getURLForResource(ResourceType aResourceType,
String aResourceName,
Locale aLocale)
Returns the URL of the Web resource specified, in the current module (that is, the module of the current adaptation). |
String |
getURLForResource(String aModuleAliasOrName,
ResourceType aResourceType,
String aResourceName,
Locale aLocale)
Returns the URL of the Web resource specified. |
ValueContextForValidation |
getValueContext()
Returns the validation context of the current node. |
ValueContextForValidation |
getValueContext(Path aPath)
Returns the validation context of the node specified. |
boolean |
isEscapedHtmlEnable()
Test if output stream is currently escaping HTML . |
UIResponseContext |
jsBufferAddJavaScriptExpression(String aJavaScriptExpression)
Adds a javascript expression to javascript writer. |
UIResponseContext |
jsBufferAddString(String aString)
Adds a javascript expression to javascript writer. |
UIResponseContext |
jsBufferEndOfLine()
Adds an end of line when adding content to javascript writer. |
UIResponseContext |
jsBufferInitalize()
Initializes a javascript writer. |
UIResponseContext |
jsBufferNewLine()
Continue adding content to javascript writer as a new line of js code |
UIResponseContext |
jsBufferReenable(boolean isJsBufferWritingModeTemporaryDisabled)
Ensures javascript buffer writing mode must be re-enabled. |
boolean |
jsBufferTemporaryDisable()
Ensures javascript buffer writing mode is temporary disabled. |
Methods inherited from class com.softwareag.mdm.ui.UIContext |
getLocale, getNode, getNode, getPathInAdaptation, getSession, getValue, getValue, getWebName, getWebNameFor, getWebNameForPath, getWebNameOfParent |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public String getURLForResource(ResourceType aResourceType, String aResourceName)
getURLForResource(ResourceType, String, Locale)
,
UIContext.getLocale()
public String getURLForResource(ResourceType aResourceType, String aResourceName, Locale aLocale)
UnsupportedOperationException
- if the resource type is internal (not accessible from HTTP).public String getURLForResource(String aModuleAliasOrName, ResourceType aResourceType, String aResourceName, Locale aLocale) throws ModuleNotFoundException
UnsupportedOperationException
- if the resource type is internal (not accessible from HTTP).
ModuleNotFoundException
- if the alias or name specified does not correspond to a module.public ValueContextForValidation getValueContext()
public ValueContextForValidation getValueContext(Path aPath)
public UIResponseContext add(String aString)
public UIResponseContext add(int integer)
int
to the HTTP output stream.
public UIResponseContext add_cr(String aString)
public void addUIBestMatchingEditor(Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUIBestMatchingDisplay(Path aPath, UIRenderingMode renderingMode, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUIDisplayValue(Path aPath)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)public void addUICheckBox(Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUICheckBox(int index, Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUICheckBoxGroup(Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUICheckBoxGroup(Path aPath, String htmlAttributes, String htmlSeparator)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componenthtmlSeparator
- optional, a specific HTML string as value separator (display inline: space, or in column: <br>)public void addUICheckBoxGroup(Path aPath, String htmlAttributes, Nomenclature aSpecificNomenclature)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUICheckBoxGroup(Path aPath, String htmlAttributes, String htmlSeparator, Nomenclature aSpecificNomenclature)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componenthtmlSeparator
- optional, a specific HTML string as value separator (display inline: space, or in column: <br>)public void addUIDropDownBox(Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUIDropDownBox(Path aPath, String htmlAttributes, Nomenclature aSpecificNomenclature)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUIDropDownBoxMultiple(Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUILabel(Path aPath)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)public void addUIDescription(Path aPath)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)public void addUIValidationMessage(Path aPath)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)public void addUIOccurrenceEditor(Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUIComplexEditor(Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUIBean(Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUIRadioButton(Path aPath, String htmlAttributes, boolean setCode, boolean setLabel, int index)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUIRadioButtonGroup(Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUIRadioButtonGroup(Path aPath, String htmlAttributes, String htmlSeparator)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componenthtmlSeparator
- optional, a specific HTML string as value separator (display inline: space, or in column: <br>)public void addUITextAreaField(Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUITextInputField(Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUIPasswordInputField(Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic void addUITextHiddenInputField(Path aPath, String htmlAttributes)
aPath
- required, location of the target relatively to the current node (for a better reusability, it is advised to use a relative path)htmlAttributes
- optional, the string is added to the attributes of the main HTML componentpublic UIResponseContext jsBufferAddJavaScriptExpression(String aJavaScriptExpression)
public UIResponseContext jsBufferAddString(String aString)
public UIResponseContext jsBufferEndOfLine()
public UIResponseContext jsBufferInitalize()
public UIResponseContext jsBufferNewLine()
public UIResponseContext jsBufferReenable(boolean isJsBufferWritingModeTemporaryDisabled)
The boolean argument must be the result of a previous call to method
jsBufferTemporaryDisable()
.
jsBufferTemporaryDisable()
,
jsBufferNewLine()
public boolean jsBufferTemporaryDisable()
Returns true if current mode was writting javascript buffer.
jsBufferNewLine()
,
jsBufferReenable(boolean)
public void doEnsureValueIsDefined()
public void enableEscapedHtml(boolean enabled)
isEscapedHtmlEnable()
public boolean isEscapedHtmlEnable()
enableEscapedHtml(boolean)
public UIRenderingMode getRenderingMode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.