cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] MigratingFrom2.0.4To2.1dev Stefanomazzocchi StevenCummings FileUploadWithAction Sun Mar 30 23:00:06 2003
Date Sun, 30 Mar 2003 21:00:06 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=MigratingFrom2.0.4To2.1dev , version: 2 on Sun
Mar 30 20:51:50 2003 by StevenCummings

- ** Specifically, using sunshine under 2.0.X required the prefix of request variables passed
to the authentication pipeline with the string {{"prefix:"}}. Now you just have to surround
that with braces as in {{"{request:username}"}}. This is basically the standard usage of input
modules now.
?                                                                                        
                                                      -  ^^^

+ ** Specifically, using sunshine under 2.0.X required the prefix of request variables passed
to the authentication pipeline with the string {{"request:"}}. Now you just have to surround
that with braces as in {{"{request-param:username}"}}. This is basically the standard usage
of input modules now.
?                                                                                        
                                                        ^^^^^                            
                                         ++++++



Page: http://wiki.cocoondev.org/Wiki.jsp?page=Stefanomazzocchi , version: 6 on Sun Mar 30
20:11:29 2003 by Stefanomazzocchi

- That's why the call me the "Herald of Random Thought" :-)
+ That's why they call me the "Herald of Random Thought" :-)
?               +



Page: http://wiki.cocoondev.org/Wiki.jsp?page=StevenCummings , version: 8 on Sun Mar 30 20:21:43
2003 by StevenCummings

- ** Primary for mailing-lists/development: cummingscs@netscape.net
+ ** Primary for mailing-lists/development: [cummingscs@netscape.net|mailto:cummingscs@netscape.net]
?                                           +                       ++++++++++++++++++++++++++++++++

- ** Primary academic: steven@mizzou.edu (alias: csc635@mizzou.edu)
?                                       ^^  ^^ ^^^^^^^^           ^

+ ** Primary academic: [steven@mizzou.edu|mailto:steven@mizzou.edu]
?                      +                 ^^ + ^^^ ^^^^^           ^

- ** Secondary: cscummings@hotmail.com
+ ** Secondary: [cscummings@hotmail.com|mailto:cscummings@hotmail.com]


Page: http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadWithAction , version: 9 on Sun Mar
30 20:13:12 2003 by Stefanomazzocchi

- import org.apache.cocoon.components.request.multipart.FilePartFile;
?                                                               ----

+ import org.apache.cocoon.components.request.multipart.FilePart;
-         FilePartFile filePartFile = 
-           (FilePartFile)request.get("uploaded_file");
?                    ----

+         FilePart filePart = (FilePart) request.get("uploaded_file");
?         ++++++++ ++++++++++           +

-         File file = filePartFile.getFile();
?                             ----

+         File file = filePart.getFile();
-         getLogger().debug("Uploaded file = " +
+         getLogger().debug("Uploaded file = " + file.getCanonicalPath());
?                                               ++++++++++++++++++++++++++

-           file.getCanonicalPath());



Mime
View raw message