I'm having a weird navigation issue I'm not sure how to solve.
I have what is basically a product details page that looks pretty close to the example @Inject private ProductDAO _dao; private Product _product; private long _productId; public void setProductId(long productId) { _productId = productId; } void onActivate(long productId) { _productId = productId; _product = _dao.getById(_productId); } long onPassivate() { return _productId; } In my product detail page I also include a grid of information that is pulled from an additional source. For instance, if my detail page is displaying information about a music album it would look like this. Album: Name Artist: Artist Name Date Published: Date Track Listing: [Grid of tracks] The problem I am having is that every time the grid has multiple pages worth of data and I click on the other pages to view, it somehow loses the productId context and displays a NullPointerException. How can I make sure that the productId context is maintained? I have attempted to put a @Persist annotation on the variable but it didn't seem to make a difference. Any help on this would be great! Thanks. Jean-Philippe Steinmetz