Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-2284

Making CForms working in JSR-168 portlets

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.12
    • None
    • None

    Description

      I started from the wiki page at [1]: rather good, even though quite bound to pluto 1.0. I could easily adapt the procedure to Open Portlet Container [2] and Sun Portal Server; unfortunately, when it comes to CForms, the only pointer is [3], very out of date nowadays.

      The main issue in CForms is related to the fact that also [2] points out: Portlet's ActionRequest can not have any response body. After some struggling, I found the solution by modifying Form.js' sendFormAndWait() to be able to cope with the former issue.

      Another smaller issue is related to resources URI (for CSS and JS) that must be adapted and rewritten by the LinkRewriter in order to be effective.

      [1] http://wiki.apache.org/cocoon/CocoonAppAsJSR168Portlet
      [2] https://portlet-container.dev.java.net/
      [3] http://blog.reverycodes.com/archives/000018.html

      Attachments

        1. cocoon-2.1.11-as-portlet.tar.gz
          16 kB
          Francesco Chicchiriccò
        2. Form.js
          5 kB
          Francesco Chicchiriccò

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ilgrosso Francesco Chicchiriccò
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: