You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Murali Krishna <mu...@valuelabs.net> on 2007/09/11 11:33:19 UTC
Installation problem
Sir,
I am installing cocoon2.1.10,using the inatall.txt of cocoon-2.1.10 folder extracted from http://cocoon.apache.org/mirror.cgi . But in step (3) of "intall.txt ",when i run "build" in command prompt of Windows Xp 2000 ,the build is failed .And the stack trace is as follows:
BUILD FAILED
c:\cocoon\cocoon-2.1.10\tools\targets\compile-build.xml:255: The following error occurred while executing this line:
c:\cocoon\cocoon-2.1.10\build\cocoon\temp\blocks-build.xml:1277: The following error occurred while executing this line:
C:\cocoon\cocoon-2.1.10\build\cocoon\temp\blocks-build.xml:183: FileNotFoundException: java.io.FileNotFoundException:
C:\cocoon\cocoon-2.1.10\build\cocoon\classes\org\apache\cocoon\cocoon.roles (the requested operation cannot be performed on afile with a user-mapped section open)
Please help me out in the configuration of cocoon2.1.10 .
Thanks and regards,
Murali Krishna Bhadragiri
how to redirect from ameli_doc/Doc_Rejection to ameli_Doc
Posted by rachid harradi <ra...@gmx.net>.
hello every body ,
ich habe a wepp like :
wepp:
ameli_doc:
Doc_Rejection
Doc_Rejection.sitemap
Doc_Check
...
ameli_doc.sitemap
i wish redirect from Doc_Rejection (Flowscript) to another Doc_... and to ameli_doc.sitemap
is it possible?
Rachid Harradi
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Pass Parameter from flowscript to jxt
Posted by rachid harradi <ra...@gmx.net>.
Hi,
its work with "newjx"
thank you very mutch
Rachid Harradi
-------- Original-Nachricht --------
> Datum: Wed, 12 Sep 2007 10:29:37 +0200
> Von: Jeroen Reijn <j....@hippo.nl>
> An: users@cocoon.apache.org
> Betreff: Re: Pass Parameter from flowscript to jxt
> Hi Rachid,
>
> the syntax is correct. I have used it many times.
> This is just a guess, but are you using Cocoon 2.1.10?
> Try using the newjx generator. So it would become:
>
> <map:generate type="newjx" src="context:/resources/templates/error.jxt">
> ^^^^^^^
>
> I hope that helps!
>
> Kind regards,
>
> Jeroen Reijn
>
>
> rachid harradi wrote:
> > yes the value is var sERROR = "blaabla";
> >
> >
> >
> > -------- Original-Nachricht --------
> >> Datum: Tue, 11 Sep 2007 18:36:17 +0200
> >> Von: "Jasha Joachimsthal" <j....@hippo.nl>
> >> An: users@cocoon.apache.org
> >> Betreff: RE: Pass Parameter from flowscript to jxt
> >
> >> If you print sError from flow, does it have a value?
> >>
> >>
> >> -----Original Message-----
> >> From: rachid harradi [mailto:rachid.harradi@gmx.net]
> >> Sent: Tue 9/11/2007 5:51 PM
> >> To: users@cocoon.apache.org
> >> Cc:
> >> Subject: Re: Pass Parameter from flowscript to jxt
> >>
> >>
> >> thank you for reply
> >>
> >> but i dont get the value of sError !!
> >>
> >>
> >>
> >> -------- Original-Nachricht --------
> >>> Datum: Tue, 11 Sep 2007 13:53:17 +0200
> >>> Von: Jeroen Reijn <j....@hippo.nl>
> >>> An: users@cocoon.apache.org
> >>> Betreff: Re: Pass Parameter from flowscript to jxt
> >>> Hi Rachid,
> >>>
> >>> try ${cocoon.parameters.sError}. That should do the trick.
> >>>
> >>> Regards,
> >>>
> >>> Jeroen Reijn
> >>>
> >>> rachid harradi wrote:
> >>>> Hello together,
> >>>>
> >>>> i wish to pass a parameter like sError to jxt.
> >>>> her is me Match :
> >>>> <map:match pattern="error.txt">
> >>>> <map:generate type="jx"
> >>> src="context:/resources/templates/error.jxt">
> >>>> <map:parameter name="sError"
> value="{flow-attribute:sError}"
> >>> />
> >>>> </map:generate>
> >>>> <map:serialize type="html"/>
> >>>> </map:match>
> >>>>
> >>>> but i dont know how i ask the value of this parameter:
> >>>>
> >>>> <?xml version="1.0" encoding="ISO-8859-1"?>
> >>>> <html xmlns:jxt="http://apache.org/cocoon/jxtemplate/1.0">
> >>>>
> >>>> <body>
> >>>>
> >>>> leider konnte das Document
> >>>>
> >>>> $sError????
> >>>> nicht erstellt werden .
> >>>> </body>
> >>>>
> >>>> </html>
> >>>>
> >>>> thanks for answer
> >>>>
> >>>> Rachid Harradi
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> >>> For additional commands, e-mail: users-help@cocoon.apache.org
> >> --
> >> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> >> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> >> For additional commands, e-mail: users-help@cocoon.apache.org
> >>
> >>
> >>
> >>
> >
>
> --
> Met vriendelijke groet,
> Kind regards,
>
> Jeroen Reijn
>
> Hippo
>
> Oosteinde 11
> 1017WT Amsterdam
> The Netherlands
> Tel +31 (0)20 5224466
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Pass Parameter from flowscript to jxt
Posted by Jeroen Reijn <j....@hippo.nl>.
Hi Rachid,
the syntax is correct. I have used it many times.
This is just a guess, but are you using Cocoon 2.1.10?
Try using the newjx generator. So it would become:
<map:generate type="newjx" src="context:/resources/templates/error.jxt">
^^^^^^^
I hope that helps!
Kind regards,
Jeroen Reijn
rachid harradi wrote:
> yes the value is var sERROR = "blaabla";
>
>
>
> -------- Original-Nachricht --------
>> Datum: Tue, 11 Sep 2007 18:36:17 +0200
>> Von: "Jasha Joachimsthal" <j....@hippo.nl>
>> An: users@cocoon.apache.org
>> Betreff: RE: Pass Parameter from flowscript to jxt
>
>> If you print sError from flow, does it have a value?
>>
>>
>> -----Original Message-----
>> From: rachid harradi [mailto:rachid.harradi@gmx.net]
>> Sent: Tue 9/11/2007 5:51 PM
>> To: users@cocoon.apache.org
>> Cc:
>> Subject: Re: Pass Parameter from flowscript to jxt
>>
>>
>> thank you for reply
>>
>> but i dont get the value of sError !!
>>
>>
>>
>> -------- Original-Nachricht --------
>>> Datum: Tue, 11 Sep 2007 13:53:17 +0200
>>> Von: Jeroen Reijn <j....@hippo.nl>
>>> An: users@cocoon.apache.org
>>> Betreff: Re: Pass Parameter from flowscript to jxt
>>> Hi Rachid,
>>>
>>> try ${cocoon.parameters.sError}. That should do the trick.
>>>
>>> Regards,
>>>
>>> Jeroen Reijn
>>>
>>> rachid harradi wrote:
>>>> Hello together,
>>>>
>>>> i wish to pass a parameter like sError to jxt.
>>>> her is me Match :
>>>> <map:match pattern="error.txt">
>>>> <map:generate type="jx"
>>> src="context:/resources/templates/error.jxt">
>>>> <map:parameter name="sError" value="{flow-attribute:sError}"
>>> />
>>>> </map:generate>
>>>> <map:serialize type="html"/>
>>>> </map:match>
>>>>
>>>> but i dont know how i ask the value of this parameter:
>>>>
>>>> <?xml version="1.0" encoding="ISO-8859-1"?>
>>>> <html xmlns:jxt="http://apache.org/cocoon/jxtemplate/1.0">
>>>>
>>>> <body>
>>>>
>>>> leider konnte das Document
>>>>
>>>> $sError????
>>>> nicht erstellt werden .
>>>> </body>
>>>>
>>>> </html>
>>>>
>>>> thanks for answer
>>>>
>>>> Rachid Harradi
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>> For additional commands, e-mail: users-help@cocoon.apache.org
>> --
>> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
>> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
>>
>
--
Met vriendelijke groet,
Kind regards,
Jeroen Reijn
Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel +31 (0)20 5224466
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: RE: Pass Parameter from flowscript to jxt
Posted by rachid harradi <ra...@gmx.net>.
yes the value is var sERROR = "blaabla";
-------- Original-Nachricht --------
> Datum: Tue, 11 Sep 2007 18:36:17 +0200
> Von: "Jasha Joachimsthal" <j....@hippo.nl>
> An: users@cocoon.apache.org
> Betreff: RE: Pass Parameter from flowscript to jxt
> If you print sError from flow, does it have a value?
>
>
> -----Original Message-----
> From: rachid harradi [mailto:rachid.harradi@gmx.net]
> Sent: Tue 9/11/2007 5:51 PM
> To: users@cocoon.apache.org
> Cc:
> Subject: Re: Pass Parameter from flowscript to jxt
>
>
> thank you for reply
>
> but i dont get the value of sError !!
>
>
>
> -------- Original-Nachricht --------
> > Datum: Tue, 11 Sep 2007 13:53:17 +0200
> > Von: Jeroen Reijn <j....@hippo.nl>
> > An: users@cocoon.apache.org
> > Betreff: Re: Pass Parameter from flowscript to jxt
>
> > Hi Rachid,
> >
> > try ${cocoon.parameters.sError}. That should do the trick.
> >
> > Regards,
> >
> > Jeroen Reijn
> >
> > rachid harradi wrote:
> > > Hello together,
> > >
> > > i wish to pass a parameter like sError to jxt.
> > > her is me Match :
> > > <map:match pattern="error.txt">
> > > <map:generate type="jx"
> > src="context:/resources/templates/error.jxt">
> > > <map:parameter name="sError" value="{flow-attribute:sError}"
> > />
> > > </map:generate>
> > > <map:serialize type="html"/>
> > > </map:match>
> > >
> > > but i dont know how i ask the value of this parameter:
> > >
> > > <?xml version="1.0" encoding="ISO-8859-1"?>
> > > <html xmlns:jxt="http://apache.org/cocoon/jxtemplate/1.0">
> > >
> > > <body>
> > >
> > > leider konnte das Document
> > >
> > > $sError????
> > > nicht erstellt werden .
> > > </body>
> > >
> > > </html>
> > >
> > > thanks for answer
> > >
> > > Rachid Harradi
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
>
> --
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
>
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
RE: Pass Parameter from flowscript to jxt
Posted by Jasha Joachimsthal <j....@hippo.nl>.
If you print sError from flow, does it have a value?
-----Original Message-----
From: rachid harradi [mailto:rachid.harradi@gmx.net]
Sent: Tue 9/11/2007 5:51 PM
To: users@cocoon.apache.org
Cc:
Subject: Re: Pass Parameter from flowscript to jxt
thank you for reply
but i dont get the value of sError !!
-------- Original-Nachricht --------
> Datum: Tue, 11 Sep 2007 13:53:17 +0200
> Von: Jeroen Reijn <j....@hippo.nl>
> An: users@cocoon.apache.org
> Betreff: Re: Pass Parameter from flowscript to jxt
> Hi Rachid,
>
> try ${cocoon.parameters.sError}. That should do the trick.
>
> Regards,
>
> Jeroen Reijn
>
> rachid harradi wrote:
> > Hello together,
> >
> > i wish to pass a parameter like sError to jxt.
> > her is me Match :
> > <map:match pattern="error.txt">
> > <map:generate type="jx"
> src="context:/resources/templates/error.jxt">
> > <map:parameter name="sError" value="{flow-attribute:sError}"
> />
> > </map:generate>
> > <map:serialize type="html"/>
> > </map:match>
> >
> > but i dont know how i ask the value of this parameter:
> >
> > <?xml version="1.0" encoding="ISO-8859-1"?>
> > <html xmlns:jxt="http://apache.org/cocoon/jxtemplate/1.0">
> >
> > <body>
> >
> > leider konnte das Document
> >
> > $sError????
> > nicht erstellt werden .
> > </body>
> >
> > </html>
> >
> > thanks for answer
> >
> > Rachid Harradi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Pass Parameter from flowscript to jxt
Posted by rachid harradi <ra...@gmx.net>.
thank you for reply
but i dont get the value of sError !!
-------- Original-Nachricht --------
> Datum: Tue, 11 Sep 2007 13:53:17 +0200
> Von: Jeroen Reijn <j....@hippo.nl>
> An: users@cocoon.apache.org
> Betreff: Re: Pass Parameter from flowscript to jxt
> Hi Rachid,
>
> try ${cocoon.parameters.sError}. That should do the trick.
>
> Regards,
>
> Jeroen Reijn
>
> rachid harradi wrote:
> > Hello together,
> >
> > i wish to pass a parameter like sError to jxt.
> > her is me Match :
> > <map:match pattern="error.txt">
> > <map:generate type="jx"
> src="context:/resources/templates/error.jxt">
> > <map:parameter name="sError" value="{flow-attribute:sError}"
> />
> > </map:generate>
> > <map:serialize type="html"/>
> > </map:match>
> >
> > but i dont know how i ask the value of this parameter:
> >
> > <?xml version="1.0" encoding="ISO-8859-1"?>
> > <html xmlns:jxt="http://apache.org/cocoon/jxtemplate/1.0">
> >
> > <body>
> >
> > leider konnte das Document
> >
> > $sError????
> > nicht erstellt werden .
> > </body>
> >
> > </html>
> >
> > thanks for answer
> >
> > Rachid Harradi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Pass Parameter from flowscript to jxt
Posted by Jeroen Reijn <j....@hippo.nl>.
Hi Rachid,
try ${cocoon.parameters.sError}. That should do the trick.
Regards,
Jeroen Reijn
rachid harradi wrote:
> Hello together,
>
> i wish to pass a parameter like sError to jxt.
> her is me Match :
> <map:match pattern="error.txt">
> <map:generate type="jx" src="context:/resources/templates/error.jxt">
> <map:parameter name="sError" value="{flow-attribute:sError}" />
> </map:generate>
> <map:serialize type="html"/>
> </map:match>
>
> but i dont know how i ask the value of this parameter:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <html xmlns:jxt="http://apache.org/cocoon/jxtemplate/1.0">
>
> <body>
>
> leider konnte das Document
>
> $sError????
> nicht erstellt werden .
> </body>
>
> </html>
>
> thanks for answer
>
> Rachid Harradi
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Pass Parameter from flowscript to jxt
Posted by rachid harradi <ra...@gmx.net>.
Hello together,
i wish to pass a parameter like sError to jxt.
her is me Match :
<map:match pattern="error.txt">
<map:generate type="jx" src="context:/resources/templates/error.jxt">
<map:parameter name="sError" value="{flow-attribute:sError}" />
</map:generate>
<map:serialize type="html"/>
</map:match>
but i dont know how i ask the value of this parameter:
<?xml version="1.0" encoding="ISO-8859-1"?>
<html xmlns:jxt="http://apache.org/cocoon/jxtemplate/1.0">
<body>
leider konnte das Document
$sError????
nicht erstellt werden .
</body>
</html>
thanks for answer
Rachid Harradi
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Installation problem
Posted by Jeroen Reijn <j....@hippo.nl>.
Hi Murali,
I do not think this is an actual cocoon problem. It seems that some of
the files on your system are locked by the operating system because one
of the files is in use or something.
Try moving the cocoon-2.1.10 folder into another folder and see if that
helps.
Kind regards,
Jeroen Reijn
Murali Krishna wrote:
> Sir,
> I am installing cocoon2.1.10,using the inatall.txt of cocoon-2.1.10
> folder extracted from http://cocoon.apache.org/mirror.cgi . But in
> step (3) of "intall.txt ",when i run "build" in command prompt of
> Windows Xp 2000 ,the build is failed .And the stack trace is as follows:
>
> BUILD FAILED
> c:\cocoon\cocoon-2.1.10\tools\targets\compile-build.xml:255: The
> following error occurred while executing this line:
> c:\cocoon\cocoon-2.1.10\build\cocoon\temp\blocks-build.xml:1277: The
> following error occurred while executing this line:
>
> C:\cocoon\cocoon-2.1.10\build\cocoon\temp\blocks-build.xml:183:
> FileNotFoundException: java.io.FileNotFoundException:
> C:\cocoon\cocoon-2.1.10\build\cocoon\classes\org\apache\cocoon\cocoon.roles
> (the requested operation cannot be performed on afile with a user-mapped
> section open)
>
>
> Please help me out in the configuration of cocoon2.1.10 .
>
> Thanks and regards,
> Murali Krishna Bhadragiri
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org