chkal/pf-issue-test — Issue #28: h:link render bad output
Author: chkal
Created: 2012-03-06 07:19:17+00:00
State: open

Originally filed by **evelS...@gmail.com** on 2010-01-05T19:24:43

Google Code issue: http://code.google.com/p/prettyfaces/issues/detail?id=27

What steps will reproduce the problem?
1. create view app/test.xhtml with content

2. add navigation-rule in faces-config.xml

/app/test.xhtml

out1
/app/out1.xhtml

out2
/app/out2.xhtml

3. add mapping in pretty-config.xml

/xxx.xxx
/app/test.xhtml

4. go to page http://localhost:8080/myApp/xxx.xxx

What is the expected output? What do you see instead?

h:link render output:
out1
out2

expected output:
out1
out2

What version of the product are you using? On what operating system?
mojarra-2.0.2
pretty-faces-2.0.3_RC1
glassfish v3

Please provide any additional information below.

web.xml

javax.faces.DEFAULT_SUFFIX
.xhtml

...

Faces Servlet
*.xhtml

It works fine if you add in faces-config.xml
de.laliluna.howto.application.FriendlyUrlViewHandler

class FriendlyUrlViewHandler you can download from
http://www.laliluna.de/download/framework-evaluation-samples.zip