-
1. Re: jBPM Task Form
ziccardi Nov 4, 2008 8:52 AM (in response to ziccardi)No-one has an answer?
Is it an hard task? Or: my question is not clear? Do you need any other information?
Regards,
Massimiliano -
2. Re: jBPM Task Form
salaboy21 Nov 4, 2008 8:56 AM (in response to ziccardi)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 -
3. Re: jBPM Task Form
ziccardi Nov 4, 2008 9:00 AM (in response to ziccardi)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,
Massimiliano -
4. Re: jBPM Task Form
salaboy21 Nov 4, 2008 9:04 AM (in response to ziccardi)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 -
5. Re: jBPM Task Form
ziccardi Nov 4, 2008 9:10 AM (in response to ziccardi)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! -
6. Re: jBPM Task Form
salaboy21 Nov 4, 2008 9:12 AM (in response to ziccardi)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. -
7. Re: jBPM Task Form
ziccardi Nov 4, 2008 9:46 AM (in response to ziccardi)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)
Regards,
Massimiliano
Regards,
Massimiliano