How to make a page remember custom properties across user sessions
I found that a page "remembers/maintains" its state - for example, all fields on the page are saved even if you click on hyper links to go to other pages and come back to your original page, it will still have the data you entered. This even works for data table and sorting.
Now, if I add a custom property (i.e String customerID), then its value is not saved. As soon as I click on a link and come back to the same page, the value goes back to default value -- even when all the other components in the page have maintained it value/state.
I could make the property in SessionBean, but then my SessionBean will look ugly with way too many properties (one for each RowSet parameter, i.e customerID, partID, userID, shipmentID, and 20 other IDs, etc..). In the examples, they have used SessionBean for this purpose. I thought that since all components of a page remember its state, then custom properties should do that too, why not?
Message was edited by:
Sabir

