You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Maurizio Pillitu (JIRA)" <ji...@apache.org> on 2006/11/01 23:41:17 UTC

[jira] Commented: (COCOON-1946) [PATCH] - Javaflow Sample errors trying to enhance Javaflow classes and showing cform templates

    [ http://issues.apache.org/jira/browse/COCOON-1946?page=comments#action_12446395 ] 
            
Maurizio Pillitu commented on COCOON-1946:
------------------------------------------

Using the last patchset, all the Javaflow samples work fine. You need to add manually the javaflow-sample dependency into the cocon-webapp pom.xml, as follows:

    <dependency>
      <groupId>org.apache.cocoon</groupId>
      <artifactId>cocoon-javaflow-sample</artifactId>
      <version>1.0.0-SNAPSHOT</version>
    </dependency>


> [PATCH] - Javaflow Sample errors trying to enhance Javaflow classes and showing cform templates
> -----------------------------------------------------------------------------------------------
>
>                 Key: COCOON-1946
>                 URL: http://issues.apache.org/jira/browse/COCOON-1946
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Java Flow
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Maurizio Pillitu
>         Attachments: cocoon-javaflow-r469213.diff, cocoon-javaflow-r470120.diff
>
>
> 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}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira