[jboss-user] [JBoss jBPM] - how to send parameters with jpdl

gazadonf do-not-reply at jboss.com
Wed Dec 5 10:28:02 EST 2007


Hy.

I'm susing jpdl to manage all my navigation.

I wonder to know how i can translate this with jpdl


  | <s:link view="/#{empty from ? 'Parameter' : from}.xhtml" 
  |                    value="Select" 
  |                       id="parameter">
  |                 <f:param name="parameterName" 
  |                         value="#{parameter.name}"/>
  |             </s:link>

First, i replace the view tag by an action tag like this

<s:link action="consultParam" 
  |                    value="Select" 
  |                       id="parameter">
  |                 <f:param name="parameterName" 
  |                         value="#{parameter.name}"/>
  |             </s:link>

with this transition declare in my jpdl
  | ...
  | <transition name="consultParam" to="consultParam">
  |         </transition>
  | </page>
  | 
  | 	<page name="consultParam" view-id="/Parameter/Parameter.xhtml">
  |         <redirect/>
  | 		<transition to="gestionParam" name="retour"></transition>
  | 		<transition name="menu" to="menuGestion"></transition>
  | 		<transition name="editParam" to="createParam"></transition>
  | 	</page>


 but what do i have to do to forward the parameter??

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110564



More information about the jboss-user mailing list