This content has been marked as final.
Show 2 replies
-
1. Re: Begin / end conversation on the same view-id/page
jbuechel Oct 31, 2007 4:18 AM (in response to jbuechel)Finally i tried the following in pre.page.xhtml (replaced the button with action execute, which calls an empty action method):
<?xml version="1.0" encoding="UTF-8"?> <page xmlns="http://jboss.com/products/seam/pages" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd"> <end-conversation /> <action execute="#{navigatior.openQueryCatalog}" /> <navigation from-action="#{navigatior.openQueryCatalog}"> <begin-conversation flush-mode="manual" /> <redirect view-id="/modules/queryCatalog/catalog/main.xhtml" /> </navigation> </page>
It seems to work..
Is this the way to do it or does anyone know a better solution? -
2. Re: Begin / end conversation on the same view-id/page
pmuir Oct 31, 2007 11:31 AM (in response to jbuechel)You can't end and start a *new* long running conversation in the same request without using before-redirect. And Seam really isn't designed to be used with this model. Better to design your app not to need this.