To set attributes for a dataScope component:
If using the Create Data Provider dialog, enter a data name and select a type. Supported type values are bundle, instance, method. Then specify the class and method attributes for the data provider. For additional help, click the Help button in the dialog.
Note that you can specify inline data in the Code Editor only.
Note: To use data binding, see Data Binding a Component Attribute.
...
<dataScope currentData="${uix.data.dat1.formData}">
<contents>
<form name="form1">
<contents>
<header text="${uix.current.headerText}">
<contents>
<radioGroup selectedValue="${uix.current.color}"
name="color"
text="${uix.current.name}"
value="${uix.current.value}"
childData="${uix.data.dat1.rad}"/>
<html:br/>
<messageTextInput name="stone" prompt="Enter Stone"
text="${uix.current.stone}" />
<html:br/>
<submitButton text="Submit" />
</contents>
</header>
</contents>
</form>
</contents>
<provider>
<data name="dat1">
<inline>
<formData headerText="Enter Form Data" color="00FF00"
stone="Jade" />
<rad name="Red" value="FF0000" />
<rad name="Green" value="00FF00" />
<rad name="Blue" value="0000FF" />
</inline>
</data>
</provider>
</dataScope>
...
Working with Simple and Miscellaneous Components
Copyright © 1997, 2004, Oracle. All rights reserved.