Boolean Radio Button not get selected on the default selected row of table
ShahAug 2 2012 — edited Aug 2 2012Hi All,
I am using Jdeveloper 11.1.1.5.
I have created a ADF Table from Java Class which returns the collection model.
My requirement is very simple :-
There is select column in which i have selectBooleanRadio and one column as email Id which consist of text box.
Now as user select the Boolean Radio , i need to enable the inputText to enter the emailId to the user.But in my case :- when my table renders, i can see the default selected row(which is the first row) but my boolean radio button is not get selected.
The default feature should be like , if the table renders the first row is always the selected row and the respective radio button also shown as selected.
The below code is of the jspx page :-
<af:table value="#{bindings.ColumnNames.collectionModel}"
var="row"
rows="#{bindings.ColumnNames.rangeSize}"
emptyText="#{bindings.ColumnNames.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.ColumnNames.rangeSize}"
rowBandingInterval="0"
selectedRowKeys="#{bindings.ColumnNames.collectionModel.selectedRow}"
selectionListener="#{bindings.ColumnNames.collectionModel.makeCurrent}"
rowSelection="single" id="t1">
<af:column sortProperty="select" sortable="true"
headerText="#{bindings.ColumnNames.hints.select.label}"
id="c1">
<af:selectBooleanRadio value="#{row.select}" id="ot9"
group="Buttons"
autoSubmit="true"/>
</af:column>
<af:column sortProperty="emailId" sortable="true"
headerText="#{bindings.ColumnNames.hints.emailId.label}"
id="c6">
<af:inputText value="#{row.emailId}" id="ot6"
partialTriggers="ot9"
disabled="#{row.select ne true}"/>
</af:column>
......
....
Kindly suggest!!!!
Regards,
Shah