"[EMAIL PROTECTED]" 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>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099356#4099356

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099356
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to