I've created a friendly URL file for my abc-portlet (the portlet uses the DefaultFriendlyURLMapper
):
<routes>
<route>
<pattern>/{urlTitle}</pattern>
<implicit-parameter name="p_p_lifecycle">0</implicit-parameter>
<implicit-parameter name="struts_action">/view</implicit-parameter>
</route>
</routes>
This works like a charm, but I would like to understand, if there's a way to omit the "-" in the friendly URL? I.e.
http://.../page/-/abc/title
should be
http://.../page/abc/title