Tom and I made some breaking changes to Seam pageflow today. I've been trying 
to break as little as possible in 1.0, but this one was worth the pain.



First:

If you begin a pageflow while rendering the page (eg. from an @Factory or 
@Create method while pulling data for the page), you should no longer begin the 
pageflow with a <start-state>. This was an extremely inelegant model, since it 
implied a transition into the page we are already at!

Instead, the first node of the pageflow should be a <start-page>. Take a look 
at the numberguess example to see what this looks like.

Migration should be easy: simply delete three lines of code, and rename the 
first  element to <start-page>.

Note that where pageflows begin via an action method, the old way is still the 
correct way!

Second:

I have migrated to a CVS build of jBPM 3.1, which as of right now *requires* a 
jbpm.cfg.xml file even for pageflow. I'm going to try and work with Tom to make 
this change unnecessary, but for now, simply copy the jbpm.cfg.xml in the 
numberguess example into your project.

Third:

The awful seam-jndi.properties files are no longer required. Instead, Seam 
reads the jndi.properties file in embeddable-ejb/conf or microcontainer/conf.



Nope that this stuff is not too disruptive.


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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to