getLogger() method is null

2002-11-27 Thread Simon Elbaz
Hi,
I am using CVS version 11/25/2002+Tomcat4.1.12+JDK1.4. My cocoon servlet stucks 
because the method getLogger() is null in the ExcaliburComponentManager class (method 
configure).
How should I modify my configurations files (web.xml, cocoon.xml) in order to launch 
the servlet ?

Thanks for your help
Simon

access.log
==

INFO(2002-11-28) 00:46.55:520   [access] (Unknown-URI) 
Unknown-thread/CocoonServlet: Reloading from: 
jndi:/localhost/cocoon/WEB-INF/cocoon.xconf
ERROR   (2002-11-28) 01:13.32:484   [access] (Unknown-URI) 
Unknown-thread/CocoonServlet: Exception reloading
java.lang.NullPointerException
at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.configure(ExcaliburComponentManager.java:466)
at org.apache.cocoon.Cocoon.configure(Cocoon.java:425)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:291)

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: cvs HEAD bombing out of pipeline

2002-11-27 Thread Anna Afonchenko
Thanks for the information, Jacob.
Can you tell me where can I find the updated jars?

Thanks for help

Anna

- Original Message - 
From: "Jacob L E Blain Christen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 6:22 PM
Subject: Re: cvs HEAD bombing out of pipeline


that did the trick, thank you antonio.

anna, you and i were having the same problem, if it still isn't fixed i
think
this could be the solution to your problem as well:  make sure updated
xerxes and xalan jars are in $JAVA_HOME/lib/jre/endorsed as well as
$TOMCAT_HOME/common/endorsed
--
jacob


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Workflow

2002-11-27 Thread Maxime.Gheysen
Hi,
Has someone made a workflow managment system with cocoon? Is there any
workflow project existing or must I rebuild everything?
Thank you!

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: Link Hosting:http://www.hebergement-pro.com

2002-11-27 Thread Bertrand Delacretaz
On Wednesday 27 November 2002 14:42, foudyl wrote:
> how can we be referenced in the xml.apache.org
> in order to offer CoCOOn 2 Hosting to users

I have added the link to file ./src/documentation/xdocs/link/hosting.xml in 
the Cocoon CVS, it should appear on the web site when the next release is 
done (due soon AFAIK).

-- 
 Bertrand Delacrétaz (codeconsult.ch, jfor.org)

 buzzwords: XML, java, XSLT, Cocoon, FOP, mentoring/teaching/coding.
 blogspace http://www.codeconsult.ch/bertrand

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: Merging Cells

2002-11-27 Thread Danny Mui
Here's the dtd (donated by the POI folks):

http://www.gnome.org/projects/gnumeric/v10.xsd

Currently trying to figure out the most painless way to merge cells at 
the moment.  I updated the code base to support cols/rows but quickly 
found it to be a PITA.  In the name of laziness/productivity (call it 
what you will), I'm going to try to make it work with a gnumeric file 
without changes.

danny

nandipinto wrote:

Hi all,

I'm wondering how to merge cells using HSSFSerializer? another question :
where can I find a complete reference (description) about GNumeric XML
standard?

regards,

nandipinto.


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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





-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: Parsing XML from SQL

2002-11-27 Thread Gabriele Domenichini
Your problem is not simple. If I've understood you have resources record 
made like this:
something.jpg | somewhere/somethingelse.mov | resourceFound.txt |

Well if this is the point, I think the best way to act is to make some 
xslt transformation after the sql transformation.
I don't have experiences about parsing text but I think the text 
generator do such a thing.
If you have to make estraction and elaboration before aggregation I 
would use cinclude instead xinclude. The main difference between the is 
the two is the possibility of cinclude to invoke a  specific pipeline 
(so a transformation) as source with the protocol "cocoon:/".
I find this very powerfull even if a little proprietary  ;-)

I agree with the orientation of avoiding esql where possible, and I 
think that here it doesn't help a lot
Sorry if I'm not specific but I should know the project and even so it 
would take me time. I hope to have been useful somehow

Jeremy Quinn wrote:

Dear All

We are using the SQLTransformer for a project.

Our SQL Database contains a Table called Resource, which keeps 
information about the resources in our archive. Most of these 
resources are binary, ie. .gif, .jpg, .swf, .mov etc. So we merely 
'embed' the resource reference in the page produced by a Resource 
record, to show it on the page.

We now find we have a few 'text' resources, that require a bit of 
markup in them, mainly just paragraphs.

We either need to XInclude the resource into the pipeline from an XML 
file referred to in the SQL, or keep the actual resource in the SQL 
and parse it as it comes out.

I know that it is possible to parse SQL fields via the ESQL TagLib, 
but we prefer the Transformer approach.

Does anyone know if it is possible to Parse fields extracted from SQL 
via the SQLTransformer?


Thanks for any suggestions.

regards Jeremy 










-
Please check that your question  has not already been answered in the
FAQ before posting. 

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






-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: [HSSF][POI] Gnumeric Conversion Question

2002-11-27 Thread Danny Mui
No i was being silly.. "manual diff" == eyeballing :)

Andrew C. Oliver wrote:


"diff" doesn't work?  How odd!

Danny Mui wrote:


Thanks for sharing my manual diff doesn't seem to be working too well 
/grin.

Will bring back what I can come up with.

danny

Andrew C. Oliver wrote:

I have a very scientific method for doing this.

Open Gnumeric.  Create a sheet with some garbage in it (but from 
scratch).
Save it
ungzip it (if its gzipped)
open that same sheet
create a merged cell (change nothing else)
save it as something else
ungzip it (if gzipped)
diff 1.xml 2.xml






-
Please check that your question  has not already been answered in the
FAQ before posting. 

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






-
Please check that your question  has not already been answered in the
FAQ before posting. 

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






-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: [HSSF][POI] Gnumeric Conversion Question

2002-11-27 Thread Andrew C. Oliver
"diff" doesn't work?  How odd!

Danny Mui wrote:


Thanks for sharing my manual diff doesn't seem to be working too well 
/grin.

Will bring back what I can come up with.

danny

Andrew C. Oliver wrote:

I have a very scientific method for doing this.

Open Gnumeric.  Create a sheet with some garbage in it (but from 
scratch).
Save it
ungzip it (if its gzipped)
open that same sheet
create a merged cell (change nothing else)
save it as something else
ungzip it (if gzipped)
diff 1.xml 2.xml





-
Please check that your question  has not already been answered in the
FAQ before posting. 

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






-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Access Cocoon ESQL connection pool in JavaBean

2002-11-27 Thread Kirchhoff, Lars
Hello, 

after playing around with XMLForms, I could manage to get it working 
with some database support, but I'm wondering about using the same 
connection pool than cocoon does with xsp:esql. I'm currently loading
the postgres driver manually. Can somebody give me a hint how to use 
the cocoon connection pool.

regards 
Lars 


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: WebServiceProxy Hell

2002-11-27 Thread Ivelin Ivanov

Can you verify if the demo works for you.

- Original Message -
From: "Tony Collen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 11:16 AM
Subject: Re: WebServiceProxy Hell


> On Tue, 26 Nov 2002, Ivelin Ivanov wrote:
>
> >
> > Are you saying that the version in CVS is bad?
> > Please submit a bug in Bugzilla about this and mention which version do
you
> > use.
>
> It might be.  When I get to work, today, I have a few things that I can
> check, but so far, I've gotten different results with different versions
> of commons-httpclient.  I almost want to say the bug is there, and not
> actually in the WSPG.  With the long weekend for the holidays coming here
> in the US, it will be quiet at work today, so I should have no problem
> concentrating on getting this solved :)
>
> If I still can't get the WSPG working with my examples, I'll file a bug
> and we'll take it from there.
>
> Regards,
> Tony
>
> Tony Collen -- [EMAIL PROTECTED]
> College of Liberal Arts   University of Minnesota, Minneapolis, West Bank
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Merging Cells

2002-11-27 Thread nandipinto
Hi all,

I'm wondering how to merge cells using HSSFSerializer? another question :
where can I find a complete reference (description) about GNumeric XML
standard?

regards,

nandipinto.


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: [HSSF][POI] Numeric Data format in Gnumeric

2002-11-27 Thread Danny Mui
It doesn't matter what gnumeric format is correct, you have to make sure 
the format being sent back to HSSF classes is correct.  Look at the POI 
mailing list, Andrew provided step by step instructions on how to do 
Excel formats.  Check the

org.apache.cocoon.serializationhssf.elements.impl.Epstyle (i 
think) to see if the code is passing the correct format back to POI.

danny


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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



Re: [HSSF][POI] Gnumeric Conversion Question

2002-11-27 Thread Danny Mui
Thanks for sharing my manual diff doesn't seem to be working too well /grin.

Will bring back what I can come up with.

danny

Andrew C. Oliver wrote:


I have a very scientific method for doing this.

Open Gnumeric.  Create a sheet with some garbage in it (but from 
scratch).
Save it
ungzip it (if its gzipped)
open that same sheet
create a merged cell (change nothing else)
save it as something else
ungzip it (if gzipped)
diff 1.xml 2.xml




-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: starting cocoon with windows 2000

2002-11-27 Thread Carlos Marcelo Santos



I work with JDK 1.3.1, Tomcat 4.1.12 and Cocoon 
2.0.1 without problems.
 
Carlos Marcelo Santos.

  - Original Message - 
  From: 
  Ferran 
  Urgell 
  To: [EMAIL PROTECTED] 
  
  Sent: Wednesday, November 27, 2002 4:42 
  PM
  Subject: starting cocoon with windows 
  2000
  
  Hello!
  I'm new in the cocoon, and I'm using windows 2000, I would to install 
  cocoon. 
  which is the best configuration ?
  I would to try with JDK 4.0, Tomcat 4.0.6 and Cocoon 2.0.1. Is 
  that ok for an easy installation ?
  Thanks 
  
  
  Do you Yahoo!?Yahoo! Mail 
  Plus - Powerful. Affordable. Sign up 
  now


[Summary] WebServiceProxyGenerator & wsproxy-method parameter

2002-11-27 Thread Tony Collen
Hi list(s),

After almost a week of pounding my head on the cement, I've figured out 
what's been going on with the WSPG.  Consider the following pipeline:

   
   http://localhost/postServlet";>
   
   
   
   

Alright, simple enough, correct?  The only "odd" thing about this is 
that is uses the wsproxy-method parameter, which I used according to 
samples/webserviceproxy/README.txt.

For some reason however, even though I told the WSPG to POST to the 
servlet, it refused.  Here's the (very verbose) output from my debug 
servlet I wrote:

1 [PostServlet] doGet() called
2 [PostServlet] Passing request and response to doPost()
3 [PostServlet] doPost() called
4 [PostServlet] Getting parameter "Mode" from request.
5 [PostServlet] Mode is null!
6 [PostServlet] Sending some XML anyway.
7 [PostServlet] Done sending XML. Exiting.

The following output leads me to the following two conclusions:

1)  Even though I'm telling the WSPG to use POST on the remote service, 
it's not (Line 1).
   1a) I can't see anywhere in the WSPG code where it's getting the 
wsproxy-method configuration parameter :)

2) When the WSPG copies over the request parameters, somehow the POST 
parameters are either not being copied over, or they're being stomped on 
somehow.  Basically, the WSPG is not proxying the POST parameters 
correctly (Lines 4 and 5).

For now, I'll file a bug.  Ivelin, perhaps we can work together to get 
this functioning correctly... mostly because I need it to work correctly 
to get my job done :)  If anything I'll submit a patch to add some more 
useful debug logging to the WSPG.


Tony


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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



RE: starting cocoon with windows 2000

2002-11-27 Thread Hunsberger, Peter
> You should use 2.0.3 instead - it is the easiest version to install so 
> far. Personally, I'd go with JDK 1.3.1, however, 'cause you'll have to 
> recompile some jars for JDK 1.4.

2.0.3 works just fine with JDK 1.4 with no recompilation of jars required.
Just make sure you get the version that has been compiled for 1.4!

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: starting cocoon with windows 2000

2002-11-27 Thread Lajos Moczar
You should use 2.0.3 instead - it is the easiest version to install so 
far. Personally, I'd go with JDK 1.3.1, however, 'cause you'll have to 
recompile some jars for JDK 1.4.

Lajos


Ferran Urgell wrote:
Hello!

I'm new in the cocoon, and I'm using windows 2000, I would to install 
cocoon.

which is the best configuration ?

I would to try with JDK 4.0, Tomcat 4.0.6 and Cocoon 2.0.1. Is that ok 
for an easy installation ?

Thanks 



Do you Yahoo!?
Yahoo! Mail Plus 
 - 
Powerful. Affordable. Sign up now 



--
galatea.com
Cocoon training, consulting & support


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: cvs HEAD bombing out of pipeline

2002-11-27 Thread Antonio Gallardo
I am happy helping you.

Antonio Gallardo


Jacob L E Blain Christen dijo:
> that did the trick, thank you antonio.
>
> anna, you and i were having the same problem, if it still isn't fixed i
> think
> this could be the solution to your problem as well:  make sure updated
> xerxes and xalan jars are in $JAVA_HOME/lib/jre/endorsed as well as
> $TOMCAT_HOME/common/endorsed
> --
> jacob
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>




-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




[HSSF][POI] Numeric Data format in Gnumeric

2002-11-27 Thread Antonio Gallardo
Hi!

Can someone tell me how to format in Gnumeric Numeric Data types. I need
to output in some cells float with 4 decimals. Example: 100.2563

I already found the format tag in Gnumeric format, but this does not work.
Here a snip of the xsl I am using to do that. Its based on the sample docs
+ some adds.

I already know that there are 2 types of numeric data this is setted with
the ValueType attribute of the  element.

Another attribute of  is ValueFormat. But this is the ONE that
I dont not know how to operate. I search on Google.com more info about the
Gnumeric format. But too few documents and some of them are to old.

Please, help me.

Thanks in advance,

Antonio Gallardo.




30
40
60

































-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Problems compiling cocoon 2.0.1

2002-11-27 Thread Ferran Urgell
Hello!
I am new in Cocoon and I have:
J2sdk1.4, Jakarta tomcat 4.0.6 and cocoon 2.0.1
And when i'm trying to build cocoon.war I'm getting errors of compilation.
I've used:
.\build.bat -Dinclude.webapp.libs=yes -Dinstall.war=%CATALINA_HOME%\webapps install
and not works
Can someone help me ?
Thanks!
 Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Re: Problem compiling Cocoon

2002-11-27 Thread Joerg Heinicke
Xalan and Xerces version have changed in the meantime, so the version in 
the endorsed directories must be updated.

Joerg

Hugo Burm wrote:
I have the same problem on Win2000/JDK 1.4/Tomcat 4.12
I updated from the latest version yesterday evening, did a make clean and
built twice.
The previous time I upgraded (two weeks ago) it worked ok.

Hugo Burm
[EMAIL PROTECTED]



-Original Message-
From: Anna Afonchenko [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 27, 2002 8:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Problem compiling Cocoon


Thank you for your help.
I am downloading CVS now. I will try to compile it twice as you said.
Only one very stupid question:
How can I update the CVS in xml-cocoon2 directory instead of 
downloading the
new CVS files every time from scratch?
This must be very simple, but I can't figure it out.
I am using WinCVS (v1.2) to download the CVS (working from Windows)

Thank you in advance.

Anna

- Original Message -
From: "Antonio Gallardo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 8:42 PM
Subject: Re: Problem compiling Cocoon


Hi!

I recently download the C2.1 CVS and everything is compiling 
and working
fine.

I am using Red Hat Linux 8.0, Java 1.4.1_01, Tomcat 4.1.15 (alpha).

Please try to download again and before make changes, try to 
build the CVS
version first.

I prefer to build two times. I dont know if still there is a 
problem that
you can not run somethings without compiling 2 times. Some tips:

1-cd /$HOME/CVS/cocoon/xml-cocoon2/
2-Update the CVS
3- ./build.sh clean
4- ./build.sh -Dinclude.webapp.libs=true 
-Dinclude.scratchpad.libs=true
webapp
5- ./build.sh -Dinclude.webapp.libs=true 
-Dinclude.scratchpad.libs=true
-Dinstall.war="$HOME/route/to/jakarta-tomcat/webapps" installwar

I hope it will help.

Regards,

Antonio Gallardo.

Anna Afonchenko dijo:

Do you mean that I need to download another version of CVS 

(say, from


today)?
I also want to do a few changes to the source code before 

recompiling (I


want to add some Jtidy methods to HTMLGenerator - is it OK 

to do that?)



- Original Message -
From: "Antonio Gallardo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 9:08 AM
Subject: Re: Problem compiling Cocoon


I saw also some changes in Main.java. I am working on the 

yesterday CVS


2.1 and there eerything work fine. I will try the lastest CVS today.

Regards,

Antonio Gallardo

Jacob L E Blain Christen dijo:


i just recompiled from cvs and am getting the same error.

i'm looking into if i can decipher where a config propery seems
to be required to get my install running again. seems as if someone
made some changes to the java sources but didn't check in the
commensurate config changes ("cvs update" only updated some
java sources).



-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Link Hosting:http://www.hebergement-pro.com

2002-11-27 Thread foudyl



Hello
I've sending you this short e-mail here 
below
how can we be referenced in the 
xml.apache.org
in order to offer CoCOOn 2 Hosting to 
users
thank you for your response
Best regards

Hello
Thank you for your 
great Job
 
We have interesting 
packages for the Cocoon framework on a Linux plateform
specs : Cocoon 
2.02
Tomcat 4  with the 
Servlet 2.3 and JavaServer 
Pages 1.2 
Only Two easy packs 
:
The pack 
Start for beginners or  developpers with a very low price, and only 
5 Mo in order to test and discover the Cocoon 
technology
The pack Expert 
with  200 Mo , 1 Go traffic, 2 hours of Technical Support for 
installation
Other packages in 
JSP/TOMCAT 4 and PHP4 available
with constraint-free 
environment
Order online with 
secure paiement  at
http://www.hebergement-pro.com in 
french
http://www.hebergement-pro.com/cocoonxpert.php?l=uk&pack=  
for English language
Hebergement-pro is a 
leading hosting agency working for government and e-commerce 
stores
 
 
Best 
regardsFoudyl 
ZaouiaDirecteur 
MarketingMarketing 
ManagerArchiMediahttp://www.archimedia.frMobile : 06 85 35 73 89Tel : +33 05 57 35 04 10FAX : +33 05 57 35 
04 11[EMAIL PROTECTED]1 quai Wilson - Porte de 
Bégles3310 Bégles - France


http://www.archimedia.fr/Accompagnement de dirigeants sur le Net Conseil stratégique / 
e-commerce / e-communication / design / développement / 
hébergement
http://www.hebergement-pro.com
solution d'hébergement dédié ou mutualisé  : 
JSP / XML/ PHP /LINUX / Noms de domaine
http://www.flashxmail.com
solution de newsletter et 
d'e-mailing
http://www.freeconnexion.com
accès internet professionnel gratuit*
http://www.ez2list.com
travail collaboratif en ligne / accélérateur 
de process /
 


Re: i18n more!!

2002-11-27 Thread Konstantin Piroumian
i18n more!!Take a look at the LocaleAction.
It provides mechanism for setting user's locale for a session, request, in a
cookie. And it uses either request parameter or the client's locale or a
cookie to determine selected locale for the first time.

See
http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/acting/LocaleAction.h
tml for more.

Konstantin

- Original Message -
From: Hong Gia Dinh
To: [EMAIL PROTECTED]
Sent: Wednesday, November 27, 2002 12:54
Subject: i18n more!!


I 'm a new user in cocoon,
I have the case :
i have a web site trying to apply cocoon into it.
i have 2 languages, english and french
now if in one page i choose a language such as 'french' i want all next page
from that on will be in french. how can i do that?
how can i know the current language i chose?
can u all tell me?
cheers
GD


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




RE: Problem compiling Cocoon

2002-11-27 Thread Hugo Burm
I have the same problem on Win2000/JDK 1.4/Tomcat 4.12
I updated from the latest version yesterday evening, did a make clean and
built twice.
The previous time I upgraded (two weeks ago) it worked ok.

Hugo Burm
[EMAIL PROTECTED]

> -Original Message-
> From: Anna Afonchenko [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 27, 2002 8:52 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Problem compiling Cocoon
> 
> 
> Thank you for your help.
> I am downloading CVS now. I will try to compile it twice as you said.
> Only one very stupid question:
> How can I update the CVS in xml-cocoon2 directory instead of 
> downloading the
> new CVS files every time from scratch?
> This must be very simple, but I can't figure it out.
> I am using WinCVS (v1.2) to download the CVS (working from Windows)
> 
> Thank you in advance.
> 
> Anna
> 
> - Original Message -
> From: "Antonio Gallardo" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 26, 2002 8:42 PM
> Subject: Re: Problem compiling Cocoon
> 
> 
> Hi!
> 
> I recently download the C2.1 CVS and everything is compiling 
> and working
> fine.
> 
> I am using Red Hat Linux 8.0, Java 1.4.1_01, Tomcat 4.1.15 (alpha).
> 
> Please try to download again and before make changes, try to 
> build the CVS
> version first.
> 
> I prefer to build two times. I dont know if still there is a 
> problem that
> you can not run somethings without compiling 2 times. Some tips:
> 
> 1-cd /$HOME/CVS/cocoon/xml-cocoon2/
> 2-Update the CVS
> 3- ./build.sh clean
> 4- ./build.sh -Dinclude.webapp.libs=true 
> -Dinclude.scratchpad.libs=true
> webapp
> 5- ./build.sh -Dinclude.webapp.libs=true 
> -Dinclude.scratchpad.libs=true
> -Dinstall.war="$HOME/route/to/jakarta-tomcat/webapps" installwar
> 
> I hope it will help.
> 
> Regards,
> 
> Antonio Gallardo.
> 
> Anna Afonchenko dijo:
> > Do you mean that I need to download another version of CVS 
> (say, from
> > today)?
> > I also want to do a few changes to the source code before 
> recompiling (I
> > want to add some Jtidy methods to HTMLGenerator - is it OK 
> to do that?)
> >
> >
> > - Original Message -
> > From: "Antonio Gallardo" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, November 26, 2002 9:08 AM
> > Subject: Re: Problem compiling Cocoon
> >
> >
> > I saw also some changes in Main.java. I am working on the 
> yesterday CVS
> > 2.1 and there eerything work fine. I will try the lastest CVS today.
> >
> > Regards,
> >
> > Antonio Gallardo
> >
> > Jacob L E Blain Christen dijo:
> >> i just recompiled from cvs and am getting the same error.
> >>
> >> i'm looking into if i can decipher where a config propery seems
> >> to be required to get my install running again. seems as if someone
> >> made some changes to the java sources but didn't check in the
> >> commensurate config changes ("cvs update" only updated some
> >> java sources).
> >>
> >> 
> -
> >> Please check that your question  has not already been 
> answered in the
> >> FAQ before posting. 

>>
>> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>




-
Please check that your question  has not already been answered in the
FAQ before posting. 

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


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




starting cocoon with windows 2000

2002-11-27 Thread Ferran Urgell
Hello!
I'm new in the cocoon, and I'm using windows 2000, I would to install cocoon. 
which is the best configuration ?
I would to try with JDK 4.0, Tomcat 4.0.6 and Cocoon 2.0.1. Is that ok for an easy installation ?
Thanks Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Re: [HSSF][POI] Gnumeric Conversion Question

2002-11-27 Thread Andrew C. Oliver
I have a very scientific method for doing this.

Open Gnumeric.  Create a sheet with some garbage in it (but from scratch).
Save it
ungzip it (if its gzipped)
open that same sheet
create a merged cell (change nothing else)
save it as something else
ungzip it (if gzipped)
diff 1.xml 2.xml

Thats what it does. ;-)  I've not looked at this recently, but if I 
recall its pretty straightforward.

Danny Mui wrote:

Thanks for your quick reply Andrew!  Do you have an inkling on how 
gnumeric interprets merged fields?  I'd rather build that support into 
the serializer than tagging individual cells that I'm going through 
now. I'd prefer to not delve into gnumeric's source (im a java weeny) 
if you've already looked at it.  But since it's a holiday I'll inspect 
the xml some more :).

thanks.

danny

Andrew C. Oliver wrote:

Danny Mui wrote:


Using latest Cocoon from CVS and HSSFSerializer separately (not from 
within cocoon).

When setting up merged fields in gnumeric, the HSSF translation does 
not seem to carry them through to the Excel side.



Yes this isn't implemented in the serializer yet.  It is supported by 
HSSF.


I saw the rows/cols attributes in the gnumeric dtd but gnumeric 
doesn't generate those attributes.  I updated EPCell.java (will 
submit to bugzilla shortly) to support merged fields but it's a bit 
of a manual effort to tag cells to be merged (and error prone).



yes.  If its a workable solution I'll apply it.

-Andy



Am I missing something?  I hope to be enlightened!

danny





-
Please check that your question  has not already been answered in the
FAQ before posting. 

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






-
Please check that your question  has not already been answered in the
FAQ before posting. 

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






-
Please check that your question  has not already been answered in the
FAQ before posting. 

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






-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Cocoon integration problem

2002-11-27 Thread Cedric Picard
Title: Cocoon integration problem






Hi all,


I am now able to deploy a sitemap as part of a web application. This web application contains jsp pages which are to run outside cocoon (ie, cocoon does not control the execution of the pages), but instead some pages invoke cocoon to obtain generated reports.

In order to "free" the jsp from cocoon's control, simply remove:

  

    Cocoon2

    *.jsp

  

From web.xml

(could this cause any problems with the execution of xsp files by the way?)


Accessing the jsp pages is not a problem (although the stylesheets & images seem to be ignored), but I am no longer able to access my pipeline.

http://localhost:8080/workflowclient/CMReports/CMUsers.html


org.apache.avalon.framework.component.ComponentException: Could not access the Component


The error seems to indicate that the sitemap is indeed being used, but no pipeline matches the requested url.


I assumed the extra level added by including the sitemap inside a web application might require extra settings, so I changed to match pattern in the root sitemap from "CMReports/**" to "workflowclient/CMReports/**".

Basically, the application is deployed as workflowclient.war, which contains:

- *.jsp

- *.tld

- sitemap.xmap

- CMReports/sitemap.xmap -> sub-sitemap mounted as follows:

  

    

  

    

    

  

  

    

  


- stylesheets/

- images/

- javascript/

- WEB-INF/


I would guess the problem resides in the correct matching of the requested url, but cannot figure out what matching to apply. If anyone has an idea, that would be greatly appreciated.

Regards,

Cedric Picard,

Software Engineer

Kainos Software Ltd.


--This e-mail is confidential and is intended for the named recipient only. Ifyou receive it in error please destroy the message and all copies. KainosSoftware Ltd. does not accept liability for damage sustained as a result ofmalicious software (e.g. viruses). Kainos does not accept liability for, orpermit, the creation of contracts on its behalf by e-mail, the publication ofany defamatory statement by its employees by e-mail, or changes subsequentlymade to the original message. The Company's registered office is located at4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland, Tel +44 28 9057 1100.


Re: WebServiceProxy Hell

2002-11-27 Thread Tony Collen
On Tue, 26 Nov 2002, Ivelin Ivanov wrote:

>
> Are you saying that the version in CVS is bad?
> Please submit a bug in Bugzilla about this and mention which version do you
> use.

It might be.  When I get to work, today, I have a few things that I can
check, but so far, I've gotten different results with different versions
of commons-httpclient.  I almost want to say the bug is there, and not
actually in the WSPG.  With the long weekend for the holidays coming here
in the US, it will be quiet at work today, so I should have no problem
concentrating on getting this solved :)

If I still can't get the WSPG working with my examples, I'll file a bug
and we'll take it from there.

Regards,
Tony

Tony Collen -- [EMAIL PROTECTED]
College of Liberal Arts   University of Minnesota, Minneapolis, West Bank


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: cvs HEAD bombing out of pipeline

2002-11-27 Thread Jacob L E Blain Christen
that did the trick, thank you antonio.

anna, you and i were having the same problem, if it still isn't fixed i
think
this could be the solution to your problem as well:  make sure updated
xerxes and xalan jars are in $JAVA_HOME/lib/jre/endorsed as well as
$TOMCAT_HOME/common/endorsed
--
jacob


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: [HSSF][POI] Gnumeric Conversion Question

2002-11-27 Thread Danny Mui
Thanks for your quick reply Andrew!  Do you have an inkling on how 
gnumeric interprets merged fields?  I'd rather build that support into 
the serializer than tagging individual cells that I'm going through now. 
I'd prefer to not delve into gnumeric's source (im a java weeny) if 
you've already looked at it.  But since it's a holiday I'll inspect the 
xml some more :).

thanks.

danny

Andrew C. Oliver wrote:

Danny Mui wrote:


Using latest Cocoon from CVS and HSSFSerializer separately (not from 
within cocoon).

When setting up merged fields in gnumeric, the HSSF translation does 
not seem to carry them through to the Excel side.


Yes this isn't implemented in the serializer yet.  It is supported by 
HSSF. 


I saw the rows/cols attributes in the gnumeric dtd but gnumeric 
doesn't generate those attributes.  I updated EPCell.java (will 
submit to bugzilla shortly) to support merged fields but it's a bit 
of a manual effort to tag cells to be merged (and error prone).


yes.  If its a workable solution I'll apply it.

-Andy



Am I missing something?  I hope to be enlightened!

danny





-
Please check that your question  has not already been answered in the
FAQ before posting. 

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






-
Please check that your question  has not already been answered in the
FAQ before posting. 

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





-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: cvs HEAD bombing out of pipeline

2002-11-27 Thread Antonio Gallardo
Copy xerxes, xalan and xml-apis in $TOMCAT/common/endorsed.

Antonio Gallardo.

Jacob L E Blain Christen dijo:
> i've been having this problem since yesterday.  i do not know how to fix
> it. i am using the very latest from cvs and am trying to pull up any
> page in the cocoon distribution.  i did make sure i have the updated
> xerxes and xalan libs in my lib/jre/endorsed directory.  textual output
> copied from browser follows:
>
>
> Cocoon 2 - Internal server error
>
> type fatal
>
> message Failed to execute pipeline.
>
> description org.apache.cocoon.ProcessingException: Failed to execute
> pipeline.: org.apache.cocoon.CascadingIOException:
> org.apache.xml.utils.WrappedRuntimeException: The output format must
> have a '{http://xml.apache.org/xslt}content-handler' property!:
> org.apache.xml.utils.WrappedRuntimeException: The output format must
> have a '{http://xml.apache.org/xslt}content-handler' property!
>
> sender org.apache.cocoon.servlet.CocoonServlet
>
> source Cocoon servlet
>
> request-uri
>
> /apache/cocoon/documents/index.html
>
> path-info
>
> documents/index.html
>
> stack-trace
>
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> org.apache.cocoon.CascadingIOException:
> org.apache.xml.utils.WrappedRuntimeException: The output format must
> have a '{http://xml.apache.org/xslt}content-handler' property!:
> org.apache.xml.utils.WrappedRuntimeException: The output format must
> have a '{http://xml.apache.org/xslt}content-handler' property!
>  at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLP
> ipeline(AbstractProcessingPipeline.java:518)
>  at
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline
> .processXMLPipeline(AbstractCachingProcessingPipeline.java:204)
>  at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Abs
> tractProcessingPipeline.java:483)
>  at
> org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri
> alizeNode.java:149)
>  at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:85)
>  at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
> e(PreparableMatchNode.java:166)
>  at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:109)
>  at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
> ineNode.java:153)
>  at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:109)
>  at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
> linesNode.java:143)
>  at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
> or.java:326)
>  at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
> or.java:308)
>  at
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod
> e.java:131)
>  at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:85)
>  at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
> e(PreparableMatchNode.java:166)
>  at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:109)
>  at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
> ineNode.java:153)
>  at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:109)
>  at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
> linesNode.java:143)
>  at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
> or.java:326)
>  at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
> or.java:308)
>  at org.apache.cocoon.Cocoon.process(Cocoon.java:596)
>  at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:260)
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>  at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:191)
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
>  at
> org.apache.c

cvs HEAD bombing out of pipeline

2002-11-27 Thread Jacob L E Blain Christen
i've been having this problem since yesterday.  i do not know how to fix it.
i am using the very latest from cvs and am trying to pull up any page in the
cocoon distribution.  i did make sure i have the updated xerxes and xalan
libs in my lib/jre/endorsed directory.  textual output copied from browser
follows:


Cocoon 2 - Internal server error

type fatal

message Failed to execute pipeline.

description org.apache.cocoon.ProcessingException: Failed to execute
pipeline.: org.apache.cocoon.CascadingIOException:
org.apache.xml.utils.WrappedRuntimeException: The output format must have a
'{http://xml.apache.org/xslt}content-handler' property!:
org.apache.xml.utils.WrappedRuntimeException: The output format must have a
'{http://xml.apache.org/xslt}content-handler' property!

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/apache/cocoon/documents/index.html

path-info

documents/index.html

stack-trace

org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
org.apache.cocoon.CascadingIOException:
org.apache.xml.utils.WrappedRuntimeException: The output format must have a
'{http://xml.apache.org/xslt}content-handler' property!:
org.apache.xml.utils.WrappedRuntimeException: The output format must have a
'{http://xml.apache.org/xslt}content-handler' property!
 at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLP
ipeline(AbstractProcessingPipeline.java:518)
 at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline
.processXMLPipeline(AbstractCachingProcessingPipeline.java:204)
 at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Abs
tractProcessingPipeline.java:483)
 at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri
alizeNode.java:149)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
 at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:166)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
 at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:153)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
 at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:143)
 at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:326)
 at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:308)
 at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod
e.java:131)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
 at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:166)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
 at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:153)
 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
 at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:143)
 at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:326)
 at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:308)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:596)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipe

version problem in AbstractGenerator class

2002-11-27 Thread Andreas Hefti
hello all, I try to write my own Generator for Cocoon to get XML source from a EJB. first I try to write a simle sample to find out how it works. I found a sample in a how to. I wrote the following simple Generator: - package com.ite.generators;import java.io.IOException;import java.io.StringReader;import org.xml.sax.XMLReader;import org.xml.sax.InputSource;import org.xml.sax.SAXException;import org.xml.sax.helpers.XMLReaderFactory;import org.apache.cocoon.*;public class TestGen extends org.apache.cocoon.generation.AbstractGenerator {    public TestGen() {    } public void generate() throws java.io.IOException, org.xml.sax.SAXException, org.apache.cocoon.ProcessingException {    String message ="My first Cocoon 2 generator!";      XMLReader xmlreader = XMLReaderFactory.createXMLReader();    xmlreader.setContentHandler(super.xmlConsumer);    InputSource source = new InputSource(new StringReader(message));    xmlreader.parse(source);    }            }  if I try to compile this source with Forte4Java 3.0, I get the following compiler error;  com/ite/generators/TestGen.java [24:1] cannot access org.apache.cocoon.generation.AbstractGeneratorbad class file: D:\I-TE\Entwicklung\itech_cvs\develop\senn\src\webMod\WEB-INF\lib\cocoon-2.0.3.jar(org/apache/cocoon/generation/AbstractGenerator.class)class file has wrong version 48.0, should be 47.0Please remove or make sure it appears in the correct subdirectory of the classpath.public class TestGen extends org.apache.cocoon.generation.AbstractGenerator { ^1 errorErrors compiling TestGen. - I', using the cocoon-2.0.3.jar. what is wrong with the class version and what can I do to solve the version problem? thanks for any help,Mit freundlichen Grüssen / Kind regards   Andreas Hefti
-
Please check that your question  has not already been answered in the
FAQ before posting. 

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



Re: [SUMMARY] Tomcat 4.1.12 and IE delays up to 5 mins to response.

2002-11-27 Thread Ted Garrett
Perhaps the term 'misconfigured network' IS a little bit harsh, but you 
overlook a feature of DHCP which can alleviate this issue and is quite 
necessary in a heterogenous network.  DHCP can, after all update DNS with 
the hostname <-> IP Address mappings needed automatically.  So while your 
network is configured to MINIMALLY work within the constraints of only 
having microsoft products able to find name to address mapping...  Anything 
standards-based is going to need your network admin to take the additional 
step of providing dynamic DHCP <-> DNS updates.

Not hard to do.

--On Tuesday, November 26, 2002 12:58:01 PM +0700 Antonio Gallardo 
<[EMAIL PROTECTED]> wrote:



Jacob L E Blain Christen dijo:

enableLookups="false"



it's simply an artifact of a misconfigured network
Not really, you can use WINS instaead of DNS inside your network. And that
does not mean that you have missconfigured your internal network.

DNS is a static file where the IP address are written. When you use DHCP
you does not want to include every computer of your network in the DNS
file. The clients simply get an address from the DHCP server and this does
not mean that you want to configure a DNS entry for every computer. Also
this does not mean that your network is bad configured.

The new Apache HTTP Server has turned off this feature to iimprove
performance.

Regards,

Antonio Gallardo.


--
jacob

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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





-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




How to render image

2002-11-27 Thread Pavel Ivanov
Hi there!

I'm reading from XSP page BMP stored in DB as LONG RAW. What should I do
show this image
on user's browser?

Pavel



-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




RE: xsp !!!

2002-11-27 Thread Ray Martin



Sirs,
 
For a place to put 'common things', I 
suggest a descriptor file - XML not XSP.  The tutorial that comes with 
Cocoon shows (slightly) how to use the descriptor file.
 
The descriptor file is the place to put 
parameters that you want to share between the web page designers on one side and 
the code developers and database folks on the other side.  In the tutorial, 
they also used the descriptor file to set constraints to do form validation, but 
if you do not require this feature just skip that part.
 
The descriptor file can be the 
"contract" between the different types of folks working on a project.  If 
you happen to be the only developer/designer on a small project, the descriptor 
file is still a very useful contract between components - one can always go to 
the descriptor file to get a quick glance at the parameters required for various 
modules either under development or as a history of what was 
developed.
 
Currently, I have only used the descriptor 
file to record and describe parameters of type string.  But, as I get 
better at Cocoon, I am reasonably certain that the descriptor file will become 
my "common" storage for everything - file pointers, parameters of any type, 
etc.
 
In fact, I believe that the descriptor file 
is so useful that it will become the "hub" of all my design and development 
work.  For example, we use Torque (an Apache Software Foundation 
project) to produce the database tables and accessor classes.  To do this, 
the developer creates a schema in XML using the descriptor file as a 
basis.  The middle tier developer uses the descriptor file to base his/her 
efforts.  And the page designer, uses the descriptor file to do their 
work.  The goal is to automate all of this work - take the human out of 
most of the effort.  (ps we hope to contribute this to the ASF, unless 
someone gets there before us and that is okay, too.)
 
With the descriptor file as the "hub", we 
would press the button and (using Ant and Maven and ...) 
the schema file is created, Torque is run, the middle tier code is 
"pre-generated" (all the sets and gets are in place - ready for the human to add 
the detailed methods), and the GUI for browsers and text for WAP devices is 
created in XML ready for Cocoon consumption.
 
So, anyway, the descriptor file is your 
"common" store area.

  -Original 
  Message-From: Derek Hohls 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 27, 2002 5:00 
  AMTo: [EMAIL PROTECTED]Subject: RE: xsp 
  !!!
  I'm not sure about this - but if you were to include these
  in a logic sheet (as I suggested in another reply),
  then Cocoon would take care it of for you.>>> 
  [EMAIL PROTECTED] 27/11/2002 12:01:17 >>>
  as far as i understand, the cocoon mechanism does it for us but the java 
  file i must precompile it. is it correct? 
  -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED]] Sent: 27 
  November 2002 16:49 To: [EMAIL PROTECTED] Subject: RE: xsp 
  !!! 
  well - are you aware that xsp is *also* recompiled every time you 
  change the file!  (because that's what it is converted into... a Java 
  file, that must be regenerated and recompiled before it can be used.) 
  
  >>> [EMAIL PROTECTED] 27/11/2002 11:49:56 >>> 
  thnks but i dont want to use java file coz it made me recompile 
  everytime i update the file. so, cant i use with xsp? cheers 
  -Original Message- From: Ivan Luzyanin [mailto:[EMAIL PROTECTED]] Sent: 27 
  November 2002 16:24 To: [EMAIL PROTECTED] Cc: Hong Gia Dinh 
  Subject: Re: xsp !!! 
  > Hi all > I got a problem and tried to solve it! > i want 
  to have a common 'common.xsp' file containing all the common values 
  > and i have other personal files that uses all the common values! 
  > so how can i use it ?? can i include/import a xsp file in oter xsp 
  file? > i tried to use aggregate but it doesn't work! > 
  > can u all show me? > Cheers Place your common values into 
  simple JavaClass file "CommonConstants.java" and then import one in 
  any XSP:   
  &pkg;.CommonConstants 

      int foo = CommonConstants.BAR; 
Ivan. 
  - 
  Please check that your question  has not already been answered in the 
  FAQ before posting.  
  To unsubscribe, e-mail: 
  <[EMAIL PROTECTED]> For additional commands, 
  e-mail:   <[EMAIL PROTECTED]> 



RE: passing parameters to XSP, or rather transforming before including...

2002-11-27 Thread Alten, Jelle Paul (uto)



Hi 
Anna,
 
You are almost 
there! Just use "file.blabla" instead of file.html and create a pipeline that 
will match "file.blabla", and do a transformation on the file.html in this 
pipeling using your xsl.
 
Hope it 
helps,
 
Jelle
 
 
-Oorspronkelijk bericht-Van: Anna Afonchenko 
[mailto:[EMAIL PROTECTED]]Verzonden: woensdag 27 november 2002 
12:32Aan: cocoon-usersOnderwerp: passing parameters to 
XSP

  Hi All.
  Another question:
  I neeed to pass to XSP some file 
  that was evaluated previously in some pipeline (can pass it as a string), 
  something like:
  
      
  
  
   
  If I use cinclude inside XSP, I can 
  do nothing with the included file in XSP, only enclose it with some tags. But 
  I actually need to make some changes to the processed file through 
  XSP.
  Is it possible?
   
  Thank you for your 
  help.
   
  Anna


passing parameters to XSP

2002-11-27 Thread Anna Afonchenko



Hi All.
Another question:
I neeed to pass to XSP some file that 
was evaluated previously in some pipeline (can pass it as a string), something 
like:

    

 
If I use cinclude inside XSP, I can 
do nothing with the included file in XSP, only enclose it with some tags. But I 
actually need to make some changes to the processed file through 
XSP.
Is it possible?
 
Thank you for your help.
 
Anna


Invoking a Servlet directly!!!

2002-11-27 Thread Kavitha Ramesh
Hi,

Normally we invoke a servlet like below:

http://localhost:8080/cocoon/myservlet{requestQuery}";
/>

But I would like to invoke the servlet directly like
below:

If the servlet is stored  in a directory
Web-Inf/Classes/Servlet/myservlet.class, then I would
like to invoke as



Is this possible?Please help me!

Kavitha



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: i18n more!!

2002-11-27 Thread Kavitha Ramesh
hi GD,

If you want to get a good idea about i18n, go to the
welcome page of your cocoon(after cocoon installation,
 go to the url, http://localhost:8080/cocoon), you
have a title Internationalization.Click the link and
explore.Also in your cocoon directory you will have a
folder i18n, explore that too.

In your case you should have messages.xml(for english)
and messages_fr (for french).In the browser go to the
menu Extras-Internet options-Language-Choose French
and bring the French language above all the other
languages and click OK button.Your pages will have all
the messages in French.

Have Fun!

Kavitha.


--- Hong Gia Dinh <[EMAIL PROTECTED]> wrote:
> I 'm a new user in cocoon, 
> I have the case :
> i have a web site trying to apply cocoon into it.
> i have 2 languages, english and french
> now if in one page i choose a language such as
> 'french' i want all next page
> from that on will be in french. how can i do that?
> how can i know the current language i chose?
> can u all tell me?
> cheers
> GD
> 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Parsing XML from SQL

2002-11-27 Thread Jeremy Quinn
Dear All

We are using the SQLTransformer for a project.

Our SQL Database contains a Table called Resource, which keeps 
information about the resources in our archive. Most of these resources 
are binary, ie. .gif, .jpg, .swf, .mov etc. So we merely 'embed' the 
resource reference in the page produced by a Resource record, to show 
it on the page.

We now find we have a few 'text' resources, that require a bit of 
markup in them, mainly just paragraphs.

We either need to XInclude the resource into the pipeline from an XML 
file referred to in the SQL, or keep the actual resource in the SQL and 
parse it as it comes out.

I know that it is possible to parse SQL fields via the ESQL TagLib, but 
we prefer the Transformer approach.

Does anyone know if it is possible to Parse fields extracted from SQL 
via the SQLTransformer?


Thanks for any suggestions.

regards Jeremy


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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



Re: parameters in xsp don't work

2002-11-27 Thread Jeremy Quinn

On Tuesday, Nov 26, 2002, at 16:21 Europe/London, Christian Haul wrote:


So I will redefine my question. How can I use values obtained by a db 
query
in my esql in the cinclude statement?


After your XSP has done it's job, process the XML with XSLT to assemble 
your CInclude tag from your SQL results, then pass it through the 
CIncludeTransformer.

You just cannot do it in one step, thats all .

regards Jeremy


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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



RE: xsp !!!

2002-11-27 Thread Derek Hohls



I'm not sure about this - but if you were to include these
in a logic sheet (as I suggested in another reply),
then Cocoon would take care it of for you.>>> 
[EMAIL PROTECTED] 27/11/2002 12:01:17 >>>
as far as i understand, the cocoon mechanism does it for us but 
the java file i must precompile it. is it correct? 
-Original Message- From: Derek 
Hohls [mailto:[EMAIL PROTECTED]] 
Sent: 27 November 2002 16:49 To: 
[EMAIL PROTECTED] Subject: RE: xsp !!! 

well - are you aware that xsp is *also* recompiled 
every time you change the file!  (because 
that's what it is converted into... a Java file, that 
must be regenerated and recompiled before it can 
be used.) 
>>> [EMAIL PROTECTED] 27/11/2002 11:49:56 
>>> 
thnks but i dont want to use java file 
coz it made me recompile everytime i update the file. 
so, cant i use with xsp? cheers 

-Original Message- From: Ivan 
Luzyanin [mailto:[EMAIL PROTECTED]] 
Sent: 27 November 2002 16:24 To: 
[EMAIL PROTECTED] Cc: Hong Gia Dinh 
Subject: Re: xsp !!! 
> Hi all > I got a problem and 
tried to solve it! > i want to have a common 
'common.xsp' file containing all the common values 
> and i have other personal files that uses all the 
common values! > so how can i use it ?? can i 
include/import a xsp file in oter xsp file? 
> i tried to use aggregate but it doesn't work! 
> > can u all show me? 
> Cheers Place your common 
values into simple JavaClass file "CommonConstants.java" 
and then import one in any XSP:   
&pkg;.CommonConstants 
      int foo = CommonConstants.BAR; 
  Ivan. 
- 
Please check that your question  has not already been 
answered in the FAQ before 
posting.  

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


AW: i18n more!!

2002-11-27 Thread Kirchhoff, Lars
hi GD,

you have to use the i18n Transformer, which sample and documentation is
actually very good. try the instruction that can be found here
http://xml.apache.org/cocoon/userdocs/transformers/i18n-transformer.html

ciao Lars

-Ursprungliche Nachricht-
Von: Hong Gia Dinh [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 27. November 2002 17:54
An: [EMAIL PROTECTED]
Betreff: i18n more!!


I 'm a new user in cocoon, 
I have the case : 
i have a web site trying to apply cocoon into it. 
i have 2 languages, english and french 
now if in one page i choose a language such as 'french' i want all next page
from that on will be in french. how can i do that?
how can i know the current language i chose? 
can u all tell me? 
cheers 
GD 

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




RE: xsp !!!

2002-11-27 Thread Hong Gia Dinh
Title: RE: xsp !!!





as far as i understand, the cocoon mechanism does it for us but the java file i must precompile it. is it correct?



-Original Message-
From: Derek Hohls [mailto:[EMAIL PROTECTED]]
Sent: 27 November 2002 16:49
To: [EMAIL PROTECTED]
Subject: RE: xsp !!!



well - are you aware that xsp is *also* recompiled 
every time you change the file!  (because that's
what it is converted into... a Java file, that must
be regenerated and recompiled before it can be
used.)


>>> [EMAIL PROTECTED] 27/11/2002 11:49:56 >>>


thnks 
but i dont want to use java file coz it made me recompile everytime i
update the file. 
so, cant i use with xsp? 
cheers 


-Original Message- 
From: Ivan Luzyanin [mailto:[EMAIL PROTECTED]] 
Sent: 27 November 2002 16:24 
To: [EMAIL PROTECTED] 
Cc: Hong Gia Dinh 
Subject: Re: xsp !!! 


> Hi all 
> I got a problem and tried to solve it! 
> i want to have a common 'common.xsp' file containing all the common
values 
> and i have other personal files that uses all the common values! 
> so how can i use it ?? can i include/import a xsp file in oter xsp
file? 
> i tried to use aggregate but it doesn't work! 
> 
> can u all show me? 
> Cheers 
Place your common values into simple JavaClass file
"CommonConstants.java" and 
then import one in any XSP: 
 
 
&pkg;.CommonConstants 
 
 
    int foo = CommonConstants.BAR; 
 
 
Ivan. 


-
Please check that your question  has not already been answered in the
FAQ before posting. 


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





i18n more!!

2002-11-27 Thread Hong Gia Dinh
Title: i18n more!!





I 'm a new user in cocoon, 
I have the case :
i have a web site trying to apply cocoon into it.
i have 2 languages, english and french
now if in one page i choose a language such as 'french' i want all next page from that on will be in french. how can i do that?

how can i know the current language i chose?
can u all tell me?
cheers
GD





RE: xsp !!!

2002-11-27 Thread Derek Hohls
well - are you aware that xsp is *also* recompiled 
every time you change the file!  (because that's
what it is converted into... a Java file, that must
be regenerated and recompiled before it can be
used.)

>>> [EMAIL PROTECTED] 27/11/2002 11:49:56 >>>

thnks 
but i dont want to use java file coz it made me recompile everytime i
update the file. 
so, cant i use with xsp? 
cheers 

-Original Message- 
From: Ivan Luzyanin [mailto:[EMAIL PROTECTED]] 
Sent: 27 November 2002 16:24 
To: [EMAIL PROTECTED] 
Cc: Hong Gia Dinh 
Subject: Re: xsp !!! 

> Hi all 
> I got a problem and tried to solve it! 
> i want to have a common 'common.xsp' file containing all the common
values 
> and i have other personal files that uses all the common values! 
> so how can i use it ?? can i include/import a xsp file in oter xsp
file? 
> i tried to use aggregate but it doesn't work! 
> 
> can u all show me? 
> Cheers 
Place your common values into simple JavaClass file
"CommonConstants.java" and 
then import one in any XSP: 
 
 
&pkg;.CommonConstants 
 
 
int foo = CommonConstants.BAR; 
 
 
Ivan. 

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




RE: xsp !!!

2002-11-27 Thread Hong Gia Dinh
Title: RE: xsp !!!





thnks
but i dont want to use java file coz it made me recompile everytime i update the file.
so, cant i use with xsp?
cheers



-Original Message-
From: Ivan Luzyanin [mailto:[EMAIL PROTECTED]]
Sent: 27 November 2002 16:24
To: [EMAIL PROTECTED]
Cc: Hong Gia Dinh
Subject: Re: xsp !!!



> Hi all
> I got a problem and tried to solve it!
> i want to have a common 'common.xsp' file containing all the common values
> and i have other personal files that uses all the common values!
> so how can i use it ?? can i include/import a xsp file in oter xsp file?
> i tried to use aggregate but it doesn't work!
>
> can u all show me?
> Cheers


Place your common values into simple JavaClass file "CommonConstants.java" and 
then import one in any XSP:




&pkg;.CommonConstants


    int foo = CommonConstants.BAR;




Ivan.





Re: parameters in xsp don't work

2002-11-27 Thread Derek Hohls



Sorry, but the syntax you were using showed that you 
did *not* seem to understand the difference between XSP and XSL; 

hence my suggestion to do some background reading -
because that's where I managed to find the info needed
to work with XSP.
 
Also, before making sarcastic comments, please bear in mind
that not each of us has time to solve someone else's detailed 
problems - but we do contribute where and how we are able.
 
A little common courtesy goes a long way on a mail list 
like this>>> [EMAIL PROTECTED] 26/11/2002 
05:46:14 >>>Sorry, but that is not the kind of helpful information 
I am used in thislist. Yes you're right. Mostly any information can be 
obtained by readingdocs. And yes I know that XSp is not XSL. And yes I 
searched for examples.without any succes.So I will redefine my 
question. How can I use values obtained by a db queryin my esql in the 
cinclude statement?Rob- Original Message -From: "Derek 
Hohls" <[EMAIL PROTECTED]>To: 
<[EMAIL PROTECTED]>Sent: Tuesday, November 26, 2002 3:23 
PMSubject: Re: parameters in xsp don't work> In short; the 
syntax inside XSP and XSL is quite different;> suggest you look at the 
docs and the Cocoon samples to> get up-to-speed on how XSP 
works...>> >>> [EMAIL PROTECTED] 26/11/2002 
04:16:20  I must create an dynamic variable based (from db 
content) cinclude> path.> But this doens't work. Do you know 
why?> ...> > 
>  > 
column="i.id"/>> 
> 
column="t.stylesheet"/>> 
> 
src=""/>> 
> > 
>>> 
-> 
Please check that your question  has not already been answered in 
the> FAQ before posting. >> 
To unsubscribe, e-mail: 
<[EMAIL PROTECTED]>> For additional commands, 
e-mail:   
<[EMAIL PROTECTED]-Please 
check that your question  has not already been answered in theFAQ 
before posting. To 
unsubscribe, e-mail: 
<[EMAIL PROTECTED]>For additional commands, 
e-mail:   
<[EMAIL PROTECTED]>


Re: xsp !!!

2002-11-27 Thread Derek Hohls



It should also be possible to use logicsheets to do this...
(see the Cocoon docs on how to)>>> [EMAIL PROTECTED] 
27/11/2002 11:23:41  Hi all> I got a problem and 
tried to solve it!> i want to have a common 'common.xsp' file containing 
all the common values> and i have other personal files that uses all the 
common values!> so how can i use it ?? can i include/import a xsp file in 
oter xsp file?> i tried to use aggregate but it doesn't 
work!>> can u all show me?> CheersPlace your common 
values into simple JavaClass file "CommonConstants.java" and then import one 
in any 
XSP:&pkg;.CommonConstants    
int foo = 
CommonConstants.BAR;Ivan.-Please 
check that your question  has not already been answered in theFAQ 
before posting. To 
unsubscribe, e-mail: 
<[EMAIL PROTECTED]>For additional commands, 
e-mail:   
<[EMAIL PROTECTED]>


Re: parameters in xsp

2002-11-27 Thread Derek Hohls



Robert
 
You need to look at the documents and the Cocoon sample
to see how parameters and variables work in XSP - they are
*not* the same as XSL.>>> [EMAIL PROTECTED] 
26/11/2002 04:15:30 >>>I must create an dynamic variable based 
(from db content) cinclude path.But this doens't work. Do you know 
why?... 
    column="t.stylesheet"/>    
src=""/>-Please 
check that your question  has not already been answered in theFAQ 
before posting. To 
unsubscribe, e-mail: 
<[EMAIL PROTECTED]>For additional commands, 
e-mail:   
<[EMAIL PROTECTED]>


Re: i18n translator and thai support

2002-11-27 Thread Konstantin Piroumian
Hi!

Probably, you are using a wrong editor to edit your dictionary files and it
somehow mangles the encoding.
I usually use XML Spy to edit this kind of exotic languages and I've
successfully edited the Chinese, Japanese and Korean translations (they are
in C2.1 only).

Regards,
  Konstantin


- Original Message -
From: "Kirchhoff, Lars" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 12:06
Subject: i18n translator and thai support


> Hi,
>
> I played around with the i18n translator and it worked perfectly for
german
> and english translation. But now I tried to create a dictonary for thai
> language and it's not working. I always get the english dictonary. I
figured
> out that, if the dictonary file [for instances messages_th.xml] is wrong
or
> has wrong statements in it, the other dictonaries are tried.
> After this I simply tried to put some thai characters in the xsp code and
> got the following error:
>
>  error ===
> The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode
notifies
> that org.apache.cocoon.ProcessingException says:
>
> Invalid byte 2 of 2-byte UTF-8 sequence.
>
> More precisely:
>
> org.apache.cocoon.ProcessingException: Invalid byte 2 of 2-byte UTF-8
> sequence.: java.io.UTFDataFormatException: Invalid byte 2 of 2-byte UTF-8
> sequence.
>  /error ===
>
> can anyone give me a suggestions what I can do? The funny thing is that
the
> date-time function of i18n transformer is working and shows the date in
thai
> fonts.
>
> Thanks in advance
>
> best regards
> Lars Kirchhoff
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Question

2002-11-27 Thread Lautaro Brasseur



I have the following entry in 
sitemap.xmap:
 
 
I want to change the src parameter for the 
transformator, depending on a element that comes from the generator. There is 
any way to do this (without writing a custom transformer)? Can I modify that 
parameter from the generator?
 
Thanks
 
Lautaro
 


parameters in xsp

2002-11-27 Thread Robert Sösemann
 I must create an dynamic variable based (from db content) cinclude path.
But this doens't work. Do you know why?
...


 







-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




XSP and ESQL

2002-11-27 Thread Tom Place
Hi all, 

I was wondering if anyone could help me with the following. I am trying
to put the results from a row of results directly into String variables
as show below and Cocoon isn’t happy. I get a unclosed character literal
compilation error.

The XSP I am executing is as follows

  while (class1 = null) {


  autorevs_pool
  
select * from profile where SELECTION =
'currentSelection'
1

  


  class1 = "";
  engine1 = "";

  class1
  engine1


  


  
  if (currentSelection.equals("Strongly Agree")) {
currentSelection = "Agree";
  } else if (currentSelection.equals("Agree")) {
currentSelection = "Undecided";
  } else if (currentSelection.equals("Undecided")) {
currentSelection = "Disagree";
  } else { 
currentSelection = null;
class1 = "error";
  }
  

  


  }

Any help greatly appreciated

Thanks

Tom Place 



-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: xsp !!!

2002-11-27 Thread Ivan Luzyanin
> Hi all
> I got a problem and tried to solve it!
> i want to have a common 'common.xsp' file containing all the common values
> and i have other personal files that uses all the common values!
> so how can i use it ?? can i include/import a xsp file in oter xsp file?
> i tried to use aggregate but it doesn't work!
>
> can u all show me?
> Cheers

Place your common values into simple JavaClass file "CommonConstants.java" and 
then import one in any XSP:



&pkg;.CommonConstants


int foo = CommonConstants.BAR;



Ivan.

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: Problem compiling Cocoon

2002-11-27 Thread Bertrand Delacretaz
On Wednesday 27 November 2002 08:51, Anna Afonchenko wrote:
>. . . 
> How can I update the CVS in xml-cocoon2 directory instead of downloading
> the new CVS files every time from scratch?

http://www.cvshome.org/ is your friend here.
In this case what you need is "cvs update".

-Bertrand

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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