Uploaded image for project: 'Agila'
  1. Agila
  2. AGILA-44

Option to use JSP Includes for rendering forms for Task nodes.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • BPM Console
    • None

    Description

      The existing HTTPRenderer used in the sample webapp only supports returning the html of the form as a String. This leads to an ugly StringBuffer exercise in the sample LeaveApplication process as noted in the code.

      The first patch provides an alternate renderer and adjusts the existing rendering mechanism to account for the new option.

      The second patch takes a different approach and can replace the first. It uses RequestDispatcher.include in the task's render method to accomplish the same goal, and also allows fall back behavior for tasks that wish to generate the form html as a string using some other method. It uses less overall code, but does rely on servlet spec 2.4 (agila bpm seems to already depend on 2.4 anyway).

      Attachments

        1. jspIncludeForm.patch
          18 kB
          Geoff Howard
        2. jspRenderingForm-2.patch
          14 kB
          Geoff Howard

        Activity

          People

            clim Christopher Giles A. Lim
            geoff.howard@gmail.com Geoff Howard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: