Posted by capitanu
on October 19, 2009 at 8:14 PM PDT
I'm trying to create a dynamic table (similar with FlexTable from GWT): have a table grid, and under the table grid a text box and an add button. When the user enters a text and hits add the text has to be added to the table. My code is partially working (first time a text is added it does not appear in the table, the when the second text is added the first one appears in the table, and so on). Here is my code that does this:
The problem is that the panelGrid is refreshed for the blur event of inputText, but I only add the team to the panel on click, and then the panel does not refresh. I am new to JSF 2.0 so maybe I am missing something.