[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2519) Support integration with external editor for BPMN 2.0 edition
Antoine Toulme (JIRA)
jira-events at lists.jboss.org
Tue May 25 22:13:55 EDT 2010
[ https://jira.jboss.org/browse/JBRULES-2519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Toulme updated JBRULES-2519:
------------------------------------
Attachment: JBRULES-2519.txt
Sorry, the right file...
> Support integration with external editor for BPMN 2.0 edition
> -------------------------------------------------------------
>
> Key: JBRULES-2519
> URL: https://jira.jboss.org/browse/JBRULES-2519
> Project: Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: drools-guvnor
> Affects Versions: 5.1.0.M1
> Reporter: Antoine Toulme
> Assignee: Mark Proctor
> Attachments: diff_resources.txt, JBRULES-2519.txt
>
>
> And before you ask, the editor is Oryx.
> So here is how it goes. We use a GWT object to create an editor. The editor loads Oryx as an iframe, taking control over it by making sure domains match.
> When we click on Save, the GWT object talks with the editor to get the current model (in JSON). It saves the JSON.
> Load is a bit trickier. We load the model from the repository, (note that since Oryx use JSON to load its internal model, I am being very forgiving of what is being loaded, which is bad). I used a separate servlet for this as I didn't know Seam well. When loading the iframe, I add a parameter to the URL of the iframe, "uuid". The parameter is used to call the servlet, which returns the model as JSON.
> It works like a charm on Safari but needs to be QA'ed on different browsers.
> Of course, hacking Guvnor is only half the battle. Most of the changes went to Oryx. We maintain a branch of Oryx with those changes here:
> http://github.com/intalio/process-designer/
> I will also open bugs for those changes to be brought back to the stock Oryx repo.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list