cool.. thanks

now I have to figure out the compiling process.  I dumped the 2 files in the
..\components\module\input directory and start a build

.\build clean

then 

.\build.bat -Dinclude.webapp.libs=yes webapp

and sure enough, compiler says:

C:\NGWD\ToInstall\cocoon-2.1.5.1\src\java\org\apache\cocoon\components\modul
es\i
nput\URLDecodeModule.java:46: cannot resolve symbol
symbol  : method decode (java.lang.String,java.lang.String)
location: class org.apache.cocoon.util.NetUtils
            return NetUtils.decode(name, encoding);
                           ^
C:\NGWD\ToInstall\cocoon-2.1.5.1\src\java\org\apache\cocoon\components\modul
es\i
nput\URLEncodeModule.java:46: cannot resolve symbol
symbol  : method encode (java.lang.String,java.lang.String)
location: class org.apache.cocoon.util.NetUtils
            return NetUtils.encode(name, encoding);
                           ^
2 errors

BUILD FAILED
C:\NGWD\ToInstall\cocoon-2.1.5.1\tools\targets\compile-build.xml:60: Compile
fai
led; see the compiler error output for details.

Total time: 17 seconds

I had to also download the NetUtils.java , hoping that this class was not
required by any other class.. 

Compile worked fine, finally, 

replace the cocoon-2.1.5.1.jar with the new one, reloaded Cocoon

bam ! whoa.. that was not the right thing to do. the whole thing blew up.

Oh well.  I guess I'll have to move to 2.1.6

Thank you for your help.

Eric





-----Message d'origine-----
De : g[R]eK [mailto:[EMAIL PROTECTED]
Envoyé : 21 septembre, 2004 11:28
À : g[R]eK
Objet : Re[5]: spaces in request-param


<. Hi g[R]eK! .>

Tuesday, September 21, 2004, 5:07:44 PM, you wrote:

gRe> <. Hi Éric! .>

gRe> Tuesday, September 21, 2004, 4:42:40 PM, you wrote:

gRe> But before wait few minutes, a will try play with sample you provided.
                
I have something like this:
    <map:match pattern="geo-test">
        <map:generate
src="http://cgdi-dev.geoconnections.org/cgi-bin/prototypes/cgdigaz/cgdigaz.c
gi?version=1.0&amp;request=GetPlacenameGeometry&amp;geomtype=bbox&amp;PLACEN
AME={url-encode:{request-param:placename}}"/>
        <map:serialize type="xml"/>
    </map:match>

hiting this request:
http://localhost:8080/cocoon/geo-test?placename=New+York

I have something like this in logs (sitemap.log):
DEBUG   (2004-09-21) 17:26.06:022   [sitemap.generator.file]
(/cocoon/geo-test) Thread-9/FileGenerator: Source
http://cgdi-dev.geoconnections.org/cgi-bin/prototypes/cgdigaz/cgdigaz.cgi?ve
rsion=1.0&request=GetPlacenameGeometry&geomtype=bbox&PLACENAME=New+York
resolved to
http://cgdi-dev.geoconnections.org/cgi-bin/prototypes/cgdigaz/cgdigaz.cgi?ve
rsion=1.0&request=GetPlacenameGeometry&geomtype=bbox&PLACENAME=New+York

So it works fine. The result in my browser is some xml.

-- 
Best regards
<. g[R]eK mailto:[EMAIL PROTECTED]                                    .>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to