3 Replies Latest reply on Jun 10, 2008 8:26 AM by kukeltje

    Implementing Custom JBPM Console

    nizzy

      Hi All,

      We need to extend the functionality of the JBPM Console. Our other UI's are written using JSPs and utilizing struts2 framework;

      1. How easy sould it to be to extend the funtionality of the console so that it would "fit in" with our current architecture? (Suspect answer is: forget it!)

      2. Are there published APIs (backend), that the existing Console uses, that we could use to build a custom UI, using JSPs and struts?

        • 1. Re: Implementing Custom JBPM Console
          kukeltje

          1: if you van mix JSF and struts2 it probably would... but it's up to you

          2: there is no clean separation of the internal and external api's in jBPM 3.x, but the JbpmContext is a good start.

          • 2. Re: Implementing Custom JBPM Console
            nizzy

            Thanks,

            Think we will write our own web app. I'm not familiar with the technologies used to write the JBPM-Console. I'm looking at the console source to try and determine the JBPM calls made to populate the pages.

            In the processes.xhtml I see that the list of processes is populated from the variable #{proclist}.

            I assume this is rather like storing a variable on the stack when using struts.

            Can anyone point me to the class which request/sets this list? Am I on the right track?

            • 3. Re: Implementing Custom JBPM Console
              kukeltje

              This is done in JSF backingbeans... and the implementation is often very simple. Nothing more than calling a method on JbpmContext like getAllProcessdefinitions()