Skip to content

Instantly share code, notes, and snippets.

@mcihad
Created May 8, 2017 10:55
Show Gist options
  • Save mcihad/58b247d6dcadb3963a52d88f096a310c to your computer and use it in GitHub Desktop.
Save mcihad/58b247d6dcadb3963a52d88f096a310c to your computer and use it in GitHub Desktop.
How to get url parameter
<f:metadata>
<f:viewParam name="CustomerID" value="#{customerBean.customerId}" />
<f:event listener="#{customerBean.loadData()}" type="preRenderView" />
</f:metadata>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment