Begin forwarded message:
Date: Thu, 5 Dec 2002 16:29:23 +0900
From: Sang-Hoon RHEE <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Fwd: Re: [pws] Christian Noacks enhancements with ComSwiki 1.3
Hi,
Since pws@ mailing list normally ignores my posting (maybe because of
my e-mail address?), I forward this message to your personal e-mail
address, too.
I wish this will help you.
--
Serge Stinckwich -< ) multiagent.com
Universit� de Caen>CNRS UMR 6072>GREYC>MAD /~\ squeak.org
http://www.iutc3.unicaen.fr/serge/ (/ | zope.org
Smalltalkers do: [:it | All with: Class, (And love: it)] _|_/ debian.org
--- Begin Message ---
Hi,
Try the attached changeset I just made.
I guess you must also install HarvestMoonEnh.tar.gz from
http://minnow.cc.gatech.edu/swiki/90 . (You already did, aren't you?)
On Wed, Dec 04, 2002 at 03:54:03PM +0100, Serge Stinckwich wrote:
> Hi all,
>
> i'm trying to use the Chris Noacks enhancements with ComSwiki 1.3 :
>http://minnow.cc.gatech.edu/swiki/76
> When i try to create an advancedDocs Wiki with the Wiki adminstration interface,
>nothing happens, the Wiki is never created ...
> Do you have any ideas ?
>
> Best regards,
>
> --
> Serge Stinckwich -< ) multiagent.com
> Universit? de Caen>CNRS UMR 6072>GREYC>MAD /~\ squeak.org
> http://www.iutc3.unicaen.fr/serge/ (/ | zope.org
> Smalltalkers do: [:it | All with: Class, (And love: it)] _|_/ debian.org
>
'From Squeak3.0 of 4 February 2001 [latest update: #3552] on 5 December 2002 at
3:28:57 pm'!
!HttpRequest methodsFor: 'accessing' stamp: 'shr 12/5/2002 15:27'!
postFields
"Answer the multipart fields for a post request (if in fact this is a
POST request"
^ self
propertyAt: #postFields
ifAbsentPut: [
"parse POST fields in the body of request, if it's
standard form data"
self isPostRequest
ifTrue: [self contentType = MIMEDocument contentTypeFormData
ifTrue: [HttpParser
decodeUrlEncodedForm: self rawPostFields multipleValues: true]
ifFalse: [| postFieldsDict |
postFieldsDict _ Dictionary new.
(self contentType = MIMEDocument contentTypeMultipart
and: [(url alike: '.save')
= 5])
ifTrue: [self
multipartFormFieldsDo:
[:chunk |
| chunkStream |
chunkStream _ ReadWriteStream on: String new.
chunk
saveToStream: chunkStream.
postFieldsDict at: chunk fieldName put: chunkStream
contents]].
postFieldsDict]]
ifFalse: [Dictionary new]]! !
"Postscript:
Leave the
line above, and replace the rest of this comment by a useful one.
Executable
statements should follow this comment, and should
be separated by periods, with no
exclamation points (!!).
Be sure to put any further comments in double-quotes, like
this one."
" *** NOTICE ***
You must also edit settings.xml for advancedDoc swiki
to make it inherit from refs
instead of docs
"
!
--- End Message ---