No-one has an answer?
Is it an hard task? Or: my question is not clear? Do you need any other information?
what does it mean:
I want to integrate the xhtml files I created and deployed inside the PAR file inside my web application
Tell us about your application.. you don't use the web console?
give us more details
Thank you very much for your reply.
>Tell us about your application.. you don't use the web console?
>give us more details
No. I don't use the web console. I want to integrate the pages inside my own web application (much likely the web console does).
Which would be the best way?
I' need to show the xhtml pages I deployed inside the .par file embedded inside my web application pages.
Thank you in advance,
This xhtmls generated inside the Eclipse Designer are for use it in the jbpm-console very quickly, if you want to use it in your web application, you must use the same web frameworks to include the xhtml and probably do it in the same way.
May be the best approach is not use the PAR package and deploy your process with a java application and then your webapp use the process but not your presentation inside the PAR.
Hope it helps
That's a pity...
I wanted to give the team who developes flows the ability to define the flow and the input forms, so that they could update the whole flow (both the XML and the forms) in one time, without requiring to deploy again the web application...
Than, in my web application I would just need to show the pages they declared inside the PAR file...
I'll go on implementing my own interface and just using jBPM for flow execution.
Thank you very much!
I think this is the best approach.. but you can also look in how the jbpm-console include your deployed PAR.
But I personally think that is a wasting of time.
Just to close the discussion, in the event someone will find it useful (or has better ideas).
I'll go on this way:
1) I'll use ZK for the presentation LAYER (http://www.zkoss.org)
2) I'll declare a PAGE variable inside the task definition.
The PAGE variable will contain the .zul page definition (an XML file) containing all the code
needed to run the page. If some logic is needed, the page will contain the needed ZSCRIPT code.
My web application will work this way:
1) Will retrieve the current TASK(s).
2) Will ask the TASK for the content of the PAGE variable
3) Will show the .zul page as read from the PAGE variable (through Executions.createComponentsDirectly)