1 Reply Latest reply on Sep 3, 2009 8:51 AM by Ronald van Kuijk

    jbpm 4.1 and struts - architeture solution

    Josh S Newbie

      Hi everybody,

      i intend to combine jbpm 4.1 with struts (and spring). I think, that is in itself a good thing.
      But now i think about how to integrate human tasks inside my web application. The problem is, that for a special human task type, which is defined in the jpdl file, a special page with information on it should be shown, when the user has selected one task from her/his task list page and want to complete this task.
      Maybe i could define the following page in the tasklist jsp, but for many different task types, it would be very confusing and in case a new task is defined in the jpdl file, this jsp have to be changed,
      I have heard of freemarker templates, but is this possible to integrate with struts?
      i hope you get my problem and can help me to find a good expandable architeture solution for this (or an example would be nice ;))
      Thanks for your answers,
      Josh

        • 1. Re: jbpm 4.1 and struts - architeture solution
          Ronald van Kuijk Master

           

          i intend to combine jbpm 4.1 with struts (and spring). I think, that is in itself a good thing.

          Depends... struts 1? hmmm..

          i hope you get my problem


          Not really. If you can load jsp pages runtime from e.g. the process repository, you can use these as well. Each task its own jsp. But you can probably also use ftl if your framework (Struts(2)) supports it: http://ajava.org/online/struts2.1.6api/org/apache/struts2/views/freemarker/package-use.html