tapestry5 custom page context
My problem was to store in a clean way different fields (filters) used for displaying a page (a list of products, in my case). I wanted to handle the case where only some of the fields may be present at a given time. The easiest way would be to encapsulate all possible fields in a new class, and use it as a page context (the new tapestry5 concept, to avoid using http session).
The solution (not at all easy to find, due to lack of documentation, but found a way thanks to Len, who took the time to look in Tapestry source code):






