0 Replies Latest reply on May 5, 2008 10:37 PM by mvlach

    Params in redirection after conversation ends

    mvlach

      Hi,


      I have problem with this. I am using the EntityHome class (SlaHome) and after slaHome.persist method call I would like to redirect to the apropriate page. In component (slaHome) I have a parentId.


      In editsla.page.xml I have this:


                     
      ...
      <redirect view-id="/listcategory.xhtml">
      <param name="parent" value="#{slaHome.parentId}" />
      </redirect>
      ...
      



      But the slaHome return null value. I think this is because of conversation end. How can I end conversation after calling this method ? I have tried

      @End(beforeRedirect=false)

      ,
      <end-conversation />

      in editsla.page.xml but with no effect.


      Where is the problem ?


      Thanks Mila