Results 1 to 3 of 3
Thread: Updating Displayed Table Rows
- 04-17-2009, 09:30 PM #1
Member
- Join Date
- Apr 2009
- Posts
- 2
- Rep Power
- 0
Updating Displayed Table Rows
Hi,
I am using a table in JSF which is binded to a table in a mysql DB to display data in the database. In the same page i have some field to add data to the table in the database and when the button is clicked the entity manager persist function in a separate session bean adds the row to the data base.
Can please someone tell me how can the table be refreshed as to display the added row in the database
Thanks
Ray
- 04-18-2009, 06:21 PM #2
U should use AJAX, if you add some data in the database at the same page where the table si, then create AJAX, which will execute bean of inserting data into the database and then in the this function call the function to update the table.
- 04-20-2009, 08:24 AM #3
Member
- Join Date
- Apr 2009
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Updating database table from JTable
By yesjava in forum New To JavaReplies: 1Last Post: 08-16-2008, 10:16 PM -
Nodes displayed in JTree
By Orange in forum AWT / SwingReplies: 6Last Post: 08-08-2008, 05:07 AM -
Tooltip not getting displayed...
By Preethi in forum New To JavaReplies: 4Last Post: 07-31-2008, 10:00 AM -
Color cells and rows in SWT table
By Java Tip in forum SWTReplies: 0Last Post: 07-11-2008, 04:31 PM -
displayed the rownumbers
By geeta_ravikanti in forum JDBCReplies: 1Last Post: 04-22-2008, 02:30 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks