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

    Params in redirection after conversation ends

    Miloslav Vlach Novice

      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