Re: [Dev] Rendering the BPMN diagram in process definition page

2014-03-19 Thread Amal Gunatilake
Hi Chathura, Syntax highlighting for BPMN xml is also done. I achieved this by embedding the SyntaxHighlighter https://code.google.com/p/syntaxhighlighter/. Please find the patch @ https://wso2.org/jira/browse/BPS-485 I have a BPMN sample for testing the instance variables but in-order to start

[Dev] Rendering the BPMN diagram in process definition page

2014-03-18 Thread Amal Gunatilake
Hi Chathura, The Activiti sends the Image as a InputStream. I convert it to a byte array String at the back end and once receive it at the front end UI component, I convert it to data uri byte array String. This way we will not need to write it to temporary image file. Instead we can straightaway

Re: [Dev] Rendering the BPMN diagram in process definition page

2014-03-18 Thread Chathura Ekanayake
Applied the patch. Nice work Amal. I think now we are almost done with the BPMN admin UI. TODOS: - Test instance variables view in the UI - Add syntax highlighting to BPMN xml view (if possible) Regards, Chathura On Tue, Mar 18, 2014 at 2:53 PM, Amal Gunatilake am...@wso2.com wrote: Hi