Hi,
This post
is about Editing the values of the Table. You can learn how to populate table
from the arrayList from my previous blog.http://adfjavacodes.blogspot.com/2013/04/adf-populating-adf-table-from-bean.html
Every step is same as in my previous post.
There
only one thing needs to be changed. Suppose here we have to edit the BookDesc
from the front End.
For doing
this, We just need to provide the editable property in an inputText and that’s
it. The editing in automatically handled.
We have
to edit the Book Description Column, So I have just replaced the output text
component with an input text. Here is the code for the same.
Here is
the code of the jspx page. I have also added a button to print the updated
Values of the List.
On
running the page .
Now I
have changed the Description of one Book to
On
clicking Show Current Values in the List values are being printed in the console like
SO as we
can see the row have been updated.
Here is the Sample Application : EditableTableOnPOJO.rar
No comments:
Post a Comment