Hello, I am accustomed to working with Wicket's url parameter pairs, for example, to add a 'page' parameter to a url, the url would be appended like so: /home/page/1. If the page attribute was missing however, the entire pair would be removed, so just /home would display.
I'm looking for a similar ability in Stripes. I have since switched conventions to using /home/page-1, which can be mapped like so "/home/page-{page=1}". Fortunately for pages, I would always prefer to have a default page value, so the default value saves the day in this particular example, but I am not always so lucky. For search results for example, there are many optional parameters. If the parameter is missing however, I'd rather not have a url formed like this: /search/date-/category-/query-Something, I need it to omit the missing parameters and simply display /search/query-Something. I realize one solution is to remove the prefixes but I am still left with a url like /search/////query-Something. Is there anything I can override that handles the url binding, so I can simply remove everything to the previous '/' when a parameter is not found?
------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users