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!

Couple of ADF table - "How To Do" questions

Ravi_cs-OracleJun 19 2013 — edited Jun 20 2013

hi,

I have a ADF table with 2 input columns and remaining are output text columns. Now when a user creates a new record and saves it I need to make the first input column as "Read Only". And After entering some records into the table now there is a flag which locks the table. So when the user sets this flag I need to make all the existing rows in ADF table as read only, but users should be able to delete existing rows and add new rows.

Is there a way to achieve this ?

Second question is -

The ADF table is shown as editable table with two input columns. It is a view object  dropped from data controller. Now when the page is loaded, I need to make sure that atleast 4 rows are shown in the table ( If the view object is retrieving more rows from database then show them else if the number of rows in the database table is less than 4 then I have to show 4 rows). How do I get the ADF table to behave this way programmatically. Initially I thought of doing it when page load happens but I am not able to figure out how to do it. Any help on this will be appreciated.

Thanks.

This post has been answered by Arunkumar Ramamoorthy-Oracle on Jun 20 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 18 2013
Added on Jun 19 2013
6 comments
277 views