-
1. Re: Dynamic Pageflow with Seam
gavin.king Mar 22, 2006 1:24 AM (in response to go_rags)It is not currently possible to load a new pageflow at runtime. However, it would be easy enough to implement. Add a feature request to Seam JIRA.
-
2. Re: Dynamic Pageflow with Seam
ranik Apr 16, 2006 11:56 PM (in response to go_rags)Looks like a simple fix, would you be interested in taking a fix for this?
If so, please let me know the preferred option for exposing this via API and how to submit the fix.
1. replace a specific pageflow by providing a new method - 'public void installPageFlowDefinition(String pathPageFlow)' - this can be used to add new pageflows as well as update existing ones.
2. provide a new method - 'public void refreshPageFlowDefinitions()' which would do the equivalent of the current 'installPageflowDefinitions()'
3. Suggestions? - my vote is for #1.
Note: setPageFlowDefinitions didn't work it just sets the list of pageflow definitions, the code to actually load them and cache in an internal map runs during initialization only.
thanks,
Rani. -
3. Re: Dynamic Pageflow with Seam
gavin.king Apr 17, 2006 11:43 AM (in response to go_rags)(1) is about right, but I think its more flexible to let the pageflow be passed as a String.
-
4. Re: Dynamic Pageflow with Seam
gavin.king Apr 17, 2006 1:44 PM (in response to go_rags)Note that the JIRA issue is here:
http://jira.jboss.com/jira/browse/JBSEAM-176 -
5. Re: Dynamic Pageflow with Seam
ranik Apr 20, 2006 8:59 PM (in response to go_rags)I had attached a simple change to enable addition of dynamic pageflow to the jira issue yesterday. Is there already a unit test class for JBpm which I missed?
-
6. Re: Dynamic Pageflow with Seam
stealth_nsk Sep 28, 2006 8:06 AM (in response to go_rags)As I can see, this feature is already resolved. Could you please document how we could control handlers/viewers for dynamically loaded pageflows?
Could we use some kind of manager bean to provide information to and handle tasks from dynamic pageflows?
P.S. It would be a very powerful feature as it would allow user scripting in the way similar to Alfresco 1.4 jBPM implementation. -
7. Re: Dynamic Pageflow with Seam
gavin.king Sep 28, 2006 12:24 PM (in response to go_rags)Jbpm.instance().deployPageflowDefinition( Jbpm.instance().getPageflowDefinitionFromXxxxx("aResourceOrXmlDocument") );
-
8. Re: Dynamic Pageflow with Seam
stealth_nsk Sep 29, 2006 1:32 AM (in response to go_rags)Thank you for the information. However, one question still remain:
Is there any possibilities to set up handlers and data sources for those dynamic processes? I can describe my needs in more details:
I want users to be able to enter workflows in web application at runtime, using Rhino javascript scripts to process business processes from state to state. -
9. Re: Dynamic Pageflow with Seam
gavin.king Sep 29, 2006 11:59 AM (in response to go_rags)What is a "handler"?
What is a "datasource"? -
10. Re: Dynamic Pageflow with Seam
stealth_nsk Oct 2, 2006 2:26 AM (in response to go_rags)"gavin.king@jboss.com" wrote:
What is a "handler"?
What is a "datasource"?
Sorry for the mees in terms. I meant variables and scripts to make workflow work. In general, it's ok. I think I could deal with jPDL BeanShell scripts, however it would be better to have the ability of using external script library.