This content has been marked as final.
Show 4 replies
-
1. Re: I have come to the conclusion that Page Actions do not w
justinwalsh Jul 20, 2006 12:44 AM (in response to c_eric_ray)Well - if you give us some ideas (i.e. 'working' code) that illustrates your concerns we may be able to help out.
-
2. Re: I have come to the conclusion that Page Actions do not w
samirgalsod Jul 20, 2006 3:08 AM (in response to c_eric_ray)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; }
-
3. Re: I have come to the conclusion that Page Actions do not w
c_eric_ray Jul 20, 2006 10:22 AM (in response to c_eric_ray)Yes, I agree. It works. It wasn't clear to me that the view-id property was the actual name of the file. I'm using facelets and was replacing the file extension with .jsf. I needed to leave it as .xhtml. Once I figured that out, it worked just fine.
I though I needed to use the DEFAULT_SUFFIX in the view-id. I didn't.
Thanks.
Eric Ray -
4. Re: I have come to the conclusion that Page Actions do not w
gavin.king Jul 20, 2006 2:01 PM (in response to c_eric_ray)It is a JSF view-id, not a URL fragment.