Dialog and URL Parameters

Splash Forums PrettyFaces Users Dialog and URL Parameters

Tagged: 

This topic contains 0 replies, has 1 voice, and was last updated by  Ryaryu 2 years, 3 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #26106

    Ryaryu
    Participant

    Hi!

    I have this problem: when i try to open a dialog in a page with url parameters, Pretty faces throws a exception saying that the parameter is null, and the dialog is not drawed. There’s a way to resolve this?

    The exception:
    com.ocpsoft.pretty.PrettyException: PrettyFaces: Exception occurred while building URL for MappingId < URL_ID >, Required value < #{value} > was null

    And the config:

    <url-mapping id="URL_ID" onPostback="false">
    	<pattern value="/page/#{ value }"></pattern>
    	<view-id value="/faces/pages/page.xhtml" />
    </url-mapping>
    

    Edit:
    Oh, I got it. Using onPostback=”true” resolved the issue.

    Regards,
    Ryaryu.

    • This topic was modified 2 years, 3 months ago by  Ryaryu.
    • This topic was modified 2 years, 3 months ago by  Ryaryu.
    • This topic was modified 2 years, 3 months ago by  Ryaryu.
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Comments are closed.