|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.DeprecatedUINode | +--oracle.cabo.ui.BaseUINode | +--oracle.cabo.ui.BaseMutableUINode | +--oracle.cabo.ui.beans.BaseWebBean | +--oracle.cabo.ui.beans.MarlinBean | +--oracle.cabo.ui.beans.form.FileUploadBean
This bean is not supported on the following agent types: pda.
The FileUpload bean adds a widget that can be used to upload a file. Any form that contains this bean must have usesUpload set to true.
<form name="myform" usesUpload="true" destination="fileupload"> <contents> <fileUpload columns="10" name="inputfile"/> </contents> </form>
It does not support any children.
Constructor Summary | |
|
FileUploadBean()
Construct an instance of the FileUploadBean. |
protected |
FileUploadBean(boolean ignored,
java.lang.String localName)
Construct an instance of the FileUploadBean. |
|
FileUploadBean(java.lang.String name)
Construct an instance of the FileUploadBean. |
Method Summary | |
int |
getColumns()
Gets the number of columns to display in the text control. |
static int |
getColumns(MutableUINode bean)
Gets the number of columns to display in the text control. |
java.lang.String |
getName()
Gets the name used to identify the element in client-to-client or client-to-server events. |
static java.lang.String |
getName(MutableUINode bean)
Gets the name used to identify the element in client-to-client or client-to-server events. |
java.lang.String |
getRequired()
Gets whether the field requires user input. |
static java.lang.String |
getRequired(MutableUINode bean)
Gets whether the field requires user input. |
void |
setColumns(int columns)
Sets the number of columns to display in the text control. |
static void |
setColumns(MutableUINode bean,
int columns)
Sets the number of columns to display in the text control. |
static void |
setName(MutableUINode bean,
java.lang.String name)
Sets the name used to identify the element in client-to-client or client-to-server events. |
void |
setName(java.lang.String name)
Sets the name used to identify the element in client-to-client or client-to-server events. |
static void |
setRequired(MutableUINode bean,
java.lang.String required)
Sets whether the field requires user input. |
void |
setRequired(java.lang.String required)
Sets whether the field requires user input. |
Methods inherited from class oracle.cabo.ui.beans.MarlinBean |
isEqualMarlinName |
Methods inherited from class oracle.cabo.ui.BaseUINode |
getAttributeNames, getAttributeValue, getAttributeValueImpl, getChildArray, getChildNames, getIndexedChild, getIndexedChild, getIndexedChildCount, getLocalName, getNamedChild, getNamespaceURI, getNodeID, getNodeRole, getPreorderDescendentAttributeValue, getRawAttributeValue, getRenderedUINode, getRenderer, getRenderer, render, render, toString |
Methods inherited from class oracle.cabo.ui.DeprecatedUINode |
getAttributeValue, getChildNames, getNamedChild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.cabo.ui.UINode |
getAttributeNames, getAttributeValue, getAttributeValue, getChildNames, getChildNames, getIndexedChild, getIndexedChild, getIndexedChildCount, getLocalName, getNamedChild, getNamedChild, getNamespaceURI, getNodeID, getNodeRole, getRawAttributeValue, render, render |
Constructor Detail |
public FileUploadBean()
public FileUploadBean(java.lang.String name)
name
- the name used to identify the element in
client-to-client or client-to-server events.protected FileUploadBean(boolean ignored, java.lang.String localName)
Method Detail |
public final java.lang.String getName()
This is a required property on the bean.
public final void setName(java.lang.String name)
This is a required property on the bean.
public final int getColumns()
public final void setColumns(int columns)
public final java.lang.String getRequired()
UIConstants.REQUIRED_YES
User input in this field is required.
UIConstants.REQUIRED_NO
User input in this field is not required.
UIConstants.REQUIRED_UI_ONLY
The user interface should indicate that a value is required, but should not attempt to enforce that constraint.
The default of this attribute is "no"
.
public final void setRequired(java.lang.String required)
UIConstants.REQUIRED_YES
User input in this field is required.
UIConstants.REQUIRED_NO
User input in this field is not required.
UIConstants.REQUIRED_UI_ONLY
The user interface should indicate that a value is required, but should not attempt to enforce that constraint.
The default of this attribute is "no"
.
public static java.lang.String getName(MutableUINode bean)
This is a required property on the bean.
public static void setName(MutableUINode bean, java.lang.String name)
This is a required property on the bean.
public static int getColumns(MutableUINode bean)
public static void setColumns(MutableUINode bean, int columns)
public static java.lang.String getRequired(MutableUINode bean)
UIConstants.REQUIRED_YES
User input in this field is required.
UIConstants.REQUIRED_NO
User input in this field is not required.
UIConstants.REQUIRED_UI_ONLY
The user interface should indicate that a value is required, but should not attempt to enforce that constraint.
The default of this attribute is "no"
.
public static void setRequired(MutableUINode bean, java.lang.String required)
UIConstants.REQUIRED_YES
User input in this field is required.
UIConstants.REQUIRED_NO
User input in this field is not required.
UIConstants.REQUIRED_UI_ONLY
The user interface should indicate that a value is required, but should not attempt to enforce that constraint.
The default of this attribute is "no"
.
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |