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

[PATCH] - Javaflow Sample errors trying to enhance Javaflow classes and showing cform templates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2
    • None
    • Blocks: Java Flow
    • None
    • Patch available

    Description

      In order to enable the runtime Javaflow class enhancement, the sitemap must provide a map:classloader configuration, defining the class-dir folder to be monitored. Since the class-dir may contain also non .class files, the BCELTransformer crashes whether the resource to transform is not a .class file.

      This patch introduces a JavaflowResourceStore that wraps the Commons JavaflowResourceStore and parses the include/exclude elements of the map:classloader sitemap configuration.

      Additionally, it fixes some bugs in the sample cforms, related to the Continuation references of the form templates:
      the reference #{$continuation/id}.cont must be changed to #{$cocoon/continuation/id}

      Attachments

        1. cocoon-javaflow-r469213.diff
          13 kB
          Maurizio Pillitu
        2. cocoon-javaflow-r470120.diff
          15 kB
          Maurizio Pillitu
        3. cocoon-javaflow-r481762.diff
          9 kB
          Maurizio Pillitu

        Activity

          People

            Unassigned Unassigned
            mauriziop Maurizio Pillitu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: