Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem with af:selectBooleanCheckbox added in ADf table's Column

707089Aug 7 2009 — edited Aug 18 2009
I am working on :Jdeveloper11g :ADF

I added one column with af:selectBooleanCheckbox like

<af:column sortProperty="Delete" headerText="Delete" width="100"
sortable="false">

<af:selectBooleanCheckbox label="#{row.favoriteId}"
valueChangeListener="#{mybean.onCheck}"
autoSubmit="true">
<af:clientAttribute name="chekbox" value="#{row.key}"></af:clientAttribute>
</af:selectBooleanCheckbox>
</af:column>


as per my understanding mybean.onCheck(ValueChangeEvent valueChangeEvent) method should get called only when checked and unchecked event happens on check box .

first time page display with table which having checkboxes for all rows up to this every think is fine.
But the problem is that when i select any row (*not the checkbox*) mybean.oncheck(ValueChangeEvent valueChangeEvent) method get's called for number of times(equals to number of rows). surprisigly this happens only snigle time .later on mybean.oncheck() get called only when checkbox is checked or unchecked.


because of this i am not able to track checkbox selection for multiple row in ADF table.

please correct me wherever i did mistake.

Thanks for all help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 15 2009
Added on Aug 7 2009
2 comments
1,769 views