NO data after a page is loaded

Hello Freinds,

I am new to jsf. I have a jsf page containing a data table.One of the columns has a command link. When the user clicks on the command link, a action method is invoked and the page is redirected to a new page containing another datatable using a navigation-case

On the click action method is called correctly but when the resultant page is loaded it has no data. only header is displayed.

I think the bean is not updated in the session. Please note that the

bean is in session scope.

Any help is highly appreciated.

Thanks in advance.

[592 byte] By [jsf_ajax_usera] at [2007-11-27 11:27:52]
# 1

All I'm getting from this is that you have a page with a dataTable that is empty under certain conditions.

Are there any conditions when the dataTable is not empty?

Could you post the code (the definition of the dataTable and the bean that provides the data and the relevant portions of the faces-config)?

RaymondDeCampoa at 2007-7-29 16:18:37 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

HI Raymond,

I am able to solve that issue.

My problem was that I was using two separate beans for the initial data table and the second data table which gets populated after we click on the initial datatable.

After using the same bean for these two datatables solved the issue.

Now I am able to view both the datatables on the same jsp.

Thank you very much forthe prompt reply. I really appreciate that.

jsf_ajax_usera at 2007-7-29 16:18:37 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...