Updatable Data Table

I was asked to show how a Data Table bound to local data (as described here) can be updated. Rather than try to describe it in further detail I just created a simple Creator project. If you have problems in this area, load the project and take a look.

Briefly, the project contains a single page, with a Data Table, a couple of text fields and an Add button. When you press Add, the data in the textfields is used to create a new Person object, this person is put into the master list of people (maintained in the Session bean), and the data table is updated to reflect the change.

Comments:

hi thanks tor now i'm successfull your guide was very useful for me. thanks again

Posted by Keshtidar on April 23, 2005 at 05:11 AM PDT #

Hi Tor, Do you think you can publish the code for the remove button part of your AddDelete DataTable project? I would really like to see how an item in the datatable would be retrieved by the code for the removeButton_action. thanks jp

Posted by Jacob Pays on August 11, 2005 at 07:10 AM PDT #

Hi Tor, can you publih the code in Studio Creator 2.0 Project. Thanks for your help Martin

Posted by Martin on May 18, 2006 at 03:24 AM PDT #

Hi, In my JSF data-table, i have few alignment problems. For Example, I have 4 columns, Emp-Id, First-Name,Last-name and Age. What happens is, sometimes, the value in the First-Name cell moves into the Last-Name cell, leadiing to alignment problems. But this is not happening always. Occasionlly this happens. I tried with iFrames and also by having fixed width for each cell, then also this problem is persisting. Is it something to do with the datatable display in JSF? Any suggestions/ideas on how to resolve this problem would be of immense help. Thanks

Posted by viewcleared on July 10, 2006 at 04:37 PM PDT #

Post a Comment:
Comments are closed for this entry.
About

Tor Norbye

Search

Archives
« June 2015
SunMonTueWedThuFriSat
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today