I've got a menu item generated from a database with a pagelink like this <t:pagelink page="prop:drop.page" context="dropContext" style="${drop.style}" >${drop.label}</t:pagelink>
I've added a search function to one of the linked pages that adds parameters to the URL with <t:pagelink ... parameters="search">Page</t:pagelink> I'd like to make the menu item clear the search so I tried this: <t:pagelink page="prop:drop.page" context="dropContext" style="${drop .style}" parameters="{}">${drop.label}</t:pagelink> but it does not work. It seems Tapestry is clever enough to always add my search criteria to the parameter map. This would be easy enough to fix if my menu was not driven from a database but I don't see an easy to make my generic menu know how to fix this. It would seem useful to be able to say <t:pagelink ... parameters="null">Page</t:pagelink> but parameters cannot be set to null. Any suggestions?