Hi I see this anwer by BalusC Creating master-detail pages for entities, how to link them and which bean scope to choose
What i am looking for is a way to pass an input value as a request GET param. Suppose I have a page1 with search form like this:
<h:form>
<h1>Search</h1>
Search Person
<p:inputText value="#{personBean.personName}"/>
<p:commandButton value="Find" action="personData.xhtml?faces-redirect=true"/>
</h:form>
And have a second page (page2) to show the person´s data like this:
<h:head>
<f:metadata>
<f:viewParam name="personName" value="#{person}" converter="#{personConverter}"converterMessage="bla bla"
required="true" requiredMessage="bla bla" />
</f:metadata>
<title>Facelet Title</title>
</h:head>
<h:body>
Hello from Facelets
<p:messages/>
Here show person Data.....
</h:body>
My question is how to pass the input value from page1 as a GET request param to page2, so in this way i can have bookmarkeability in page2. Thanks in advance. Sorry for my english :)