|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An AWEditableRegion is used to control the editability of a group of controls. It puts a flags in the environment stack and any controls within the region reads the flags, and renders accordingly.
Reading the flags in custom controls -
In Java, custom controls can call:
AWEditableRegion.disabled(requestContext());
AWEditableRegion.readonly(requestContext());
In AWL, controls can use $env.disable and $env.readonly
| Bindings | |||
|---|---|---|---|
disabled
|
From w3c: When set for a form control, this boolean attribute disables the control for user input. When set, the disabled attribute has the following effects on an element: Disabled controls do not receive focus. Disabled controls are skipped in tabbing navigation. Disabled controls cannot be successful. The following elements support the disabled attribute: BUTTON, INPUT, OPTGROUP, OPTION, SELECT, and TEXTAREA. |
boolean (get) |
|
readonly
|
From w3c: The readonly attribute specifies whether the control may be modified by the user. When set, the readonly attribute has the following effects on an element: Read-only elements receive focus but cannot be modified by the user. Read-only elements are included in tabbing navigation. Read-only elements may be successful. The following elements support the readonly attribute: INPUT and TEXTAREA. |
boolean (get) |
|
java.lang.Objectariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWComponent
ariba.ui.aribaweb.core.AWEditableRegion
public class AWEditableRegion
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface ariba.ui.aribaweb.core.AWResponseGenerating |
|---|
AWResponseGenerating.ResponseSubstitution |
| Constructor Summary | |
|---|---|
AWEditableRegion()
|
|
| Method Summary | |
|---|---|
static boolean |
disabled(AWRequestContext requestContext)
|
static boolean |
only(AWRequestContext requestContext)
|
| Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject |
|---|
debugString, getFieldValue, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ariba.ui.aribaweb.util.AWObject |
|---|
getFieldValue, isKindOfClass, setFieldValue |
| Methods inherited from interface ariba.ui.aribaweb.util.AWObject |
|---|
getFieldValue, isKindOfClass, setFieldValue |
| Constructor Detail |
|---|
public AWEditableRegion()
| Method Detail |
|---|
public static boolean disabled(AWRequestContext requestContext)
public static boolean only(AWRequestContext requestContext)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||