[jboss-user] [JBoss Seam] - Re: How to test a page with page action method?

pete.muir@jboss.org do-not-reply at jboss.com
Sun Feb 3 17:16:52 EST 2008


On unit testing with a persistence context - yes you can do it (as in Michael's book) but I don't think it is sensible (I will suggest they take it out for the 2nd edition). 

On page actions - it "just works"

new FacesRequest("/foo.xhtml") {
  | 
  | }.run();

will run the page action.

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

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



More information about the jboss-user mailing list