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 />
Where is the problem ?
Thanks Mila