-
-
2. Re: Parameters in pageflow
mankal Dec 4, 2008 4:09 PM (in response to mankal)What do you mean?
Of course with EL. I put <f:param name="userID" value="#{userHome.instance.id}"/> in the view, same almost everywhere in the pageflow. The browserbar shows only the cid parameter after the redirect.
What would be in general the correct way to propagate parameters in a pageflow?
-
3. Re: Parameters in pageflow
balazska Dec 4, 2008 4:31 PM (in response to mankal)I have a same problem when I use the navigation.xml.
Eliminate this, and use page.xml for the navigation. -
4. Re: Parameters in pageflow
mankal Dec 4, 2008 4:54 PM (in response to mankal)I don't have a navigation.xml.
Could you post your code if you've got it working?
And anyway, thanks for the reply...
-
5. Re: Parameters in pageflow
balazska Dec 4, 2008 5:00 PM (in response to mankal)<navigation>
<rule if-outcome="xyz">
<redirect view-id="/pages/xxx/yyyy.xhtml">
<param name="did" value="#{did}" converterId="javax.faces.Long"
required="true" />
</redirect>
</rule>
</navigation>
By the navigation always use absolut urls, ex: /pages/xxx/yyyy.xhtml
I think, this is your problem. :) -
6. Re: Parameters in pageflow
balazska Dec 4, 2008 5:01 PM (in response to mankal)<blockquote>
_babazs babazs wrote on Dec 04, 2008 17:00:_<br/>
<navigation>
<rule if-outcome="xyz">
<redirect view-id="/pages/xxx/yyyy.xhtml">
<param name="did" value="#{did}" converterId="javax.faces.Long"
required="true" />
</redirect>
</rule>
</navigation>
By the navigation always use full urls, ex: /pages/xxx/yyyy.xhtml
I think, this is your problem. :)
</blockquote>
Click HELP for text formatting instructions. Then edit this text and check the preview. -
7. Re: Parameters in pageflow
mankal Dec 4, 2008 5:08 PM (in response to mankal)Oh looks like a misunderstanding.
I was looking for a way to pass parameters from a jpdl pageflow definition.
But thanks ;-)
-
8. Re: Parameters in pageflow
wilczarz.wilczarz.gmail.com Feb 6, 2009 3:32 PM (in response to mankal)Did you find solution for your problem? In my case parameter declared in pages.xml also isn't passed properly despite being attached as f:param to s:button triggering the action.