[jboss-user] [JBoss Seam] - Re: Begin / end conversation on the same view-id/page

jbuechel do-not-reply at jboss.com
Wed Oct 31 04:18:38 EDT 2007


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?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100525#4100525

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100525



More information about the jboss-user mailing list