cancel
Showing results for 
Search instead for 
Did you mean: 

Class attributes gets cleared in BSP page

Former Member
0 Kudos

Hi,

I am using HTMLB (htmlb:tableview) to display internal table which is working perfectly fine. But, when i click on the page down or page up button in the tableview, the control goes to page event (onCreate) everytime.

Due to this if I had set an attribute of the application class in the earlier page, in the current page its available for the first time. But on any htmlb events (in my case, page up or page down), the application attributes gets cleared.

I guess the session id also change. I dont know the exact reason.

Any help in this matter would be highly appreciated.

Regards,

Shankar

Accepted Solutions (0)

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

the page goes to onCreate on every server roundtrip if its stateless application. if you want to avoid this make your application stateful. (attribute of BSP application)

Regards

Raja

Former Member
0 Kudos

Hi,

The BSP application is stateful, still this problem occurs.

Regards,

Shankar

norbertk
Participant
0 Kudos

hi,

perhaps the status in the properties of the bsp-page is set to 'Stateless from now on'? or you have cookies disabled?

regards,

norbert