Re: PrettyFaces – Bypass filtering a pattern

Splash Forums PrettyFaces Users PrettyFaces – Bypass filtering a pattern Re: PrettyFaces – Bypass filtering a pattern

#23054

rbento
Participant

Hello, thanks for answering.

Here is my environment:

– GlassFish 3.1.2.2

– PrettyFaces 3.3.3

– No PrettyFaces config in web.xml (works fine!)

Now that you mentioned the error page, I guess the culprit is this rule:

<url-mapping id="load">
<pattern value="/#{ /[A-Z0-9]{32}/ key : myBean.key }" />
<view-id value="/index.xhtml" />
<action>#{myBean.load}</action>
</url-mapping>

It is probably taking /image as a key parameter, even if it fails the regex evaluation.

Is there any way to make it ignore the /image? Could you please help me fix this?

Hugs,

Rod