1 Reply Latest reply on Dec 5, 2007 11:56 AM by Laurent Parcet

    how to send parameters with jpdl

    Laurent Parcet Newbie

      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??