I18n

2002-07-10 Thread Alex Romayev

Hi all,

I'm trying to figure out how to build an
internationalised web site.I've read the documentation
on Cocoon I18n and looked at the samples.  I
understand how its dictionary approach works for
lables, messages and instructional copy, however I
don't understand how I would use it if I have business
entities.

For example, let's say I want to model a person with
the following XML:


  Some date
  12345678
  English Name
  French Name
  ...


Keeping names in a dictionary separate of the record's
context seems a bit awkward, plus some attributes,
like DOB and passportNumber are not translatable.

Any ideas?

Thanks,
-Alex


__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.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: Cocoon status page ??

2002-07-10 Thread Sylvain.Thevoz

Hello,

If you deploy an Enterprise ARchive (.ear, containing the cocoon.war) you have to add 
a "web context" in the deploy conf. file application.xml called "cocoon".

Sylvain

-Message d'origine-
De: Artur Bialecki [mailto:[EMAIL PROTECTED]]
Date: mardi, 9. juillet 2002 17:46
À: [EMAIL PROTECTED]
Objet: Cocoon status page ??



 
 [ C-2.0.2, JDK1.3.1, Tomkat 4.0.4.b2 ]
 
 I deploy the cocoon servlet as part of a j2ee application
 which uses other servlets as well. So, I don't have the /
 mapped to cocoon (just *.xsp and *.xml). How can I access
 Cocoons status page normally accessed with /cocoon/status
 
 Thanks,
 
 Artur...


-
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 article on xml.com

2002-07-10 Thread Matthew Langham

Getting started with Cocoon:

http://www.xml.com/pub/a/2002/07/10/cocoon2.html

"State-of-the-art: Cocoon 2 is leading-edge. Technology-wise your project
will be very well suited for moving forward in the 21st century, instead of
rooted in older paradigms"



Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
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: extra-classpath in cocoon/WEB-INF/web.xml has no effect on CLASSPATH

2002-07-10 Thread sheshadri

Hi,
in the web.xml of cocoon, if u set the init-classloader parameters param
value to true,
(which is false by default)
then i think the problem of class not found will be solved.


  init-classloader
  true


Regards,
Sheshadri
- Original Message -
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "'Andrei Svirida'"
<[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 7:47 AM
Subject: RE: Problem: extra-classpath in cocoon/WEB-INF/web.xml has no
effect on CLASSPATH


> > From: Andrei Svirida [mailto:[EMAIL PROTECTED]]
> >
> > Hi cocooners,
> >
> > i have moved some of the jars needed for my cocoon application
> > out from /cocoon/WEB-INF/lib directory to /opt/lib
> >
> > E.g., file /cocoon/WEB-INF/lib/test.jar is at
> > /opt/lib/test.jar now.
> >
> > After that, i inserted
> >  
> >extra-classpath
> >/opt/lib/test.jar
> > 
> > into cocoon/WEB-INF/web.xml.
> >
> > Inspite of that cocoon servlet fails to find the classes from test.jar
> > and throws ClassNotFoundException.
> >
> > My OS is SunOS, Cocoons version is 2.0.2
> > The same problem exists also on my Windows-PC with Cocoon 2.0.2.
> >
> > Has anybody an idea how to fix it?
>
> Don't have idea how to fix it, but want to warn you that in 2.0.3 this
> feature will work only with ParanoidCocoonServlet which is designed to
> work with broken servlet engines, and will have no effect in regular
> CocoonServlet.
>
> Vadim
>
>
>
> -
> 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: Sitemap parameters and configuration of pages

2002-07-10 Thread Vadim Gritsenko

> From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]]
> 
> Hi all,
> 
> I've got a number of pages that render links and my application base
is
> subject to change.  I realize that one can set a link base in the
> outputted html, but I'd rather configure it on some kind of site
basis.
> Is there some way to set a "global" parameter in the sitemap to pass
to
> all pipelines?  Or maybe a better way to do this.
> 
> For example:
> 
>
> 
>  
>   src="cocoon:/catnav.xml?base=/cocoon/samples/bringmethis?parent=0"/>
>  
>  
>   src="cocoon:/sitenav.xml?base=/cocoon/samples/bringmethis"/>
>  
>  
> 
> 
> 
> 
>
> 
> 
> only instead of ?base=/cocoon/samples/bringmethis I set that somewhere
> in the sitemap, even if i have to pass it to every page that needs
> links, that would be ok.
> 
> Thoughts?

I took a bit different approach: I do create only relative links, and
pass path to root to the stylesheet which generates links (this could be
done in specialized transformer):


  


Vadim

 
> Thanks,
> 
> Andy
> --
> http://www.superlinksoftware.com - software solutions for business
> http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in
> Java
> http://krysalis.sourceforge.net/centipede - the best build/project
> structure
>   a guy/gal could have! - Make Ant simple on complex
Projects!
> The avalanche has already started. It is too late for the pebbles to
> vote.
> -Ambassador Kosh


-
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: SVG problems with

2002-07-10 Thread Vadim Gritsenko

> From: Robert Bourdeau [mailto:[EMAIL PROTECTED]]
> 
> Ok, from what I can determine with my limited knowledge,
> Batik currently fully supports "static" use of , but
> "dynamic" use of  is not supported but will be supported
> in Batik 1.5 beta 4.
> 
> I have Cocoon 2.0.2-dev
> I'm not entirely sure which version of Batik this would include.
> 
> Is there some document that describes what is included in a given
> "binary" release of Cocoon? Which version of the various integrated
> packages? E.g., a configuration document?

All jar files shipped with cocoon have version number in their name.

Other resources are:
  cocoon/lib/jars.xml
(source dist of Cocoon 2.0.3+)
  cocoon/src/documentation/xdocs/installing/jars.xml
(source dist, Cocoon 2.0.2-)
  http://localhost:8080/cocoon/documentation/installing/jars.xml
(from the memory, url may be a bit wrong)
  http://xml.apache.org/cocoon/installing/jars.html



Vadim

  
 
> Regards,
> 
> --- Bob
> 
...


-
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: Language Exception

2002-07-10 Thread Vadim Gritsenko

> From: Dan Jones [mailto:[EMAIL PROTECTED]]
> 
> Hi
> 
> I'm a total newbie with cocoon and am getting this error when I try to
access
> http://localhost/cocoon (I've set up Tomcat so I don't need to use the
:8080),
> using cocoon 2 and Tomcat 4.03 with JDK1.4, under Windows 2000
professional.
> 
> I've installed it on another machine using the same OS, servlet engine
and
> cocoon
> version, but with JDK1.3.0 and I'm presented with the cocoon homepage
when I
> enter the previous URL.
> 
> Here is the error message I'm receiving. Is there a quick fix for
this? Didn't
> seem to be any mention of it in the FAQ.
> 
> Many thanks
> 
> Dan
> 
> type fatal
> 
> message Language Exception
> 
> description org.apache.cocoon.ProcessingException:
> 
> Language Exception:
> org.apache.cocoon.components.language.LanguageException:
> Error compiling sitemap_xmap:
> Line 0, column 0: could not parse error message:
> error: Invalid class file format in
> G:\JDK1.4\jre\lib\rt.jar(java/io/OutputStream.class).
> The major.minor version '48.0' is too recent for this tool to
understand.

Quick fix: either upgrade compiler to version 1.4, or use rt.jar from
the JDK of the compiler.

Explanation: you can't use JDK1.4 libraries (rt.jar) with older compiler
(say, 1.3). Compiler resides in WEB-INF, and its name is javac.jar. When
in JDK, this is lib/tools.jar file. JDK and compiler must match (unless
you are using alternate compiler - pizza - default in latest cocoon
releases)


Vadim


-
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: Redirects (again)...

2002-07-10 Thread Vadim Gritsenko

> From: Per Kreipke [mailto:[EMAIL PROTECTED]]
> 
> Another thought:
> 
> - if I throw an exception in some step of the pipeline, could I
configure an
> error handler to do a redirect?

No.

Why don't you do your processing in the action.

Vadim

 
> Per
> 
> > -Original Message-
> > From: Per Kreipke [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 09, 2002 3:26 PM
> > To: [EMAIL PROTECTED]
> > Subject: Redirects (again)...
> >
> >
> > As I understand it handling successful form posting in XSP (e.g.
without
> > actions) can't involve redirecting the user back to the calling
page.
> >
> > E.g. given the following pages:
> >
> > index.html -> main page, lists all widgets
> > form.html -> form to add a new widget
> > doPost.xsp -> add the widget
> >
> > in most cases, you'd like doPost.xsp to redirect back to the
> > index.html page
> > on _success_ to show the new widget added to the list.
> >
> > However in Cocoon 2.0.X:
> >
> > - you can't redirect from an XSP file
> >
> > - map:redirect-to can't be used after some stage in the pipeline
(what is
> > that stage?)
> >
> >
> > I understand how to use the form validator to redisplay form.html
until
> > input is correct but I don't quite know how to handle the post
(without an
> > Action).
> >
> >
> > Hmm. I just remembered that I can use XSP to create an action. I
> > just might
> > struggle with that next.
> >
> > Any other suggestions are welcome,
> >
> > Per


-
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: extra-classpath in cocoon/WEB-INF/web.xml has no effect on CLASSPATH

2002-07-10 Thread Vadim Gritsenko

> From: Andrei Svirida [mailto:[EMAIL PROTECTED]]
> 
> Hi cocooners,
> 
> i have moved some of the jars needed for my cocoon application
> out from /cocoon/WEB-INF/lib directory to /opt/lib
> 
> E.g., file /cocoon/WEB-INF/lib/test.jar is at
> /opt/lib/test.jar now.
> 
> After that, i inserted
>  
>extra-classpath
>/opt/lib/test.jar
> 
> into cocoon/WEB-INF/web.xml.
> 
> Inspite of that cocoon servlet fails to find the classes from test.jar
> and throws ClassNotFoundException.
> 
> My OS is SunOS, Cocoons version is 2.0.2
> The same problem exists also on my Windows-PC with Cocoon 2.0.2.
> 
> Has anybody an idea how to fix it?

Don't have idea how to fix it, but want to warn you that in 2.0.3 this
feature will work only with ParanoidCocoonServlet which is designed to
work with broken servlet engines, and will have no effect in regular
CocoonServlet.

Vadim



-
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: Cocoon and CLASSPATH

2002-07-10 Thread Vadim Gritsenko

> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> 
> Hello,
> 
> How to check my classpath in my Cocoon project?

Not sure what do you mean, but Cocoon does not (must not) uses
$CLASSPATH environment variable.

It behaves like any other servlet when deployed in servlet engine, and
see run.[bat|sh] for classpath when Cocoon used via command line
interface.

Classes available to *any* servlet (as per spec) are:
 - boot class path
 - rt
 - lib/ext
 - libraries added by servlet engine
 - WEB-INF/classes
 - WEB-INF/lib


Vadim


> Thank you
> Sylvain


-
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: Réf. : Language Exception

2002-07-10 Thread Dan Jones

Thanks Othman

but I am actually using the default cocoon sitemap. I haven't changed
anything at all in the configuration or setup as yet. Merely trying to
get the initial Cocoon welcome page up.

I guess maybe Cocoon is still a little buggy when it comes to JDK1.4, as
1.3 seems to work fine. Might go back to an earlier JDK.

Cheers

Dan

Othman Haddad wrote:

> hi,that means that you've something wrong in your sitemap.xmap...try
  to use the default sitemap of cocoon2 before using your own
  one..hope it helps
  ---Message original---

  De : [EMAIL PROTECTED]
  Date : mercredi 10 juillet 2002 03:27:09
  A : [EMAIL PROTECTED]
  Sujet : Language Exception
   Hi

  I'm a total newbie with cocoon and am getting this error when I try
  to access
  http://localhost/cocoon (I've set up Tomcat so I don't need to use
  the :8080),
  using cocoon 2 and Tomcat 4.03 with JDK1.4, under Windows 2000
  professional.

  I've installed it on another machine using the same OS, servlet
  engine and cocoon
  version, but with JDK1.3.0 and I'm presented with the cocoon
  homepage when I
  enter the previous URL.

  Here is the error message I'm receiving. Is there a quick fix for
  this? Didn't
  seem to be any mention of it in the FAQ.

  Many thanks

  Dan

  type fatal

  message Language Exception

  description org.apache.cocoon.ProcessingException:

  Language Exception:
  org.apache.cocoon.components.language.LanguageException:
  Error compiling sitemap_xmap:
  Line 0, column 0: could not parse error message:
  error: Invalid class file format in
  G:\JDK1.4\jre\lib\rt.jar(java/io/OutputStream.class).
  The major.minor version '48.0' is too recent for this tool to
  understand.



  -

  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]>


  .
> 
> IncrediMail - La messagerie électronique a enfin évolué - Cliquer
> ici



-
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]>




Sitemap parameters and configuration of pages

2002-07-10 Thread Andrew C. Oliver

Hi all,

I've got a number of pages that render links and my application base is
subject to change.  I realize that one can set a link base in the
outputted html, but I'd rather configure it on some kind of site basis. 
Is there some way to set a "global" parameter in the sitemap to pass to
all pipelines?  Or maybe a better way to do this.

For example:

   

 
 
 
 
 
 
 




   


only instead of ?base=/cocoon/samples/bringmethis I set that somewhere
in the sitemap, even if i have to pass it to every page that needs
links, that would be ok.

Thoughts?

Thanks,

Andy
-- 
http://www.superlinksoftware.com - software solutions for business
http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in
Java
http://krysalis.sourceforge.net/centipede - the best build/project
structure
a guy/gal could have! - Make Ant simple on complex Projects!
The avalanche has already started. It is too late for the pebbles to
vote.
-Ambassador Kosh


-
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: SVG problems with

2002-07-10 Thread Robert Bourdeau

Ok, from what I can determine with my limited knowledge, 
Batik currently fully supports "static" use of , but 
"dynamic" use of  is not supported but will be supported
in Batik 1.5 beta 4.

I have Cocoon 2.0.2-dev
I'm not entirely sure which version of Batik this would include.

Is there some document that describes what is included in a given
"binary" release of Cocoon? Which version of the various integrated
packages? E.g., a configuration document?

Regards,

--- Bob



> -Original Message-
> From: Robert Bourdeau [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 10, 2002 2:32 PM
> To: [EMAIL PROTECTED]
> Subject: SVG problems with 
> 
> 
> I'm experimenting with SVG using Cocoon. Things work fine, until I 
> attempt to utilize the  element, at which point I get an 
> inexplicable error. Here's the set up:
> 
> Sitemap fragment:
> -
> 
>  
>   
>  
>  
>   
>  
> 
> 
> 
> A simple XML document 'svg1.xml':
> -
> 
>   "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
> 
> http://www.w3.org/1999/xlink";>
>   
>d="M 150 110 A 40 30 0 1 0 230 110"
>   style="stroke: gray; fill: none;" />
>   
> 
>   cat
>   My Evolving SVG Version of a Cat
>   
>   My wonderful little circle
> 
>d="M 150 110 A 40 30 0 1 0 230 110"
> style="stroke: gray; fill: none;" />
> 
> 
>   
> 
> 
> 
> ---
> If I remove the  element above, the graphic gets generated as expected.
> However, if left in, I get the following Cocoon error:
> 
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
>org.apache.batik.transcoder.TranscoderException: null
> Enclosed Exception:
> http://xml.apache.org:-1
> The URI '' specified on the element  is invalid 
> 
> All I can think of is that Cocoon  has a different syntax, not using
> xlink attributes.
> 
> This example comes pretty much straight out of the O'Reilly SVG Essentials
> text, and I don't understand what is going wrong.
> 
> Any thoughts?
> 
> Thanks much.
> 
> --- Bob
> 
> 
> 
> 
> 
> 
> 
> -
> 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]>




[ANNOUNCEMENT] Second Open Content Management Conference

2002-07-10 Thread Michael Wechner

Dear Group

OSCOM is organizing the Second Open Source Content
Management Conference in Berkeley, California, USA, from 25 - 27
September 2002. Registration for this second conference is now open. For
more details see
http://www.oscom.org/conferences/sanfrancisco2002/index.html

Cocoon will be represented by DBPrism and Wyona.

Ted Nelson will give the keynote.

BTW: OSCOM is powered by Cocoon

Please spread the word about this new conference and help us make it a
success.

Thanks a lot

Michael


-
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]>




nested elements in esql logicsheets

2002-07-10 Thread Stephen Ng

After bashing my head a little trying to figure out how to use dynamic
tag parameters in esql, I finally figured it out and have a few
(constructive, I hope) suggestions.

Documentation:

1. http://xml.apache.org/cocoon/userdocs/xsp/logicsheet-concepts.html
contains a lot of information which is pretty important to using
logicsheets, not just for people writing them.  I'd prefer that it be
rewritten to target users, not writers, but at a minimum, *please*
remove (or move) the section on SiLLy--there's precious little doc as it
is on logicsheets, and including a large section on a still-in-design
component is very confusing to those of us getting started.

2. "Also, dynamic tag parameters must be accepted both as constant
strings and as (potentially complex) expressions."

This is, of course, a great great thing, a lifesaver.  But the example
given is:
  

  request.getParameter("format");

  

To use this with esql, you must say:

  

BUT, it's "param" not "parameter"!  Also, it's not at all obvious that
the util and esql namespaces both contain an element named "param"; I
might have been tempted to use "util:param" in my esql sheet.

[That it's "esql:param" is not obvious from looking at esql.xsl--I
attempted to grep for "esql:param" and found nothing.  That's because
the code is written:



Where $prefix (which is only used here!) is hard-coded to "esql"!

]

Code:

1. I could not get  text to show up in the
.log file.  In my sitemap, I have:



In logkit.xconf I have:

http://java.sun.com/docs/books/tutorial/jdbc/basics/complete.html --
getWarnings() is a method of the (private)
connection/statement/resultset object.

Can someone confirm this?

That's all!

--Steve


-
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: Réf. : RE: xsl vs cocoon

2002-07-10 Thread J.Pietschmann

Othman Haddad wrote:
> it's partially true, because right now (which is a pitty) there's no 
> sitemap element that can get a parameter value (which is sometimes very 
> important)...

There is a RequestParamAction and a RequestParameterExistsAction,
and various components can take a UseRequestParameter parameter
(os similar). Or did you have a different meaning for "parameter"
in mind?

J.Pietschmann



-
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]>




[SUMMARY] JspReader/JspGenerator in 2.0.2

2002-07-10 Thread Lajos Moczar

Hi all -

I've seen several rather frustrated posts from users trying to figure 
out how to make JspReader and/or JspGenerator work in Cocoon 2.0.2. This 
email describes how.

JspReader

Edit src/java/org/apache/cocoon/reading/JSPReader.java and replace the 
following lines (119-132):

 // KP: A hacky way of source resolving.
 // Why context:// protocol returns not a string in URL format,
 // but a system-dependent path with 'file:' prefix?
 String contextDir = new 
File(httpContext.getRealPath("/")).toURL().t
oExternalForm();
 src = this.resolver.resolve(this.source);
 String url = src.getSystemId();
 if(url.startsWith(contextDir)) {
 // File is located under contextDir, using relative 
file name
 url = url.substring(contextDir.length());
 }
 if (url.startsWith("file:")) {
 // we need a relative path
 url = url.substring(5);
 }

with the following:

 String url = this.source;

 // -- debug info --
 src = resolver.resolve(url);
 System.out.println("Resolved to: " + src);
 java.net.URL resURL = httpContext.getResource(".");
 System.out.println(". resource is: " + resURL);
 // -- end debug --


 // absolute path is processed as is
 if (!url.startsWith("/")) {
 // get current request path
 String servletPath = httpRequest.getServletPath();
 // remove file part
 servletPath = servletPath.substring(0, 
servletPath.lastIndexOf('
/') + 1);
 url = servletPath + url;
 }

JspGenerator

Edit src/java/org/apache/cocoon/generation/JspGenerator.java and replace 
the following lines (106-113):

 src = this.resolver.resolve(this.source);
 String url = src.getSystemId();
 // Guarantee src parameter is a file
 if (!url.startsWith("file:/"))
 throw new IOException("Protocol not supported: " + url);

 url = url.substring(5);
 getLogger().debug("JspGenerator executing JSP:" + url);

with the following:

 String url = this.source;
 // absolute path is processed as is
 if (!url.startsWith("/")) {
 // get current request path
 String servletPath = httpRequest.getServletPath();
 // remove file part
 servletPath = servletPath.substring(0, 
servletPath.lastIndexOf('
/') + 1);
 url = servletPath + url;
 }


The rebuild Cocoon and replace your existing cocoon-2.0.2.jar with the 
new one in build/cocoon/webapp/WEB-INF/lib.

Don't forget to copy jasper-compiler.jar from $CATALINA_HOME/lib to 
WEB-INF/lib (or whatever JSP compiler you choose to use).

Finally, if you are using a sub-sitemap, any references to JSP files in 
pipelines with either JspReader or JspGenerator must have the path 
starting from the root cocoon context and MUST start with a leading 
forward slash. Thus, if you have a sub-sitemap in a directory called 
abc, with a JSP file in abc/jsps/hello.jsp, the src attribute of either 
component should be something like:

src="/abc/jsps/hello.jsp"


Cheers,

Lajos

-- 
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: NullPointerException starting Cocoon

2002-07-10 Thread Vadim Gritsenko

> From: news [mailto:[EMAIL PROTECTED]] On Behalf Of Sven Kuenzler
> Sent: Monday, July 08, 2002 5:50 AM
> To: [EMAIL PROTECTED]
> Subject: NullPointerException starting Cocoon
> 
> Trying to install latest 2.0.3 cvs on Tomcat 4.0.4 (JDK 1.3_03), I
get:

Cocoon 2.0.3 CVS, Tomcat 4.0.4, JDK 1.3 - this should work out of the
box, with no modifications to anything.

But, if you modified something, like added some xml parser to the
jre/lib/ext, then this can break things.


Vadim

 
> [Servlet output]
> java.lang.NullPointerException
>   at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFi
> lterChain.java:247)
> ...
> 
> [error.log]
> ERROR   (2002-07-08) 11:40.52:440   [core] (Unknown-URI)
> Unknown-thread/Cocoon: Could not configure Cocoon environment
> org.apache.avalon.framework.component.ComponentException: Could not
> access the Component
>   at
>
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(E
xcalib
> urComponentManager.java:396)
>   at org.apache.cocoon.Cocoon.configure(Cocoon.java:324)
>   at org.apache.cocoon.Cocoon.initialize(Cocoon.java:266)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:
1237)
>   at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:435)
> ...
> 
> [core.log]
> DEBUG   (2002-07-08) 11:40.52:440   [core.startup] (Unknown-URI)
> Unknown-thread/ExcaliburComponentManager: Could not access the
Component
> for role: org.apache.avalon.excalibur.xml.Parser
> java.lang.IllegalStateException: You cannot get a component from an
> uninitialized holder.
>   at
>
org.apache.avalon.excalibur.component.PoolableComponentHandler.doGet(Poo
lableC
> omponentHandler.java:176)
>   at
>
org.apache.avalon.excalibur.component.ComponentHandler.get(ComponentHand
ler.ja
> va:139)
>   at
>
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(E
xcalib
> urComponentManager.java:381)
>   at org.apache.cocoon.Cocoon.configure(Cocoon.java:324)
>   at org.apache.cocoon.Cocoon.initialize(Cocoon.java:266)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:
1237)
> [SNIP]
> ERROR   (2002-07-08) 11:40.52:440   [core] (Unknown-URI)
> Unknown-thread/Cocoon: Could not configure Cocoon environment
> org.apache.avalon.framework.component.ComponentException: Could not
> access the Component
>   at
>
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(E
xcalib
> urComponentManager.java:396)
>   at org.apache.cocoon.Cocoon.configure(Cocoon.java:324)
>   at org.apache.cocoon.Cocoon.initialize(Cocoon.java:266)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:
1237)
> ...
> 
> Tomcat was prepared as described in installing (which says no
> preparation necessary for 4.0.4), Cocoon was built "clean webapp" with
> libs included.
> 
> Is this the Excalibur-built-with-JDK1.4 problem? If so, where do I get
a
> version which is running for me?
> 
>   Thanks, Sven
> 


-
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: Cache broken in Cocoon 2.1-dev?

2002-07-10 Thread Geoff Howard

I am using caching no problem (though I am not on the very latest HEAD
branch, but a few months old).  Given that you are upgrading from an older
cocoon version, have you checked out the documentation to ensure that you
have caching configured correctly?  If you have the samples running
http://{yourintallation}/cocoon/status should give you a clue if anything is
being cached at all.

Geoff Howard

> -Original Message-
> From: Albertsen, Juergen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 28, 2002 4:53 AM
> To: [EMAIL PROTECTED]
> Subject: Cache broken in Cocoon 2.1-dev?
> 
> 
> Hi,
> 
> since switching to Cocoon 2.1-dev I noticed a considerable loss in
> performance. My website (http://www.juergenalbertsen.com) 
> currently consits
> mainly of static XML files piped through a number of XSL 
> files. There's only
> one XSP generated section, the rest is merely static. 
> 
> I looked into the cache directories that were filled with 
> pre-generaed HTML
> files when using Cocoon 2.0.2. Now they are empty. I searched 
> the mailing
> lists - both dev and user - but could not find any hint that 
> people are
> working on the cache system. Additionally, when trying the "plain"
> cocoon.war I cannot find any genared HTML files neither (so 
> doesn't seem to
> be misconfiguration). 
> 
> All this applies to a number of platforms (Windows, Linux, 
> FreeBSD) and
> Servlet containers (Resin, Tomcat). 
> 
> Thanks in adavance for your help.
> 
> Regards,
> 
> Jürgen
> 
> -
> 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: How to write XSL for PDF?

2002-07-10 Thread Argyn Kuketayev

If you are ready to go with commercial product, then it makes a sense to
look at non-XSL-FO products too.

E.g. www.faceless.org has Faceless report generator. Its advantage is that
its input format is very similar to HTML, you have to make it valid xml
document ( instead of ) though. So, if you want to generate the
HTML document, then the XSLT template is almost the same. FOP doesn't
generate HTML. RenderX provides fo2html script to make HTML out of XSL-FO,
but it's an extra step from XML content.

Faceless reporter may be integrated into Cocoon as a serializer, I've done
for fun, works well.

> -Original Message-
> From: Alexander Schatten [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 10, 2002 11:05 AM
> To: [EMAIL PROTECTED]
> Subject: Re: How to write XSL for PDF?
> 
> 
> Cenk Uysal wrote:
> 
> > Hi,
> > 
> > I plan to use Cocoon's PDF Serializer. But I don't know how to write
> > XSLs for styling PDF documents. Is there any resource which 
> tells how
> > to do this?
> 
> there is a commercial xsl:fo product called: XEP from RenderX. though 
> this product might not be interesting for you, they offer a pretty 
> concise and good FO tutorial (the best I found on the web) on 
> their website.
> 
> 
> alex
> 
> 
> 
> -
> 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: No-caching for SVG's

2002-07-10 Thread Geoff Howard

Sorry, was out of town for a while and unable to keep up with the list.  Did
you get this to work?

Geoff Howard

-
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: Extrange problem with Cocoon 2.0.2

2002-07-10 Thread Vadim Gritsenko

1. SEND PLAIN TEXT EMAIL ONLY

2. Search archive:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&w=2&r=1&s=NoSuchFieldEr
ror+manager&q=b

3. Read also:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101183982808469&w=2
Read answer number 6. Answers 3 and 4 are obsolete now.


Vadim


-Original Message-
From: Alejandro Raiczyk [mailto:[EMAIL PROTECTED]] 
Sent: Friday, July 05, 2002 3:39 PM
To: '[EMAIL PROTECTED]'
Cc: Alberto Siless; Mariano Goldman; Adrian Anacleto; SebastiÂn Zubrinic
Subject: Extrange problem with Cocoon 2.0.2

Hi, 
ššš I'm trying to run cocoon 2.0.2 within my application. I copied
the WEB-INF directory from /cocoon/WEB-INF and the only thing I've done
is to add a pipeline.
When I try it I get this Exception: 
org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.NoSuchFieldError: manager 
ššš at org.apache.cocoon.sitemap.Handler.run(Handler.java:295) 
ššš at java.lang.Thread.run(Thread.java:536) 
Caused by: java.lang.NoSuchFieldError: manager 
ššš at
org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:347) 
ššš at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc
e(DefaultComponentFactory.java:172) 
ššš at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial
ize(ThreadSafeComponentHandler.java:84)
ššš at
org.apache.cocoon.components.language.generator.GeneratorSelector.addGen
erator(GeneratorSelector.java:170) 
ššš at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:248) 
ššš at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) 
ššš ... 1 more 
java.lang.NoSuchFieldError: manager 
ššš at
org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:347) 
ššš at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc
e(DefaultComponentFactory.java:172) 
ššš at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial
ize(ThreadSafeComponentHandler.java:84)
ššš at
org.apache.cocoon.components.language.generator.GeneratorSelector.addGen
erator(GeneratorSelector.java:170) 
ššš at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:248) 
ššš at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) 
ššš at java.lang.Thread.run(Thread.java:536) 
I have no idea what is this about and I couldn't find nothing on the
web. With cocoon 2.0 I had no problem doing what I described before.
My configuration is: 
Tomcat 4.0.1 
Cocoon 2.0.2 
Java 1.4 
Thanks in advance. 
Alejandro Raiczyk 


-
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]>




SVG problems with

2002-07-10 Thread Robert Bourdeau

I'm experimenting with SVG using Cocoon. Things work fine, until I 
attempt to utilize the  element, at which point I get an 
inexplicable error. Here's the set up:

Sitemap fragment:
-

 
  
 
 
  
 



A simple XML document 'svg1.xml':
-

http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>

http://www.w3.org/1999/xlink";>
  

  

  cat
  My Evolving SVG Version of a Cat
  
  My wonderful little circle

  


  



---
If I remove the  element above, the graphic gets generated as expected.
However, if left in, I get the following Cocoon error:

org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
org.apache.batik.transcoder.TranscoderException: null
Enclosed Exception:
http://xml.apache.org:-1
The URI '' specified on the element  is invalid 

All I can think of is that Cocoon  has a different syntax, not using
xlink attributes.

This example comes pretty much straight out of the O'Reilly SVG Essentials
text, and I don't understand what is going wrong.

Any thoughts?

Thanks much.

--- Bob







-
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: SourceWritingTransformer sample (disregard previous post "Serializer that writes to file")

2002-07-10 Thread Hunsberger, Peter

> Also, what if I don't want the final output sent over the wire.how
> would I stop output from going to the requesting browser?  

Writing a "null" (do nothing) serializer would be pretty easy... :-)

-
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]>




SourceWritingTransformer sample (disregard previous post "Serializer thatwrites to file")

2002-07-10 Thread Gerardo_Flores

Sorry, seems that I must have posted my previous question before (have had
way too many things on  my mind lately).  The best solution would seem to
be to use the SourceWritingTransformer to simply write my content to a
file.  To specify the file to write to, would I just have to write an xsl
sheet that encapsulated my xml content in a  tag and specify
the location with the source attribute?  If so, how do I make a parameter
or the request pipeline available to the xsl sheet and how do I use it?
Also, what if I don't want the final output sent over the wire.how
would I stop output from going to the requesting browser?  This is why I
thought I would have to write a serializer, but if I can stop output from
reaching the browser, this would also work.

thanks,

-gerardo

+-+
This message may contain confidential and/or privileged
information.  If you are not the addressee or authorized to
receive this for the addressee, you must not use, copy,
disclose or take any action based on this message or any
information herein.  If you have received this message in
error, please advise the sender immediately by reply e-mail
and delete this message.  Thank you for your cooperation.
+-+


-
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: Serializer that writes to file

2002-07-10 Thread Andrew C. Oliver

Someone correct me if I' m wrong but...

At the moment, I think you'll have to write an "Action" for this.  AFAIK 
Serializers are currently tied to the
response output stream.  Personally, I think that cocoon should 
ultimately seperate the location concern and
allow multiple serializers in a pipeline.  (the rationale being that 
you'll need to display something as well).

However, one could conceptualize this instead as a transformer (although 
its dirty):

my input>transformer (writes to file) --> different output 
displayed to "user"

But I don't like that very much.

Perhaps this isn't a serializer at all, perhaps its some other widget 
that uses a serializer, is passed a "location" (file in this case), and
provides status (which returns responsibility to the sitemap). 
 Questions remain for instance on whether it consumes the SAX events 
passed to it, etc.

But the short answer is " I don't think this is the appropriate place, 
at the moment, to use a serializer"

-Andy
   

[EMAIL PROTECTED] wrote:

>I want to write a serializer that will write some content to a file, but
>the filename will have to be passed in as a parameter.  I am having trouble
>getting started.  I know that you cannot pass in a parameter to a
>serializer, but I don't know of another way to do it.  I have looked
>through some of the different serializer source code and am still having
>trouble.  Could anyone offer up a suggestion?  I have looked around for
>some sort of a serializer writing how-to, but no luck.  Would it be best to
>just have either an xsp or transformer somehow just enter in the filename
>into the content?  That seems kind of a hack, but hey if it works, it works
>:)  If this would be a good way, then how could a write a serializer that
>extracts this filename from the content when it is serializing?  Any
>general help on how to write a serializer would be of great help too.
>
>Thanks in advance,
>
>Gerardo
>
>+-+
>This message may contain confidential and/or privileged
>information.  If you are not the addressee or authorized to
>receive this for the addressee, you must not use, copy,
>disclose or take any action based on this message or any
>information herein.  If you have received this message in
>error, please advise the sender immediately by reply e-mail
>and delete this message.  Thank you for your cooperation.
>+-+
>
>
>-
>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: Debian, httpd and cocoon2 problems

2002-07-10 Thread Stephen Peters

MJ Ray <[EMAIL PROTECTED]> writes:

> Albert Cervera Areny wrote:
> > As said in the subject I use Debian with testing packages...
> 
> Are you trying to use the debian-distributed package of cocoon2?
> That needs quite a lot of work and is up for adoption at
> http://bugs.debian.org/146462

That work is actually being done, by a small team of people who've
been working with Ola (the original cocoon2 developer) for the last
few months.  Stay tuned, it's being worked on.

-- 
Stephen L. Peters  [EMAIL PROTECTED]
  PGP fingerprint: A1BF 5A81 03E7 47CE 71E0  3BD4 8DA6 9268 5BB6 4BBE
 "Poodle: The other white meat." -- Sherman, Sherman's Lagoon

-
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]>




Text serializer doesn't work

2002-07-10 Thread Cenk Uysal

Hi,

I think Text serializer doesn't work because everything is ok in my
sitemap and XSL is also ok. But output comes as XML document (maybe
MIME type can not be set correctly). It is amazing that it was
working before. What can be the problem?

__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.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: How to write XSL for PDF?

2002-07-10 Thread Peter Sparkes

Try

http://www.dpawson.co.uk/xsl/sect3/bk/index.html

Its the best I have found

Peter

-Original Message-
From: Cenk Uysal [mailto:[EMAIL PROTECTED]]
Sent: 10 July 2002 15:19
To: [EMAIL PROTECTED]
Subject: How to write XSL for PDF?


Hi,

I plan to use Cocoon's PDF Serializer. But I don't know how to write
XSLs for styling PDF documents. Is there any resource which tells how
to do this?

__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.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]>




-
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]>




Serializer that writes to file

2002-07-10 Thread Gerardo_Flores

I want to write a serializer that will write some content to a file, but
the filename will have to be passed in as a parameter.  I am having trouble
getting started.  I know that you cannot pass in a parameter to a
serializer, but I don't know of another way to do it.  I have looked
through some of the different serializer source code and am still having
trouble.  Could anyone offer up a suggestion?  I have looked around for
some sort of a serializer writing how-to, but no luck.  Would it be best to
just have either an xsp or transformer somehow just enter in the filename
into the content?  That seems kind of a hack, but hey if it works, it works
:)  If this would be a good way, then how could a write a serializer that
extracts this filename from the content when it is serializing?  Any
general help on how to write a serializer would be of great help too.

Thanks in advance,

Gerardo

+-+
This message may contain confidential and/or privileged
information.  If you are not the addressee or authorized to
receive this for the addressee, you must not use, copy,
disclose or take any action based on this message or any
information herein.  If you have received this message in
error, please advise the sender immediately by reply e-mail
and delete this message.  Thank you for your cooperation.
+-+


-
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: How to write XSL for PDF?

2002-07-10 Thread Alexander Schatten

Cenk Uysal wrote:

> Hi,
> 
> I plan to use Cocoon's PDF Serializer. But I don't know how to write
> XSLs for styling PDF documents. Is there any resource which tells how
> to do this?

there is a commercial xsl:fo product called: XEP from RenderX. though 
this product might not be interesting for you, they offer a pretty 
concise and good FO tutorial (the best I found on the web) on their website.


alex



-
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]>




Could not access the Component for role: org.apache.avalon.excalibur.xml.Parser

2002-07-10 Thread sheshadri



Hi,I'm trying to get the latest CVS (HEAD) 
webapp to work but there seems to bea problem withthe 
JaxpParser.I'm using tomcat 3.2.3 on Win2k & JDK 1.3. The 
exception is as follows:
 
Unknown-thread/ExcaliburComponentManager: Could not 
access the Component for role: 
org.apache.avalon.excalibur.xml.Parserjava.lang.IllegalStateException: You 
cannot get a component from an uninitialized holder. at 
org.apache.avalon.excalibur.component.PoolableComponentHandler.doGet(PoolableComponentHandler.java:176) at 
org.apache.avalon.excalibur.component.ComponentHandler.get(ComponentHandler.java:139) at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:381) at 
org.apache.cocoon.Cocoon.configure(org/apache/cocoon/Cocoon.java:385) at 
org.apache.cocoon.Cocoon.initialize(org/apache/cocoon/Cocoon.java:300) at 
org.apache.cocoon.servlet.CocoonServlet.createCocoon(org/apache/cocoon/servlet/CocoonServlet.java:1495) at 
org.apache.cocoon.servlet.CocoonServlet.init(org/apache/cocoon/servlet/CocoonServlet.java:506) at 
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317) at 
org.apache.tomcat.core.Handler.init(Handler.java:215) at 
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296) at 
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130) at 
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491) at 
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453) at 
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195) at 
org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
 
Regards,
Sheshadri


Re: How to write XSL for PDF?

2002-07-10 Thread Christoph Gaffga

try
http://www.google.com/search?q=XSL-FO+Tutorial


From: "Cenk Uysal" <[EMAIL PROTECTED]>
> I plan to use Cocoon's PDF Serializer. But I don't know how to write
> XSLs for styling PDF documents. Is there any resource which tells how
> to do this?



-
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: How to write XSL for PDF?

2002-07-10 Thread Eric Dalquist

Search for XSL-FO The W3 has the spec for it at http://www.w3.org/TR/xsl/
all the formatting tags fop uses are in the fo namespace defined at that
URL.

-Eric Dalquist

- Original Message -
From: "Cenk Uysal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 10, 2002 10:18 AM
Subject: How to write XSL for PDF?


> Hi,
>
> I plan to use Cocoon's PDF Serializer. But I don't know how to write
> XSLs for styling PDF documents. Is there any resource which tells how
> to do this?
>
> __
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.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]>
>


-
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 write XSL for PDF?

2002-07-10 Thread Cenk Uysal

Hi,

I plan to use Cocoon's PDF Serializer. But I don't know how to write
XSLs for styling PDF documents. Is there any resource which tells how
to do this?

__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.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: Search hits in new page

2002-07-10 Thread M Al-yahya

Hello,
Thanks Jeremy for your reply. Well I changed the action of the form to
map the pipeline that does the search and the results were displayed in
a separate page.

Jeremy Quinn wrote:
> 
> On Wednesday, July 3, 2002, at 01:54 PM, M Al-yahya wrote:
> 
> > Hello,
> >  I'm doing XML Search using the SearchGenerator. I have the
> > following in
> > the sitemap pipeline:
> >   
> >   
> >   
> >   
> >   
> >
> > the stylesheet I'm using is the one in cocoon/search/stylesheets. This
> > stylesheet displays the  search form and the results in one page. Does
> > anyone know how to display the results in a new browser page.
> >
> 
> Read up on forms at
> http://www.w3.org/TR/html4/interact/forms.html#h-17.3 ;)
> 
> Put a 'target' attribute in your 'form' tag, with the name of
> the new window as the value.
> 
> 
> 
> 
> 
> 
> 
> 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: [Summary] Profiling with Cocoon 2.1

2002-07-10 Thread Nicola Ken Barozzi


Reinhard Poetz wrote:
> Hi Michael,
> 
> I use Cocoon2.1dev (I checked it out last week). As it works successfully
> for me I wrote a summary using my notes I was taking during activating
> profiling - please try it.

Coool :-D

Thank you very much, these submissions are very appreciated indeed :-)
I didn't even know myself if it was still working well ;-)

-- 
Nicola Ken Barozzi   [EMAIL PROTECTED]
 - verba volant, scripta manent -
(discussions get forgotten, just code remains)
-


-
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: [HELP] How Can I do ?

2002-07-10 Thread Harry J. Foxwell

> I'll make sure it's added, Fabien. Thanks for flagging it. It would be
> wonderful to have a library of sitemap/pipeline snippets, to give users
> ideas how to accomplish almost anything.

some kind of flow chart that allows you to select what kind of
task you're trying to accomplish and then points you to the snippet
(or doc) would be most useful.



-
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]>




(now found at: http://www.superlinksoftware.com/gnumeric-xml.pdf)Re: Fw: HSSF-Gnumeric XML file format - Unreachable URL, did anyone downloadpreviously?

2002-07-10 Thread Andrew C. Oliver

Hi All,

Thanks to denis, we've recovered the document in question.  I've emailed 
David Gilbert, the author, and hopefully
he'll fix the link.  Until such time, you can find it at: 
http://www.superlinksoftware.com/gnumeric-xml.pdf.  

The doc is GPL so I suppose its safe for me to host on my server (of 
course I'm hosting it via tomcat...does that make tomcat
"tainted" ? ;-)  J/K -- tomcat's already tainted because I run linux on 
my webserver ;-) )

-Andy

Denis wrote:

>- Original Message -
>From: "Denis" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, July 10, 2002 11:50 AM
>Subject: Fw: HSSF-Gnumeric XML file format - Unreachable URL, did anyone
>download previously?
>
>
>  
>
>>Hi Lorenzo,
>>
>>Here is the file ...
>>
>>I cannot post it to the mailing list as the server does not accept large
>>emails ...
>>
>>Regards,
>>
>>Denis
>>
>>- Original Message -
>>From: "Lorenzo De Sio" <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>
>>Sent: Wednesday, July 10, 2002 10:17 AM
>>Subject: HSSF-Gnumeric XML file format - Unreachable URL, did anyone
>>download previously?
>>
>>
>>
>>
>>>Hi all,
>>>
>>>I found an old posting with pointers to documentation about the Gnumeric
>>>  
>>>
>>XML
>>
>>
>>>file format, which is the one used by the HSSF serializer.
>>>
>>>One link concerned a PDF file contained "detailed notes on the XML file
>>>format used by Gnumeric", at the following URL:
>>>ftp://www.jrefinery.com/pub/jworkbook/gnumeric-xml.pdf
>>>
>>>The URL is now completely unreachable. Did anyone successfully download
>>>  
>>>
>>that
>>
>>
>>>file before it became unreachable? If so, could he/she either send it to
>>>  
>>>
>>me
>>
>>
>>>or make it available to all in some other way?
>>>
>>>Thanks in advance to all,
>>>
>>>
>>>L.
>>>
>>>-
>>>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]>




[Summary] Profiling with Cocoon 2.1

2002-07-10 Thread Reinhard Poetz

Hi Michael,

I use Cocoon2.1dev (I checked it out last week). As it works successfully
for me I wrote a summary using my notes I was taking during activating
profiling - please try it. If you have problems please respond to
[EMAIL PROTECTED] too)

   - o -

Summary: Profiling with Cocoon 2.1
--

- make sure you use a current Cocoon 2.1 (CVS or nightly build)

- uncommented  (cocoon.xconf)

- add the necessary pipeline *components* (sitemap.xmap)
  




  

  (the last two pipline-elements activate profiling)

- set the right type at the pipline you want to watch (sitemap.xmap)
  e.g. 

- add the profiler generator (sitemap.xmap)
  

- sitemap.xmap (add a pipeline using the ProfilerGenerator)
  


  

- call
http://://profiler


Regards,
Reinhard





> -Original Message-
> From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 10, 2002 6:08 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Profiling
>
>
> > From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
> >
> > Hi Vadim,
> >
> > It's 2.1, I configured cocoon.xconf (ucommented ) and
> > activated the Profiling pipelines in sitemap.xmap.
> >
> > Then I constructed a generator that should show me the results, but
> all
> > I get is:
> >
> >   
> >   http://apache.org/cocoon/profiler/1.0";
> > date="04.07.2002 15:24:51" />
> >
> > I think there's something wrong with my generator/pipeline for
> > profiling, can you give me an example?
>
> No, I can't. I don't work with 2.1 ATM.
>
> Vadim
>
> >
> >
> > Thanks, Michael
> >
> > -Ursprüngliche Nachricht-
> > Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> > Gesendet: Mittwoch, 3. Juli 2002 18:08
> > An: [EMAIL PROTECTED]
> > Betreff: RE: Profiling
> >
> >
> > > From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
> > >
> > > Hi list,
> > >
> > > what do I have to do to turn on profiling in the actual cvs version?
> > How
> >
> > 2.1 or 2.0.3? 2.1 has one component less configured in the
> cocoon.xconf.
> >
> >
> > > ist profiling implemented in general?
> >
> > Read cocoon.xconf first, it outlines components used. Then modify
> > sitemap.xmap to include pipeline which will render results of
> profiling.
> >
> >
> > Regards,
> > Vadim
> >
> >
> > > Cheers, Michael
> > >
> >
> >
> > -
> > 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]>




Re: R: HSSF-Gnumeric XML file format - Unreachable URL, did anyonedo wnload previously?

2002-07-10 Thread Andrew C. Oliver

cool.  Can I get a copy?  I'll read through it and mirror it on my server.

Lorenzo De Sio wrote:

>Thanks to Denis Thierry and Jens Lorenz for sending me the file!
>
>L.
>-Messaggio originale-
>Da: Denis [mailto:[EMAIL PROTECTED]]
>Inviato: mercoledì 10 luglio 2002 11.50
>A: [EMAIL PROTECTED]
>Oggetto: Fw: HSSF-Gnumeric XML file format - Unreachable URL, did anyone
>download previously?
>Priorità: Alta
>
>
>Hi Lorenzo,
>
>Here is the file ...
>
>I cannot post it to the mailing list as the server does not accept large
>emails ...
>
>Regards,
>
>Denis
>
>- Original Message -
>From: "Lorenzo De Sio" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, July 10, 2002 10:17 AM
>Subject: HSSF-Gnumeric XML file format - Unreachable URL, did anyone
>download previously?
>
>
>  
>
>>Hi all,
>>
>>I found an old posting with pointers to documentation about the Gnumeric
>>
>>
>XML
>  
>
>>file format, which is the one used by the HSSF serializer.
>>
>>One link concerned a PDF file contained "detailed notes on the XML file
>>format used by Gnumeric", at the following URL:
>>ftp://www.jrefinery.com/pub/jworkbook/gnumeric-xml.pdf
>>
>>The URL is now completely unreachable. Did anyone successfully download
>>
>>
>that
>  
>
>>file before it became unreachable? If so, could he/she either send it to
>>
>>
>me
>  
>
>>or make it available to all in some other way?
>>
>>Thanks in advance to all,
>>
>>
>>L.
>>
>>-
>>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 help, Broken Link on object-refinery WAS [Fwd: HSSF-GnumericXML file format - Unreachable URL, did anyone downl oad previously?]

2002-07-10 Thread Andrew C. Oliver

Dear Mr. Gilbert,

I'm a developer whom works on apache cocoon and apache POI.  We 
referenced a piece of documentation hosted on www.jrefinery.com 
ftp://www.jrefinery.com/pub/jworkbook/gnumeric-xml.pdf.  It is also 
still linked from this page:  
http://www.object-refinery.com/jworkbook/index.html.  Recently, 
jrefinery has of course become object-refinery.  However the link has 
not changed.  Do you know where this document currently lives and where 
we may retrieve a copy?  Would you be objectionable to us mirroring this 
document?

Thanks,

Andrew C. Oliver

--- Begin Message ---

Hi all,

I found an old posting with pointers to documentation about the Gnumeric XML
file format, which is the one used by the HSSF serializer.

One link concerned a PDF file contained "detailed notes on the XML file
format used by Gnumeric", at the following URL:
ftp://www.jrefinery.com/pub/jworkbook/gnumeric-xml.pdf

The URL is now completely unreachable. Did anyone successfully download that
file before it became unreachable? If so, could he/she either send it to me
or make it available to all in some other way?

Thanks in advance to all,


L.

-
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]>




--- End Message ---

-
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: [HELP] How Can I do ?

2002-07-10 Thread TREGAN Fabien

>I'll make sure it's added, Fabien. Thanks for flagging it. It would be 
>wonderful to have a library of sitemap/pipeline snippets, to 
>give users 
>ideas how to accomplish almost anything. But we can only build such a 
>library one snippet at a time. And it takes contributions from 
>all kinds 
>of users.

  Yes, and one day we will have those code snipet integrated in Eclipse's
sitemap editor and we will "code" for Cocoon by drag'n'droping
animated-musicPlaying-icons from free libraries, and RWADUX (Rapid Web
Application Devloppement Using Xml) will became a buzzword, and i'll be
fired because my boss do not need me since he can use a mouse almost
perfectly, and i'll go on hollidays, stop coding, dust my old EOS 1, get
some Velvias in the fridge and try to remember how to take a photo, and,
and... and i'll awake, it will only have been (1) a nightmare !

>Diana

(1) : I'll have to look for my "English Grammar is Easy" book to check this
one

-
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: [HELP] How Can I do ?

2002-07-10 Thread Diana Shannon


On Wednesday, July 10, 2002, at 02:34  AM, TREGAN Fabien wrote:

> Look for a thread whom subject is "Help on Sitemap" wich started in 
> march
> 2002.
>
> note for diana : Should this Question be considered as Frequently 
> Asked ? ?

I'll make sure it's added, Fabien. Thanks for flagging it. It would be 
wonderful to have a library of sitemap/pipeline snippets, to give users 
ideas how to accomplish almost anything. But we can only build such a 
library one snippet at a time. And it takes contributions from all kinds 
of users.

Diana


-
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]>




R: HSSF-Gnumeric XML file format - Unreachable URL, did anyone download previously?

2002-07-10 Thread Lorenzo De Sio

Thanks to Denis Thierry and Jens Lorenz for sending me the file!

L.
-Messaggio originale-
Da: Denis [mailto:[EMAIL PROTECTED]]
Inviato: mercoledì 10 luglio 2002 11.50
A: [EMAIL PROTECTED]
Oggetto: Fw: HSSF-Gnumeric XML file format - Unreachable URL, did anyone
download previously?
Priorità: Alta


Hi Lorenzo,

Here is the file ...

I cannot post it to the mailing list as the server does not accept large
emails ...

Regards,

Denis

- Original Message -
From: "Lorenzo De Sio" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 10, 2002 10:17 AM
Subject: HSSF-Gnumeric XML file format - Unreachable URL, did anyone
download previously?


> Hi all,
>
> I found an old posting with pointers to documentation about the Gnumeric
XML
> file format, which is the one used by the HSSF serializer.
>
> One link concerned a PDF file contained "detailed notes on the XML file
> format used by Gnumeric", at the following URL:
> ftp://www.jrefinery.com/pub/jworkbook/gnumeric-xml.pdf
>
> The URL is now completely unreachable. Did anyone successfully download
that
> file before it became unreachable? If so, could he/she either send it to
me
> or make it available to all in some other way?
>
> Thanks in advance to all,
>
>
> L.
>
> -
> 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]>




SDX on Live Sites powered by CocoonHello,

2002-07-10 Thread Michel Bottin

Hi!

Here are some sites powered by Cocoon 1 using  SDX (XML Documentary 
System) which is a layer unifying Cocoon features with the power of Lucene.

We will be glad to be listed publicy on the page "Live Sites powered by 
Cocoon".

Thanks in advance.

1. A portal of cultural resources (in french):
http://www.portail.culture.fr/sdx/pic/culture/int/index.htm

2. A catalog of digitalized resources in the domain of cultural heritage 
(in french):
http://www.culture.gouv.fr/culture/mrt/numerisation/fr/f_02.htm

3. About Victor Hugo (in french):
http://www.victorhugo.culture.fr/
and specially:
http://www.victorhugo.culture.fr/culture/celebrations/hugo/portail/index.html

4. European Heritage (in english and in french)
http://www.european-heritage.net/

5. The official site of SDX (in french, soon in english)
http://sdx.culture.fr

6. Two application development sites:
http://brea.culture.fr/sdx/
http://brea.culture.fr/s1/

Michel Bottin

-- 
Michel Bottin - Chef de projet Internet
Ministère de la culture / DAG / DSI / MIVT
rue du Fort de Saint-Cyr - Montigny-le-Bretonneux
78182 Saint-Quentin-en-Yvelines Cedex - France
tél. : +33 1 30 85 67 86 - fax : +33 1 30 85 68 68
plan d'accès : http://www.mappy.fr/PlanPerso/46460/2
mailto:[EMAIL PROTECTED] - http://indy.culture.fr/bottin 



-
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: mod_webapp or mod_jk?

2002-07-10 Thread leo leonid



On Tuesday, July 9, 2002, at 08:21  Uhr, Skip Carter wrote:

>
>
>>
>> I've found a nasty problem with mod_webapp (Apache 1.3.24, Tomcat 
>> 4.0.4b3): sometimes (say, 5% of requests) the communications
>> between the two servers (the web-server was on a Solaris box, the 
>> application-server on another Solaris box) went down.
>> This problems disappeared when we used mod_jk.
>>
>
>   Considering that I recently switched over to mod_webapp from mod_jk 
> this is
> scary to hear
>   (so far I have not noticed this problem with Apache 1.3.26, Tomcat 
> 4.0.4b2
> on Linux).
>

With Linux a can reassure you. I experimented a lot with all the tomcat 
4.x.x
and several mod_webapp versions. I finally found a constellation which is
is very reliable, and where you can restart tomcat with no need to 
restart
apache-httpd as well. On a RH 6.2 I use
apache-httpd  1.2.26
tomcat 4.0.4 (final)
mod_wepapp 4.1.3 (from CVS)


>
>> About the second question, you have some options, which are reported 
>> in the 2.0.3 FAQ:
>> 1) Use mod-rewrite for an all-apache solution
>> 2) Set cocoon as the root context of Tomcat (and redicte every root 
>> request to Tomcat, of course)
>>
>> After a long soul-searching... I chose the latter :)
>
>   I am also doing #2, (with mod_webapp so the apache conf file has a
>   WebAppDeploy cocoon   warpConnection /   for the virutal host).
>
>   But I have one question that somebody may have a suggestion for.
>
>   How do I support legacy CGI ?
>
>   I am currently doing this with a sitemap entry to redirect to a 
> virtual
> Apache server
>   that is specifically for the purpose of handling cgi:
>
>
> uri="http://cgiserver.mydomain.com/cgi-bin/{1}";
> />
>
>
>
>   This works, but is there a cleaner way ?
>

I don't know if it is 'cleaner', but as an alternative you can 
put/leave a
ScriptAlias /cgi-bin/ "/path/to/cgi-bin/"
inside your  and you only pass requests like /xml/* to 
cocoon.
WebAppDeploy cocoon   warpConnection /xml

/Leo

>
> --
>  Dr. Everett (Skip) Carter  Phone: 831-641-0645 FAX:  831-641-0647
>  Taygeta Scientific Inc.INTERNET: [EMAIL PROTECTED]
>  1340 Munras Ave., Suite 314WWW: http://www.taygeta.com
>  Monterey, CA. 93940
>


-
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: macromedia flash actionscript integration of xml.sendAndLoad() with cocoon2

2002-07-10 Thread Daniel Meier

arjé,

sorry to desturb again. but do you have a sample for the cocoon part
(sitemap, ...)?
thx.

daniel
- Original Message -
From: "Arjé Cahn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 08, 2002 10:20 AM
Subject: RE: macromedia flash actionscript integration of xml.sendAndLoad()
with cocoon2


Daniel,

Yes, this is certainly possible. I think the best option would be to
initiate a sendAndLoad() on an XSP under Cocoon, that writes the information
to your database and returns a piece of XML back to the Flash movie. The
movie has to be in the same location as where you are posting your data
(within the same domain name). Otherwise, Flash will generate a security
error.

good luck,


Arjé Cahn


-
Content Management Department
Hippo Webworks
Grasweg 35
1031 HW Amsterdam
The Netherlands
Tel  +31 (0)20 6345173
Fax +31 (0)20 6345179
arje(at)hippo(dot)nl / www.hippo.nl



-Oorspronkelijk bericht-
Van: Daniel Meier [mailto:[EMAIL PROTECTED]]
Verzonden: 06 July 2002 21:49
Aan: [EMAIL PROTECTED]
Onderwerp: macromedia flash actionscript integration of
xml.sendAndLoad() with cocoon2


hi there

has sombody done this before? I'd like to send an xml-string to the
server and update some database records. as I'm a newbie to cocoon
I would be happy to have a some working example. thx.

kind regards

dan


-
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: macromedia flash actionscript integration of xml.sendAndLoad() with cocoon2

2002-07-10 Thread Daniel Meier

arjé,

sorry to desturb again. but do you have a sample for the cocoon part
(sitemap, ...)?
thx.

daniel

- Original Message -
From: "Arjé Cahn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 08, 2002 10:20 AM
Subject: RE: macromedia flash actionscript integration of xml.sendAndLoad()
with cocoon2


Daniel,

Yes, this is certainly possible. I think the best option would be to
initiate a sendAndLoad() on an XSP under Cocoon, that writes the information
to your database and returns a piece of XML back to the Flash movie. The
movie has to be in the same location as where you are posting your data
(within the same domain name). Otherwise, Flash will generate a security
error.

good luck,


Arjé Cahn


-
Content Management Department
Hippo Webworks
Grasweg 35
1031 HW Amsterdam
The Netherlands
Tel  +31 (0)20 6345173
Fax +31 (0)20 6345179
arje(at)hippo(dot)nl / www.hippo.nl



-Oorspronkelijk bericht-
Van: Daniel Meier [mailto:[EMAIL PROTECTED]]
Verzonden: 06 July 2002 21:49
Aan: [EMAIL PROTECTED]
Onderwerp: macromedia flash actionscript integration of
xml.sendAndLoad() with cocoon2


hi there

has sombody done this before? I'd like to send an xml-string to the
server and update some database records. as I'm a newbie to cocoon
I would be happy to have a some working example. thx.

kind regards

dan


-
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 2.1

2002-07-10 Thread Othman Haddad








  hi everybody,
  please where and how can i get the snapshot version cocoon2.1 ?
  thanks





	
	
	
	
	
	
	




   IncrediMail - La messagerie électronique a enfin 
évolué - Cliquer 
ici



Re: Cocoon deli is not work.

2002-07-10 Thread Joerg Heinicke

It seems that one of the parameter is passed as string and anywhere in the 
XSLT there is a  or a 
.

If the param is not set correctly or if the stylesheet has a bug - I don't 
know. Try to change

 > 
 > 

to

 > 
 > 

(empty node sets), so if no param is passed to the stylesheet the for-each 
or the apply-templates will not fail. Furthermore you can test the content 
of the param in different ways, e.g.  or 
 to see a XML-tree or  to count the numbers of contained elements.


Regards,

Joerg


??? wrote:
> Following Codes are part of stylesheet file.
> === 
> 
> 
> ===
> variable $deli-capabilities is many uses in xsl file.
> So you mean that this variable is not setting correctly?
> But, i think this variable is set by tomcat servlet engine.
> How about?
> 
> - Original Message - 
> From: "Joerg Heinicke" <[EMAIL PROTECTED]>
> 
>>It's a typical Xalan-Exception, when it is tried to convert a string to 
>>a node set, especially using the extension function nodeset() of Xalan. 
>>Have a look into the pipeline of hello-page.xml and look into the 
>>stylesheet. Maybe a wrong parameter is passed to any template.
>>
>>Regards,
>>
>>Joerg
>>
>>??? wrote:
>>
>>>Hi...all.
>>> 
>>>I rebuild cocoon for support deli.
>>> 
>>>but deli is not work correctly.
>>> 
>>>Error is occured.
>>> 
>>>what's the matter?
>>> 
>>>=
>>>The org.apache.cocoon.www.sitemap_xmap notifies that 
>>>org.apache.cocoon.ProcessingException says:
>>>
>>>/Could not read resource 
>>>file:/D:/Tomcat40/webapps/cocoon/docs/samples/hello-page.xml/
>>>
>>>More precisely:
>>>
>>>/org.apache.cocoon.ProcessingException: Could not read resource 
>>>file:/D:/Tomcat40/webapps/cocoon/docs/samples/hello-page.xml: 
>>>java.lang.RuntimeException: Can not convert #STRING to a NodeList!/
>>>=


-- 

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
[EMAIL PROTECTED]
www.virbus.de


-
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]>




Réf. : RE: Réf. : RE: Réf. : RE: xsl vs cocoon

2002-07-10 Thread Othman Haddad








  let say: 
  i've an xsp which contains a file input: "x", the value of  "x" 
  represent xslt file which i want to apply on a "z.xml" file.
   
  any idea in cocoon2.02 to do that?
   
  ---Message original---
   
  
  De : [EMAIL PROTECTED]
  Date : mercredi 10 
  juillet 2002 11:19:14
  A : '[EMAIL PROTECTED]'
  Sujet : RE: Réf. : RE: 
  Réf. : RE: xsl vs cocoon
   I am not sure to understand what you want to do 
  exactly.-Message d'origine-De: Othman Haddad [mailto:[EMAIL PROTECTED]]Date: 
  mercredi 10 juillet 2002 11:15À: [EMAIL PROTECTED]Objet: 
  Réf. : RE: Réf. : RE: xsl vs cocoonWith 2.1-dev the 
  RequestParameterInputModule can be used to to get the valueof a field 
  in an xsp and select a pipeline in function of it ,but 
  notbefore!!!do you have any other key to do 
  that?---Message original---De : [EMAIL PROTECTED] 
   
  Date : mercredi 10 juillet 2002 10:52:33A : '[EMAIL PROTECTED]' 
   
  Sujet : RE: Réf. : RE: xsl vs cocoon> it's partially true, 
  because right now (which is a pitty) there's nositemap element that 
  can get a parameter value (which is sometimes veryimportant)... 
  Can't you use an action to set a value for a sitemap variable, 
  then use thatvariable inside you component 
  description?hi,i agree with olivier,..>, you 
  can also make a component conditionnal depending on (for example) 
  a request parameter value inthe HTTP requestit's partially 
  true, because right now (which is a pitty) there's no sitemapelement 
  that can get a parameter value (which is sometimes veryimportant)... 
  regardsothman---Message 
  original---De : [EMAIL PROTECTED] 
   
   
  > Date : mercredi 10 juillet 2002 10:38:03A : ' [EMAIL PROTECTED] 
   
  '  
  > Sujet : RE: xsl vs cocoonSure.The sitemap.xmap 
  file makes a mapping between URLsreceived from client side to a Cocoon 
  "pipeline".A pipeline is a chain of java componentsthat create 
  or modify a XML flux.For a given URL, Cocoon parses the 
  sitemap.xmap, getsthe corresponding pipeline description, creates 
  the corresponding chain of java components and launches the first 
  components (it is called a generatorbecause it is the one which 
  creates the XML flux,and sends it to the next component).There 
  is no problem if you want to specifyseveral XSLT components inside 
  your pipeline.Advanced feature:When describing a pipeline in 
  sitemap.xmap, you can also make a component conditionnal depending 
  on (for example) a request parameter value inthe HTTP request, or may 
  be the speed of the wind(yes Cocoon is marvellous 
  :-)-Please 
  check that your question has not already been answered in theFAQ 
  before posting. < http://xml.apache.org/cocoon/faq/index.html 
  < http://xml.apache.org/cocoon/faq/index.html 
  > >To unsubscribe, e-mail: < [EMAIL PROTECTED] 
  < mailto:[EMAIL PROTECTED] 
  > >For additional commands, e-mail: < [EMAIL PROTECTED] 
  < mailto:[EMAIL PROTECTED] 
  > 
  >.< 
  http://www.incredimail.com/redir.asp?ad_id=312 
  &lang=12>IncrediMail - Lamessagerie électronique a enfin 
  évolué -< http://www.incredimail.com/redir.asp?ad_id=312 
  &lang=12> Cliquerici 
   
  IncrediMail - Lamessagerie électronique a enfin évolué - 
  Cliquer ici 





	
	
	
	
	
	
	




  IncrediMail - La messagerie électronique a enfin 
évolué - Cliquer 
ici



Re: Cocoon deli is not work.

2002-07-10 Thread ???

Following Codes are part of stylesheet file.
=== 


===
variable $deli-capabilities is many uses in xsl file.
So you mean that this variable is not setting correctly?
But, i think this variable is set by tomcat servlet engine.
How about?

- Original Message - 
From: "Joerg Heinicke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 10, 2002 2:32 PM
Subject: Re: Cocoon deli is not work.


> It's a typical Xalan-Exception, when it is tried to convert a string to 
> a node set, especially using the extension function nodeset() of Xalan. 
> Have a look into the pipeline of hello-page.xml and look into the 
> stylesheet. Maybe a wrong parameter is passed to any template.
> 
> Regards,
> 
> Joerg
> 
> ??? wrote:
> > Hi...all.
> >  
> > I rebuild cocoon for support deli.
> >  
> > but deli is not work correctly.
> >  
> > Error is occured.
> >  
> > what's the matter?
> >  
> > 
>=
>
> > The org.apache.cocoon.www.sitemap_xmap notifies that 
> > org.apache.cocoon.ProcessingException says:
> > 
> > /Could not read resource 
> > file:/D:/Tomcat40/webapps/cocoon/docs/samples/hello-page.xml/
> > 
> > More precisely:
> > 
> > /org.apache.cocoon.ProcessingException: Could not read resource 
> > file:/D:/Tomcat40/webapps/cocoon/docs/samples/hello-page.xml: 
> > java.lang.RuntimeException: Can not convert #STRING to a NodeList!/
> > 
>=
>
> 
> 
> 
> -
> 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: Réf. : RE: Réf. : RE: xsl vs cocoon

2002-07-10 Thread ROSSEL Olivier

I am not sure to understand what you want to do exactly.

-Message d'origine-
De: Othman Haddad [mailto:[EMAIL PROTECTED]]
Date: mercredi 10 juillet 2002 11:15
À: [EMAIL PROTECTED]
Objet: Réf. : RE: Réf. : RE: xsl vs cocoon



With 2.1-dev the RequestParameterInputModule can be used to to get the value
of a field in an xsp and select a pipeline in function of it ,but not
before!!!
do you have any other key to do that?
 
---Message original---
 
De : [EMAIL PROTECTED]  
Date : mercredi 10 juillet 2002 10:52:33
A : '[EMAIL PROTECTED]'  
Sujet : RE: Réf. : RE: xsl vs cocoon
 
> it's partially true, because right now (which is a pitty) there's no
sitemap element that can get a parameter value (which is sometimes very
important)... 

Can't you use an action to set a value for a sitemap variable, then use that
variable inside you component description?


hi,
i agree with olivier,..
>, you 
can also make a component conditionnal 
depending on (for example) a request parameter value in
the HTTP request

it's partially true, because right now (which is a pitty) there's no sitemap
element that can get a parameter value (which is sometimes very
important)... 




regards
othman

---Message original---

De : [EMAIL PROTECTED]   <
mailto:[EMAIL PROTECTED]  > 
Date : mercredi 10 juillet 2002 10:38:03
A : ' [EMAIL PROTECTED]  ' <
mailto:[EMAIL PROTECTED]  > 
Sujet : RE: xsl vs cocoon

Sure.

The sitemap.xmap file makes a mapping between URLs
received from client side to a Cocoon "pipeline".

A pipeline is a chain of java components
that create or modify a XML flux.

For a given URL, Cocoon parses the sitemap.xmap, gets
the corresponding pipeline description, creates 
the corresponding chain of java components and launches 
the first components (it is called a generator
because it is the one which creates the XML flux,
and sends it to the next component).

There is no problem if you want to specify
several XSLT components inside your pipeline.

Advanced feature:
When describing a pipeline in sitemap.xmap, you 
can also make a component conditionnal 
depending on (for example) a request parameter value in
the HTTP request, or may be the speed of the wind
(yes Cocoon is marvellous :-)

-
Please check that your question has not already been answered in the
FAQ before posting. < http://xml.apache.org/cocoon/faq/index.html
 
< http://xml.apache.org/cocoon/faq/index.html
 > >

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


.



< http://www.incredimail.com/redir.asp?ad_id=312
 &lang=12>
IncrediMail - La
messagerie électronique a enfin évolué -
< http://www.incredimail.com/redir.asp?ad_id=312
 &lang=12> Cliquer
ici 






    IncrediMail - La
messagerie électronique a enfin évolué -
 Cliquer ici 




ATT575595.gif
Description: GIF image

-
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]>


Réf. : RE: Réf. : RE: xsl vs cocoon

2002-07-10 Thread Othman Haddad








  With 2.1-dev the RequestParameterInputModule can be used to to get 
  the value of a field in an xsp and select a pipeline in function of 
  it ,but not before!!!
  do you have any other key to do that?
   
  ---Message original---
   
  
  De : [EMAIL PROTECTED]
  Date : mercredi 10 
  juillet 2002 10:52:33
  A : '[EMAIL PROTECTED]'
  Sujet : RE: Réf. : RE: 
  xsl vs cocoon
   > it's partially true, because right now (which is a 
  pitty) there's nositemap element that can get a parameter value (which 
  is sometimes veryimportant)... Can't you use an action to set 
  a value for a sitemap variable, then use thatvariable inside you 
  component description?hi,i agree with olivier,..>, 
  you can also make a component conditionnal depending on (for 
  example) a request parameter value inthe HTTP requestit's 
  partially true, because right now (which is a pitty) there's no 
  sitemapelement that can get a parameter value (which is sometimes 
  veryimportant)... 
  regardsothman---Message 
  original---De : [EMAIL PROTECTED] 
   
  Date : mercredi 10 juillet 2002 10:38:03A : '[EMAIL PROTECTED]' 
   
  Sujet : RE: xsl vs cocoonSure.The sitemap.xmap file 
  makes a mapping between URLsreceived from client side to a Cocoon 
  "pipeline".A pipeline is a chain of java componentsthat create 
  or modify a XML flux.For a given URL, Cocoon parses the 
  sitemap.xmap, getsthe corresponding pipeline description, creates 
  the corresponding chain of java components and launches the first 
  components (it is called a generatorbecause it is the one which 
  creates the XML flux,and sends it to the next component).There 
  is no problem if you want to specifyseveral XSLT components inside 
  your pipeline.Advanced feature:When describing a pipeline in 
  sitemap.xmap, you can also make a component conditionnal depending 
  on (for example) a request parameter value inthe HTTP request, or may 
  be the speed of the wind(yes Cocoon is marvellous 
  :-)-Please 
  check that your question has not already been answered in theFAQ 
  before posting. < http://xml.apache.org/cocoon/faq/index.html 
  >To unsubscribe, e-mail: < [EMAIL PROTECTED] 
  >For additional commands, e-mail: < [EMAIL PROTECTED] 
  >. 
  IncrediMail - Lamessagerie électronique a enfin évolué - 
  Cliquer ici 





	
	
	
	
	
	
	




  IncrediMail - La messagerie électronique a enfin 
évolué - Cliquer 
ici



RE: Réf. : RE: xsl vs cocoon

2002-07-10 Thread ROSSEL Olivier

> What's a sitemap?

Well, as I said before, it is the file (called sitemap.xmap) which
maps URLs to cocoon behaviour.

Each time a URL request is sent to Cocoon, the sitemap resolver
parses the whole file sitemap.xmap (==the sitemap), tries to 
find which  elements match the current URL.
It then parses (only) what is inside those map:match,
and for each compoment declaration read, it creates the 
java component that corresponds.

For example, for URL:
http://localhost:8080/cocoon/toto.html

the URL that Cocoon receives is toto.html
(the servlet container handled the first part).

So the sitemap resolver will read the sitemap.xmap file
and try to find all goods .

For example ...
will be ok for the sitemap resolver, and it will read what's inside this
tag.

Lets' say that:

 
 
 


The sitemap resolver will read that, and 
create a generator, a XSLT transformer and a HTML serializer,
link them one after the other, and launch the pipeline.

The generator make a XML flux from a "file" which is located at
"docs/toto.xml",
then the flux goes through a XML tranformer, which makes a "xslt"
transformation
using the stylesheet available at "stylesheets/toto2html.xsl", then the
resulting
flux is sent to a serializing component, which transforms the input flux
into a "html" flux.
Then Cocoon send the resulting (html) stream to the client side.

Basically, this is the idea behind a sitemap file.

Why is it so nice? Because the sitemap file can be much more complex.

For example, another possibility could have been:

 
 
 


Exactly the same but we use a wildcard for URL matching.
So the same sitemap text will handle toto.html, toto.csv ...

Note: The {1} is similar to stuff in regexp, it corresponds to the text
matched by the first wildcard in the matching expression.

Quite nice, isn't it?

And this is only the beginning.

FYI, the sitemap file is parsed linearly, the sitemap resolver
tries to get into _every_ map:match it can (it does only if the matching
pattern
is OK for the current URL), and the sitemap resolving stops
as soon as a map:serialize is met successfully.
May be you do not understand this paragraph now, but keep it in mind for the
future.

Understanding Cocoon means that you understand the process of sitemap
resolution.

The other part of the knowledge is to know what components exist.

Note: I left some specific cases, for comprehension.

Feel free to ask on the list.
We all began wondering what's a sitemap :-)

-
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: Réf. : RE: xsl vs cocoon

2002-07-10 Thread ROSSEL Olivier

> it's partially true, because right now (which is a pitty) there's no
sitemap element that can get a parameter value (which is sometimes very
important)... 
 
Can't you use an action to set a value for a sitemap variable, then use that
variable inside you component description?


hi,
i agree with olivier,..
>, you 
can also make a component conditionnal 
depending on (for example) a request parameter value in
the HTTP request
 
it's partially true, because right now (which is a pitty) there's no sitemap
element that can get a parameter value (which is sometimes very
important)... 
 
 
 
 
regards
othman
 
---Message original---
 
De : [EMAIL PROTECTED]  
Date : mercredi 10 juillet 2002 10:38:03
A : '[EMAIL PROTECTED]'  
Sujet : RE: xsl vs cocoon
 
Sure.

The sitemap.xmap file makes a mapping between URLs
received from client side to a Cocoon "pipeline".

A pipeline is a chain of java components
that create or modify a XML flux.

For a given URL, Cocoon parses the sitemap.xmap, gets
the corresponding pipeline description, creates 
the corresponding chain of java components and launches 
the first components (it is called a generator
because it is the one which creates the XML flux,
and sends it to the next component).

There is no problem if you want to specify
several XSLT components inside your pipeline.

Advanced feature:
When describing a pipeline in sitemap.xmap, you 
can also make a component conditionnal 
depending on (for example) a request parameter value in
the HTTP request, or may be the speed of the wind
(yes Cocoon is marvellous :-)

-
Please check that your question has not already been answered in the
FAQ before posting. < http://xml.apache.org/cocoon/faq/index.html
 >

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


.



    IncrediMail - La
messagerie électronique a enfin évolué -
 Cliquer ici 




ATT574260.gif
Description: GIF image

-
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: Réf. : RE: xsl vs cocoon

2002-07-10 Thread Step

Okay, what is a sitemap?

--st.



-
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]>




Réf. : RE: xsl vs cocoon

2002-07-10 Thread Othman Haddad








  hi,
  i agree with olivier,..
  >, you can also make a component conditionnal depending on 
  (for example) a request parameter value inthe HTTP request
   
  it's partially true, because right now (which is a pitty) there's no 
  sitemap element that can get a parameter value (which is sometimes very 
  important)...
   
  regards
  othman
   
  ---Message original---
   
  
  De : [EMAIL PROTECTED]
  Date : mercredi 10 
  juillet 2002 10:38:03
  A : '[EMAIL PROTECTED]'
  Sujet : RE: xsl vs 
  cocoon
   Sure.The sitemap.xmap file makes a mapping 
  between URLsreceived from client side to a Cocoon "pipeline".A 
  pipeline is a chain of java componentsthat create or modify a XML 
  flux.For a given URL, Cocoon parses the sitemap.xmap, getsthe 
  corresponding pipeline description, creates the corresponding chain of 
  java components and launches the first components (it is called a 
  generatorbecause it is the one which creates the XML flux,and 
  sends it to the next component).There is no problem if you want to 
  specifyseveral XSLT components inside your pipeline.Advanced 
  feature:When describing a pipeline in sitemap.xmap, you can also 
  make a component conditionnal depending on (for example) a request 
  parameter value inthe HTTP request, or may be the speed of the 
  wind(yes Cocoon is marvellous 
  :-)-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]>.





	
	
	
	
	
	
	




  IncrediMail - La messagerie électronique a enfin 
évolué - Cliquer 
ici



Re: SUMMARY: dynamic src for

2002-07-10 Thread Christian Haul

Thomas,

thank you for your great summary!

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


-
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]>




SUMMARY: dynamic src for

2002-07-10 Thread Thomas Balthazar

--
-- the question --
--

what can i do if i want to have a source that
is dynamicly generated for the ""
tag in the sitemap.xmap file?
i want the "src" attribute to be defined depending on the
link the user click on.
(e.g. :
href="http://localhost:8080/cocoon/preview.html?page=/content/xml01.xml";
)

--
-- the solution --
--










adding this tag "" and this tag
"" makes it
possible to get the "page" request attribute.
then, you can define the "src" by using the "page" attribute
like this "".

it works fine for me.
thank the list and christian haul for the quick answer.

thomas balthazar
[EMAIL PROTECTED]




 > -Original Message-
 > From: Christian Haul [mailto:[EMAIL PROTECTED]] 
 > Sent: mardi 9 juillet 2002 18:36
 > To: [EMAIL PROTECTED]
 > Subject: Re: dynamic src for 
 > 
 > 
 > Two solutions (depending on your version):
 > 
 > a) RequestParamAction (2.0.x + 2.1)
 > 
 >  
 > 
 >
 >
 >
 >
 > 
 > 
 >  
 > 
 > b) InputModules (2.1)
 > 
 >  
 >  
 >  
 >  
 >  
 > 
 > You might want to use ResourceExistsAction to check whether 
 > the provided page exists.
 > 
 >  Chris.
 > 
 > Please follow up summarizing your problem and which 
 > suggested solution / information worked for you when you 
 > consider your problem solved. Add "SUMMARY: " to the subject 
 > line. This will make FAQ generation and searching the list 
 > easier. In addition, it makes helping you more fun. Thank you.
 > 
 > -- 
 > C h r i s t i a n   H a u l
 > [EMAIL PROTECTED]
 > fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
 > 
 > 
 > -
 > 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: xsl vs cocoon

2002-07-10 Thread ROSSEL Olivier

Sure.

The sitemap.xmap file makes a mapping between URLs
received from client side to a Cocoon "pipeline".

A pipeline is a chain of java components
that create or modify a XML flux.

For a given URL, Cocoon parses the sitemap.xmap, gets
the corresponding pipeline description, creates 
the corresponding chain of java components and launches 
the first components (it is called a generator
because it is the one which creates the XML flux,
and sends it to the next component).

There is no problem if you want to specify
several XSLT components inside your pipeline.

Advanced feature:
When describing a pipeline in sitemap.xmap, you 
can also make a component conditionnal 
depending on (for example) a request parameter value in
the HTTP request, or may be the speed of the wind
(yes Cocoon is marvellous :-)

-
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]>




xsl vs cocoon

2002-07-10 Thread Step

Hello!
Just started trying to understand cocoon. From the Introduction
the logic-content-style model is clear and impressive.

CAn I call cocoon as a two layered XSLing?
cocoon <-???-> xsl on xsl


with the lower xsl generating the content from the logic.

--st


-
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-Gnumeric XML file format - Unreachable URL, did anyone download previously?

2002-07-10 Thread Lorenzo De Sio

Hi all,

I found an old posting with pointers to documentation about the Gnumeric XML
file format, which is the one used by the HSSF serializer.

One link concerned a PDF file contained "detailed notes on the XML file
format used by Gnumeric", at the following URL:
ftp://www.jrefinery.com/pub/jworkbook/gnumeric-xml.pdf

The URL is now completely unreachable. Did anyone successfully download that
file before it became unreachable? If so, could he/she either send it to me
or make it available to all in some other way?

Thanks in advance to all,


L.

-
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]>