Re: [solved] Action error in pretty config xml

Splash Forums PrettyFaces Users [solved] Action error in pretty config xml Re: [solved] Action error in pretty config xml

#20165

smooth4me
Participant

Hi,

Thanks it worked. I am not getting the expected url. I was expecting

http://localhost:8080/mhealth250/faces/userHome?page=userHome

but I got the following url http://localhost:8080/mhealth250/faces/userHome.

and my configuration is

<pretty-config xmlns=”http://ocpsoft.com/prettyfaces/3.1.0″

xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”

xsi:schemaLocation=”http://ocpsoft.com/prettyfaces/3.1.0

http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.1.0.xsd“>

<url-mapping>

<pattern value=”/faces/userHome” />

<query-param name=”page”>#{dashboardBean.page}</query-param>

<view-id>/faces/user/userHome.faces</view-id>

</url-mapping>

</pretty-config>

Thanks for your help in advance.