It's not a secret anymore!*
The moose likes JSF and the fly likes edit and delete operations Datatable  In MY faces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "edit and delete operations Datatable  In MY faces" Watch "edit and delete operations Datatable  In MY faces" New topic
Author

edit and delete operations Datatable In MY faces

aanshu gupta
Greenhorn

Joined: Feb 08, 2010
Posts: 23
Hello All,
i am new to jsf. i want to add edit and delete records from my datatable when users selects the link in the particular row. when users clicks edit link on any particular row, all the output text columns should convert into input text and when they press delete the record should be deleted from the table and the database also.
please help me in this regard.
i am getting the data from the database in the datatable in my page.
thanks in advance.


Anshu Gupta, Persistent Systems Limited, India
SCJP 5.0, SCWCD 5.0
Lance Cash
Greenhorn

Joined: Oct 19, 2009
Posts: 17
Wow...that's a really loaded question, but I'd like to point you to an article that is excellent for any datatable questions. I think it will have everything you need.

Ultimate datatable How-to

Hope this helps. Lance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: edit and delete operations Datatable In MY faces