aspose file tools
The moose likes JSF and the fly likes i had problem with h:datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "i had problem with h:datatable" Watch "i had problem with h:datatable" New topic
Author

i had problem with h:datatable

Edukondalu Avula
Greenhorn

Joined: Oct 03, 2008
Posts: 5
Hi Friends,
I had h:dataTable rerender Problem when displaying the values of the table,initially its working good, after i add some values to that table after that it is not rerender automatically(i specified rerender).
intially the datatable displays values properly, after click on add button some values will be added to this table, after that this table is not rerender, if anu body know help me
[ October 04, 2008: Message edited by: Edukondalu Avuka ]
Abhishek lohiya
Greenhorn

Joined: Oct 06, 2008
Posts: 2
Rendered property is only for enabling or disabling component value
that takes boolean which is by default true

As you said you are adding one row by add button.
as one you submit new record , you add into old collection I guess
Just assure that jsf property of that collection should mapped with business bean not with pagebean as Business Bean Scope is at session level & Page bean
Scope is at Request level

So ,Problem is with page scope not with rendered...
Edukondalu Avula
Greenhorn

Joined: Oct 03, 2008
Posts: 5
i already change the scope level, still i get the same problem
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: i had problem with h:datatable
 
Similar Threads
datatable renders empty rows
<h:inputText tag in JSF not updating the managed bean values when attribute is readonly=true.
How to save scroll position after dataTable refresh by a4j:poll ?
JSF dynmaic columns generation
Setting the Cursor to an Input-Text in the last row of an h:dataTable