This discussion is archived
2 Replies Latest reply: Jan 31, 2013 4:05 AM by Chandan Srivastava RSS

Regarding radio button

Chandan Srivastava Newbie
Currently Being Moderated
Hi

I am using jdev 11.1.1.5.0

I am creating an adf table based on vo.

In vo there is an transient attribute on which i attach an lov (having 2 values 'Y' and 'N')
in adf table I add that attribute as radio button .
On page load I want to display 'Y' value selected on that radio.
For this I am writing the code on page load is....


<code>
if(vor.getRowCount()>0)
{
for(int j=0;j<vo.getRowCount();j++)
{
if(j==0)
row=vor.first();
else
row=vo.next();
row.setAttribute("view_attr","Y");

}
vo.executeQuery();
</code>

But the problem is that the radio on page is not selected.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points