cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24529] New: - file upload with flowscript : a basic upload component source code
Date Sat, 08 Nov 2003 18:17:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24529>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24529

file upload with flowscript : a basic upload component source code

           Summary: file upload with flowscript : a basic upload component
                    source code
           Product: Cocoon 2
           Version: 2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: general components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: nicoo_@hotmail.com


hy, 
 i coded a basic upload component based on the upload action  of the cocoon 
handbook:
To use it, you must add the component role in a file user.xroles

<?xml version="1.0" encoding="UTF-8"?>
<role-list>
<role name="lab.crip5.ECR.cocoon.components.UploadManager"
    shorthand="upload_manager"
    default-class="lab.crip5.ECR.cocoon.components.UploadManagerImpl"/>
</role-list>

and setup the cocoon.xconf  to use the file 
<cocoon version="2.1" user-roles="/WEB-INF/user.xroles">

so now we can use the flowscript upload sample in the cocoon wiki !

Mime
View raw message