Re: Fixes for the X11 problem are failing!!!

2001-10-03 Thread Ugo Cei
Olivier Rossel wrote: > Solution 2: removing any reference to SVG and PDF. > This should disable any call to Batik, which is the problematic library, > requiring the X11 display > *** > > Removing anything concerning SVG does not solve the problem, in the > sitemap.xmap and the WEB-INF/. > Ma

Re: Cocoon2 -changes in web.xml

2001-10-03 Thread Jörg Heinicke
This message occurs if the structure of the XML doesn't match the DTD. So there seems to be an ordering problem or a completely wrong tag at this place. I can not say what's wrong, because the opening tag is missing in your code-snippet. But the nodes in must be like the following: 1. 0 or 1 (

Re: How to have prompt for download?

2001-10-03 Thread Jörg Heinicke
I think, this is a problem of Windows not of Cocoon. Because I have a German version of Windows I can't tell you the right way. I try to explain it: In the explorer we have a menu named 'Extras', it should be named similarly in English, there 'directory options', 'file types', search for '.doc',

Re: How to have prompt for download?

2001-10-03 Thread Bertrand Delacretaz
On 03.10.2001 20:18:53, "Hewko, Doug" <[EMAIL PROTECTED]> wrote: >How would you set up Cocoon2 to download a file instead of opening an >application for it? I don't have the answer, but this has to do with the "Content-Disposition" HTTP header. You have to find a way to have Cocoon send a spec

Re: Cocoon2 -changes in web.xml

2001-10-03 Thread Jeff Turner
Tomcat 4 validates web.xml against a DTD, so yes, order matters. --Jeff On Wed, Oct 03, 2001 at 11:20:03AM -0700, Lakshmi Anantharaman wrote: > Starting service Tomcat-Standalone > Apache Tomcat/4.1-dev > PARSE error at line 220 column 13 > org.xml.sax.SAXParseException: The content of element t

RE: Newbie:Force Changes in Sitemap to Take Effect

2001-10-03 Thread Lakshmi Anantharaman
It worked Thanks any way . -Original Message- From: Lakshmi Anantharaman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 4:54 PM To: Cocoon-Users (E-mail) Subject: Newbie:Force Changes in Sitemap to Take Effect Hi I am experimenting with Jeremy Aston's CTwIG (By the way g

Newbie:Force Changes in Sitemap to Take Effect

2001-10-03 Thread Lakshmi Anantharaman
Hi I am experimenting with Jeremy Aston's CTwIG (By the way great guide (meant for me ??) . I have created the sample xml and xsl amd made the suggested changes in sitemap.xmap file viz.

Separate Contexts for C2

2001-10-03 Thread Heath Stewart
I know this was already asked earlier today, but I wanted to ask again because no one has answered yet and I would like to do this.   How can one setup a different context for c2? I was poking around in the $CATALINA_HOME/conf/web.xml file and it seems I could create another context for c2 l

Re: Fixes for the X11 problem are failing!!!

2001-10-03 Thread Gianugo Rabellino
Olivier, > ** > Solution 1 : using PJA as an alternative to built-in AWT. > PJA does not require a X server to launch > *** > > Problem: > java.lang.ExceptionInInitializerError: java.lang.ClassCastException: I understand that PJA is quite old, so I'm not surprides to see this. > ** > S

Re: Enterprise applications

2001-10-03 Thread Sergio Carvalho
You might want to search the archives. There was some activity around cocoon-J2EE integration. I don't know how far has that prgoressed. On Wed, 3 Oct 2001 18:56:38 +0100, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] -- > I'm looking to a homegrown datasource to Cocoon and I came across thi

How to reuse generated XML code?

2001-10-03 Thread Lawrence, Michael
Hi all. I'm hoping that I can get some help with an application that I am writing. Basically, here is the idea. An XML file is generated after some input is taken from a form. I then pass this XML file through an XSLT transformer to show another form with only certain information from the X

AW: umlauts in html forms

2001-10-03 Thread Michael Gerzabek
Database is encoded for ISO-8859-1 also. But I found a switch at the serializer. When you use the tag ISO-8859-1 then everything works fine! thanx Michael -Ursprungliche Nachricht- Von: Arno Illmann [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 3. Ok

map:act under map:pipeline ??

2001-10-03 Thread Ramsés Morales
Hi. Can I have an action directly under a pipeline?? Something like this: ... ... .. I'm asking because I have an action that I want executed for every element inside the pipeline. Thanks for your help. -

Cocoon2 -changes in web.xml

2001-10-03 Thread Lakshmi Anantharaman
I made the following change in cocoon\webapp\WEB-INF\web.xml before making the war file . Added : extra-classpath c:\Tomcat\tomcat\common\lib\servlet.jar THis is imediatly followed by Cocoon2 / Does the Error Message below indicate that the ordering o

How to have prompt for download?

2001-10-03 Thread Hewko, Doug
How would you set up Cocoon2 to download a file instead of opening an application for it? In my sitemap.xml, I have some word documents defined as follows so I can put them all in one physical path. What would I need to change if I want Windows to give the "open" or "save" prompt

Enterprise applications

2001-10-03 Thread roger . day
I'm looking to a homegrown datasource to Cocoon and I came across this puzzling piece in the docs. Cocoon allows you to specify a pooled data source that you can use for throughout the Cocoon system. There are two different types of data sources: JDBC and J2EE. The difference is in who controls t

Re: Cocoon2 with no batik at all.

2001-10-03 Thread Gregory Steuck
> "aaldridg" == aaldridg <[EMAIL PROTECTED]> writes: aaldridg> If I manage to solve the problem, I'll get back to you, aaldridg> if not - has anyone got a solution - no way I can aaldridg> install X on our servers. You should consider installing Xvfb. Properly protected Xvfb (i.

Fixes for the X11 problem are failing!!!

2001-10-03 Thread Olivier Rossel
Gianugo Rabellino wrote: >Anthony, > >>If I manage to solve the problem, I'll get back to you, if not - has >> >anyone > >>got a solution - no way I can install X on our servers. >> > >I think you'd better start with a fresh and sitemap: take out not only >the component references (including PDF)

Re: stripping whitespace [c2].

2001-10-03 Thread Arno Illmann
Hi! Could you give me an working example (with a XML and a XSL file) of your normalize-space(Title) code. I am working on the same problem (see thread "HTML Code Formatting / Meta Tags" a few before), but all tests did not come to an good end, I think about a solution with xsl. In C1 you coul

Re: HTML Code Formatting / Meta Tags

2001-10-03 Thread Arno Illmann
Hi Liam, The transformation sheet with additional meta tags is working, perhaps I had the wrong serializer or so. And the http-header-action is only for the http response, as I could find in the APIdocs. By the way, thanks for your tips in loooking for documentation. Another place could be s

[C2] Newbie: How to start a new proyect ...

2001-10-03 Thread Eduardo Godoy Vega
I know that my question sound a little "dummy", but ... How is the best way to start a new context in Tomcat+Cocoon2, I want to create a XSP based proyect... What do I have to modify in Tomcat (ver. 3.2.3)? What does my new WEB-INF/web.xml must include ? Thanks, Eduardo.

Re: umlauts in html forms

2001-10-03 Thread Arno Illmann
For which encoding is the database configured? mfg, Arno - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTEC

Re: Cocoon2 with no batik at all.

2001-10-03 Thread Gianugo Rabellino
Anthony, > If I manage to solve the problem, I'll get back to you, if not - has anyone > got a solution - no way I can install X on our servers. I think you'd better start with a fresh and sitemap: take out not only the component references (including PDF) but even the samples, since some of the

C2 file upload problem

2001-10-03 Thread Vladimir Lyovkin
Hi ! I tried to upload file with cocoon example upload.xsp. When i post request i got file with 1 byte length in upload directory. Cocoon logs reports right size for request ... (C2rc1a, tomcat 4.0, w2k) May be someone can guess problem and help ? Thank you in advance, Vladimir --

How to get a list of classes that have been loaded from out the jars in lib?

2001-10-03 Thread Jan
Is there a way to get an array of all the classes that have been loaded from out the library directory of cocoon2? In particlular I need all loaded subclasses of a specific interface foo.bar.Module that are in the .jar files (or where ever).   The modules can be anywhere and in multiple .jar

Serializers

2001-10-03 Thread Heath Stewart
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1   Does anyone know of additional serializers like SWF (Shockwave Flash), Adobe's new virtual world format (not VRML), etc.? Is there a list of serializers that C2 comes with somewhere, too? I could probably pick apart the packages, but this seems

can xsp use javabean?

2001-10-03 Thread YANLIAN
Hi; Can xsp use javabean like jsp? If not, how to implement shopping cart using cocoon/xsp? Thanks. Lian - Please check that your question has not already been answered in the FAQ before posting.

Re: Cocoon2 with no batik at all.

2001-10-03 Thread aaldridg
I just moved from dev (on NT) to production (UNIX) and realised the extent of this problem. My initial reaction was to remove all references to svg in the sitemap. This did NOT however stop the problem, I still got the error during sitemap generation relating to svg! Oh dear, this does not look go

Re: Cocoon 1 / Cocoon 2

2001-10-03 Thread Jeremy Aston
Hi Vincent, I have some basic examples for XML/XSL/Logicsheets which demonstrate the fundamentals of the sitemap.  You can see these on the C2 Idiots Guide - cTwIG - at http://www.pigbite.co.uk/ctwig/index.html.  There are some links from there to more resources as well. Hope this helps a little.

Cocoon 1 / Cocoon 2

2001-10-03 Thread Vincent
Hi, I'm using cocoon 1.8 since a year or more. I'm trying the new release, Cocoon2. First of all, i'll need informations about the Sitemap technology. pratically speaking..? because cocoon's web site describe the Sitemap features..but not very clearly..:-) Second thing, i have XSL which runs v

Re: General framework question

2001-10-03 Thread Peter Royal
At 10:52 AM 10/3/2001 -0700, you wrote: >I want to make a business layer, that always generates some generic (home >invented) XML to the presentation layer. Then I would like to use Cocoon to >use this XML, and present it for me. The reason that I want to use my own >XML, is that I want to be able

Re: [C2] How to give intelligence to XSL ??

2001-10-03 Thread Piroumian, Konstantin
> > Hello, > > I would like someone to help me to resolve a simple problem : > > I've got a few xml files... page_X.xml > all page_X.xml are transformed using pages.xsl > > > In pages.xsl, I would like to add EDIT ME! only > if request.getSession().getAttribute("editable") equals "1" .. > > how

General framework question

2001-10-03 Thread Søren Neigaard
Hi I would love you comment on my idea of a framework I'm planning to make. Whether it is possible, whether you think it's a good solution. Basicly all comments are welcome. I want to make a business layer, that always generates some generic (home invented) XML to the presentation layer. Then I

Re: How to get a NodeList via a XPath like String?

2001-10-03 Thread Adrian Geissel
Jan, Are you looking for something like   "/mux/content[@lang='us-en' or not(@lang)]//sidebox[1]"   Adrian   - Original Message - From: Jan To: [EMAIL PROTECTED] Sent: Tuesday, October 02, 2001 7:13 PM Subject: How to get a NodeList via a XPath like String? I