-
1. Re: Seam + Richfaces + Pageflow problem
sebasfiorent Oct 17, 2007 2:40 PM (in response to sebasfiorent)Another thing that doesn't work is the rich:include componente. If you use faces-config (uggg) navigation rules, it works as expected, but if you use jpdl navigation simply it doesn't work.
Regards
Sebastian -
2. Re: Seam + Richfaces + Pageflow problem
sebasfiorent Oct 17, 2007 3:33 PM (in response to sebasfiorent)In http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096257#4096257 alexsmirnov pointed to me that this is a know issue within seam. By the way, within jpdl pageflow xml, can I issue a "null" transition, i.e., to stay in the page? Remember, I have a decision in the jpdl, and if some condition is met, I need to stay within the page and give a "null" as outcome so ajax4jsf renders only the changed parts (a facesmessages).
Regards
Sebastian -
3. Re: Seam + Richfaces + Pageflow problem
pmuir Oct 24, 2007 12:14 PM (in response to sebasfiorent)Post the pageflow and the relevant xhtml snippets.
-
4. Re: Seam + Richfaces + Pageflow problem
sebasfiorent Oct 26, 2007 11:20 AM (in response to sebasfiorent)"pete.muir@jboss.org" wrote:
Post the pageflow and the relevant xhtml snippets.
For the first issue, it's simple. I think that is a new feature within pageflow.xsd. The feature would be "abort" pageflow or "stay in page" (which means to issue a null outcome, so ajax4jsf recognizes and can make ajax responses).
For the second one (the one which richfaces cannot navigate using seam pageflow) the xhtml is:
A.XHTML<h:panelGroup id="wizard"> <a:include id="idInclude" viewId="B.XHTML" /> </h:panelGroup>
And B.XHTML is:<tr:panelBox id="idPanel12" background="medium" inlineStyle="width:100%"> <trh:rowLayout id="idPanel13" width="100%"> <trh:cellFormat id="idPanel14" halign="center"> <tr:panelGroupLayout id="idPanel15" layout="horizontal"> <f:facet name="separator"> <tr:spacer width="10" height="1" /> </f:facet> <a:commandButton value="Siguiente >>" style="float:left" action="next" reRender="wizard"/> <a:commandButton value="Limpiar" style="float:right" /> </tr:panelGroupLayout> </trh:cellFormat> </trh:rowLayout> </tr:panelBox>
And the jpdl is:<page name="A" view-id="/A.xhtml"> <transition name="next" to="B"> </transition> </page> <page name="B" view-id="/B.xhtml"> <transition name="first" to="A"> </transition> </page>
Using JPDL doesn't work,as alexsmirnov pointed to me in richfaces forum (see my previous post in this topic).
But if I use faces-config.xml, it works. This is the relevant faces-config.xml:<navigation-rule> <from-view-id>/A.xhtml</from-view-id> <navigation-case> <from-outcome>next</from-outcome> <to-view-id>/B.xhtml</to-view-id> </navigation-case> </navigation-rule> <navigation-rule> <from-view-id>/B.xhtml</from-view-id> <navigation-case> <from-outcome>first</from-outcome> <to-view-id>/A.xhtml</to-view-id> </navigation-case> </navigation-rule>
-
5. Re: Seam + Richfaces + Pageflow problem
pmuir Oct 31, 2007 7:58 AM (in response to sebasfiorent)For the first issue, please, as I asked, post your jpdl and xhtml - I want a clear view of your use case.
For the second issue, please file a feature request in Seam JIRA and we'll see what we can do.