About the Model Attribute

You can use databound UI components provided by the Oracle Application Development Framework (Oracle ADF) bindings when building your ADF UIX user interfaces. When you work with the Data Control Palette to insert already databound UI components into a UIX XML page, UIX automatically updates the model attributes for you.


Example:

...
<table model="${bindings.EmpView1}" id="EmpView18">
  <contents>
    <column>
      <columnFormat columnDataFormat="numberFormat"/>
      <columnHeader>
        <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.EmpView1,'Empno')}"/>
      </columnHeader>
      <contents>
        <messageTextInput model="${uix.current.Empno}" columns="10" readOnly="true">
          <onSubmitValidater>
            <decimal/>
          </onSubmitValidater>
        </messageTextInput>
      </contents>
    </column>
    ...
  </contents>
  <tableSelection>
    <singleSelection model="${bindings.EmpView1Iterator}" text="Select and ">
      <primaryClientAction>
        <firePartialAction targets="EmpView18" source="EmpView18" event="select"/>
      </primaryClientAction>
    </singleSelection>
  </tableSelection>
</table>
...    

For more details about ADF bindings and the Data Control Palette, see:


About Databound UIX Pages

Creating a Databound UIX XML Page
Data Binding a Component Attribute

 

Copyright © 1997, 2004, Oracle. All rights reserved.