I am trying to use tuckey.org's urlrewriter to rewrite a link generated using seam tag s:link.
Following outbound rule works,
<outbound-rule encodefirst="true"> <from>^/shop/productSearchForm\.jsf(.+)$</from> <to>catalogItemID/test</to> </outbound-rule>
<outbound-rule encodefirst="true"> <from>^/shop/productSearchForm\.jsf\?param1=(\d+)(.+)$</from> <to>catalogItemID/test</to> </outbound-rule>