[JBoss-user] [JBoss Seam] - Re: Breaking changes to pageflow

2006-07-10 Thread rpiaggio
[EMAIL PROTECTED] wrote : Have your start-node transition directly to a 
decision node.  When the process is signaled, you will go through the decision 
node and, I assume, to a page node for display.  If you are in the situation 
mentioned where you need use start-page, you I guess you'd need to find a way 
to inject the actual process instance somewhere and signal it.

That's what I am doing but the change described above seems to break the 
correct behavior.

Here's how my pageflow starts:

  | pageflow-definition
  |   name=PaymentAuthorization
  |start-state name=start
  |   transition to=selectSource
  |   action expression=#{sourceManager.selectSource}/
  |   /transition
  |/start-state
  | 
  |decision name=selectSource expression=#{sourceManager.result}
  |   transition name=abort to=menu/transition   
  |   transition name=proceed to=requestPin/transition
  |   transition name=chooseSource to=chooseSource/transition
  |/decision
  | 

If the pageflow is started from this method via a POST it works:

  | @Begin(pageflow=PaymentAuthorization)
  | public  voidstart() {   
  | }
  | 

However, if I started via a GET (calling the above method via pages.xml) or via 
a method anneotated like this:

  | @Begin(ifOutcome=proceed, pageflow=PaymentAuthorization)
  | public  String  initiate() {
  | ...
  | }
  | 

then I get the following:java.lang.ClassCastException: 
org.jbpm.graph.node.StartState
  | at org.jboss.seam.core.Pageflow.getPage(Pageflow.java:129)
  | ...

which seems to be a direct result of the change described above, since the 
start node is forced to cast to a Page, which of course fails if it is a 
start-state instead.

Any ideas on how to start with a decision when forced to start with a page?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956645#3956645

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956645


-
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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Breaking changes to pageflow

2006-07-10 Thread [EMAIL PROTECTED]
Try beginning the conversation from a Seam page action.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956650#3956650

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956650


-
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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Breaking changes to pageflow

2006-07-10 Thread rpiaggio
How do I specify the pageflow to start from pages.xml?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956659#3956659

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956659


-
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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Breaking changes to pageflow

2006-07-10 Thread [EMAIL PROTECTED]
Add a @Begin annotation to the page action method.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956681#3956681

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956681


-
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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Breaking changes to pageflow

2006-07-10 Thread rpiaggio
That's what I was doing when I said:
anonymous wrote : 
  |   | @Begin(pageflow=PaymentAuthorization)
  |   | public  voidstart() {   
  |   | }
  | However, if I started via a GET (calling the above method via pages.xml) ...

When I do that, I get the ClassCastException:java.lang.ClassCastException: 
org.jbpm.graph.node.StartState
  | at org.jboss.seam.core.Pageflow.getPage(Pageflow.java:135)

due to this line in Pageflow.java:
   public Page getPage() 
  |{
  |   return (Page) getNode();
  |}

(Line number has changed because I just upgraded to Seam 1.0.1 to make sure we 
are on the same page).

Seems to me that a page node is expected instead of a start state and so the 
exception is thrown. 


Just in case, heres the extract from pages.xml: page   
view-id=/authorize.xhtml
  | action=#{authorizer.start} / 
  |  and from AuthorizerAction.java: @Name(authorizer)
  | @Stateful
  | @Scope(ScopeType.CONVERSATION)
  | public class AuthorizerAction implements Authorizer {
  | 
  | @Begin(pageflow=PaymentAuthorization)
  | public  voidstart() {   
  | }

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956733#3956733

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956733


-
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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Breaking changes to pageflow

2006-07-08 Thread [EMAIL PROTECTED]
Have your start-node transition directly to a decision node.  When the process 
is signaled, you will go through the decision node and, I assume, to a page 
node for display.  If you are in the situation mentioned where you need use 
start-page, you I guess you'd need to find a way to inject the actual process 
instance somewhere and signal it.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956375#3956375

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956375

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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Breaking changes to pageflow

2006-07-07 Thread rpiaggio
[EMAIL PROTECTED] wrote : 
  | 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.
  | 

How do I start with a decision node? I want my first page on the pageflow to 
respond to a decision.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956279#3956279

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956279

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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Breaking changes to pageflow

2006-05-01 Thread dajevtic
Hi. Any idea on when this start-page node will be supported by the eclipse ide? 
Great changes, by the way.

Regards, dj

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940523#3940523

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940523


---
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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Breaking changes to pageflow

2006-04-21 Thread bsmithjj
How about making a new beta release of Seam - I have trouble trying to figure 
out which version of facelets, EL, etc... I need to build complete application 
.war (for a Seam + Hibernate + Facelets style of application)... even though I 
try to use recent nightly releases, follow the documentation, look at the 
example code, etc.

Also, following the included readme.txt file doesn't cut it in the nightly 
builds.

anonymous wrote : 
  | Get Up And Running Quick
  | 
  | 
  | 1. Download JBoss AS 4.0.4.CR2 or later
  | 
  |http://www.jboss.com/products/jbossas/downloads
  |
  | 2. Install JBoss AS 4.0.4.CR2 with the EJB 3.0 profile selected
  | 
  | 3. Edit the build.properties file and change jboss.home to your 
  |JBoss AS installation directory
  | 
  | 4. Start JBoss AS by typing bin/run.sh in the JBoss home directory
  | 
  | 5. In the examples/booking directory, type ant deploy and check 
  |for any error messages
  |
  | 6. Point your browser to 
  | 
  |http://localhost:8080/seam-booking/
  |
  | 7. Register an account, search for hotels, book a room...
  | 

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3938710#3938710

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3938710


---
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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Breaking changes to pageflow

2006-04-20 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote : 
  | 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.
  | 

OK, this problem is now fixed. Ignore.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3938411#3938411

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3938411


---
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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Breaking changes to pageflow

2006-04-19 Thread [EMAIL PROTECTED]
Also note that all of the Seam examples (except for the remoting examples) now 
run on tomcat, and that we've now got a lot more tests :-)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3938328#3938328

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3938328


---
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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user