Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
26. Mar 2008, 23:32 CET | Link

Hi,

How can I nest a pageflow? The current subprocess tag acts more like a include than nestting.

Ty.

 

Marcell Manfrin Barbacena
Tribunal Superior Eleitoral
+55 (61) 3316-3645
mbarbacena a tse.gov.br
barbacena a gmail.com
Brazil - Brasília

4 Replies:
29. Mar 2008, 12:09 CET | Link

As I understand it, jBPM supports process composition and hence so does pageflow. I don't quite understand your use case, perhaps if you explain more fully what you want, you'll get some help.

 

Read about how to report a bug.

Rating:  * * * *
29. Mar 2008, 14:17 CET | Link

Hi Pete,

In simple, I want my pageflow to run concurrently with the parent. That is because my subflow start-page is going to open in another window. Let me give a example:

SomePageFlow.xhtml

...
  <page name="checkout" view-id="/cart/checkout.xhtml" >
    <description>Checkout</description>
    <transition name="credit" to="creditCard" />
    <transition name="debit" to="debitCard" />
    <transition name="changeAdress" to="changeAdress" />
  </page>

  <process-state name="creditCard" >
    <sub-process name="creditCardFlow" />
    <transition to="invoice" />
  </process-state>
  ...

/cart/checkout.xhtml

...
  <s:link action="credit" value="Credit card" target="_blank" />
 ...

I want my creditCardFlow to nest allowing the parent flow to keep going. The way it is, after I click to go at credit card every link at the parent will go to the creditCardFlow current state.

ps.: I actually do not open in another window (I use a tab view with a4j:page) and the link is not direct as I put in the example, but that is not the problem because changed to page navigation and everything works fine (but I really missing some pageflow functionality).

pss.: I'm running to another problem latelly. How can I use a pageflow as a subflow and as a result of a initial request? If I use the page-start to handle the initial request I can't use the pageflow as a subflow?

 

Marcell Manfrin Barbacena
Tribunal Superior Eleitoral
+55 (61) 3316-3645
mbarbacena a tse.gov.br
barbacena a gmail.com
Brazil - Brasília

29. Mar 2008, 14:41 CET | Link

I don't think Seam supports anything like that. I guess you could use nested conversations and start a separate pageflow in the nested conversation. But have a play, and let us know how you get on.

 

Read about how to report a bug.

Rating:  * * *
29. Mar 2008, 15:12 CET | Link

Hi,

As I said I changed to JSF page navigation. But I really miss functionalities of pageflow.

I tried lots of things. But my SVN points that the most pomissing one was to step out the pageflow nesting the conversation and starting a new pageflow:

<s:link value="Credit card" pageflow="creditCardFlow" propagation="nest" target="_blank" />

but, although it starts the pageflow, it gives Illegal navigation and does not nest the conversation.

Any hints?

 

Marcell Manfrin Barbacena
Tribunal Superior Eleitoral
+55 (61) 3316-3645
mbarbacena a tse.gov.br
barbacena a gmail.com
Brazil - Brasília