on 2006 Jan 12 1:24 AM
Hello Everybody
This is my situation.
I am getting table data of 2 tables from R/3 using JCA and displaying one table in a dropdown list and the other table in the TableViewModel.I have a submit button at the end in the JSP page. So when I click the submit button I am displaying another jsp page where I have a button to go back to the first page. When I am displaying the first page again the data in the Dropdown is displayed but the tableview data is not displaying only the table with heading is displayed. Can somebody please help me.
I tried several forum postings but not getting this problem resolved.
I am also having problem with getting the data from the selected row of this table(It is set to singleselect).
Any help or suggestion will be greatly aprreciated.
Thanks
Renu.
Hi,
Since you are moving between pages, the problem should be in the management of sessions. Check the bean model and the session attributes you are setting.
Regards,
Vijai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Renu, most commonly used scope is session but again it depends on why you want to make is application scope if there is a reason. Making it session scope should not be a problem.
Even if you have it at application scope level, try debugging and see if the table model object is removed or modified when you click go back button.
If you still have issue, could you post your let us know how you are retrieving the table model object in the JSP.
Regards
Siva
Hi Renu,
From the scenario you described it looks like you have lost the data in the model bean. If you are using session object to store the data make sure the session object is not cleared when you click back button.
Regards
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.