[jboss-user] [JBoss Seam] - Re: I have come to the conclusion that Page Actions do not w

samirgalsod do-not-reply at jboss.com
Thu Jul 20 03:08:41 EDT 2006


Eric, I had the same experience with previous versions of seam, but with  1.0.1.GA it works nice.

In pages.xml (web-root/web/WEB-INF)

  | <pages>
  | 	<page view-id="/orders.jsp" 
  | action="#{orderBinding.doIt}" />
  | </pages>
  | 

In the backing bean:

  | @Name("orderBinding")
  | @Scope(EVENT)
  | public class OrderBindingBean {
  | 	
  | 	public String doIt() {
  | 		System.out.println("****************");
  | 		System.out.println("* it works********");
  | 		System.out.println("****************");
  | 		return null;
  | 	}
  | 



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

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



More information about the jboss-user mailing list