Hi all,
I can pass a parameter in a BookmarkablePage to the page called. But, I
think I cannot do the same with a page and an AjaxLink.
*Use case to solve*
There is a Link instance that reference to a page that renders an entity.
This entity is loaded getting the entity id from the page parameter.
This situation is repeated in an AjaxLink + Page that renders this entity.
*Problem*
If the ajax link is in a stateless page, for instance a page that receives
parameters; I got an expired session.
I would like to solve this use case with ajax and without ajax with the same
design, but I cant. This is because of reusing panel or components needs.
The only way to solve this is instead of using parameters, using the session
to store the entity. But the thing I dislike is that this entity live in the
request scope attribute. No longer.
Am I missing something?
--
Fernando Wermus.
www.linkedin.com/in/fernandowermus