[jboss-user] [JBoss Seam] - Re: Keep faces messages after redirect

amitev do-not-reply at jboss.com
Sun Sep 23 03:44:26 EDT 2007


I have configured the seam redirect filter


  | <filter>
  | 		<filter-name>Seam Redirect Filter</filter-name>
  | 		<filter-class>
  | 			org.jboss.seam.servlet.SeamRedirectFilter
  | 		</filter-class>
  | 	</filter>
  | 
  | 	<filter-mapping>
  | 		<filter-name>Seam Redirect Filter</filter-name>
  | 		<url-pattern>/*</url-pattern>
  | 	</filter-mapping>

This is my java code


  | public String createAccount() {
  |     entityManager.persist(account);
  |     facesMessages.add("Account \'#{account.name}\' created");
  |     return "/accounts/list.xhtml";
  | }
  | 

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

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



More information about the jboss-user mailing list