There is probably something I got wrong - but here is my case:
| <?xml version='1.0' encoding='UTF-8'?>
| <html
xmlns="http://www.w3.org/1999/xhtml"
|
xmlns:h="http://java.sun.com/jsf/html">
| <head></head>
| <body>
| <h:form>
| #{test}
| </h:form>
| </body>
| </html>
|
and a page parameter mapping
| <page view-id="/test.xhtml">
| <param name="testValue" value="#{test}"/>
| </page>
|
Requsting the page /test.jsf?testValue=123 outputs 123
However, if requesting /test.jsf?testValue=456 afterwards
123 is still displayed.
Note that this only happens if including the form on the page.
I was planning of using the page parameter to make my pages bookmarkable, but it seems to
be trickier then I though. There must me something obvious that I'm missing?
My workaround for now has been to extend SeamPhaseListener and make sure
Pages.instance().applyRequestParameterValues(facesContext) is always executed in the
afterRestoreView() function. This feels a bit scary, since I'm not that familiar with
the inner workings of this stuff.
Any suggestions?
I'm running Seam 1.2.1.GA, Facelets 1.1.11 and MyFaces 1.1.6 nighly build from March.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036317#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...