DO NOT REPLY [PATCH QUEUE] Summary December 6 2003

2003-12-05 Thread nicolaken
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to th

Re: Document Content Format

2003-12-05 Thread Tony Collen
Alain Javier Guarnieri del Gesu wrote: I'm about to get started with Cocoon in ernest, I'll be using it for my web site. I'm trying to figure out what sort of XML document to write. Currently I'm writing out a simple format that models blog entrys. The side bar links and header are hard coded into

Document Content Format

2003-12-05 Thread Alain Javier Guarnieri del Gesu
I'm about to get started with Cocoon in ernest, I'll be using it for my web site. I'm trying to figure out what sort of XML document to write. Currently I'm writing out a simple format that models blog entrys. The side bar links and header are hard coded into my single XSLT transform. My side is on

RE: Content Updating

2003-12-05 Thread Brent L Johnson
> Look through the archives - unless I misunderstand you this > has been discussed ad nauseum. In your case, there is an > xsp tag to cause the value of your parameter to be parsed > as xml and passed down the line of SAX events. I did a quick pass over the mailing list archives but didnt see any

Re: DirectoryGenerator problem (was: Re: Listing files from a directory)

2003-12-05 Thread hed
I think there is a bug in DirValidity class (nested in DirectoryGenerator class): public int isValid() { if (System.currentTimeMillis() <= expiry) { return 1; } expiry = System.currentTimeMillis() + delay; int len = files.size(); for (int i = 0; i < len; i++) { File f = (File)files.get(i); if (!f.

Re: instability of cocoon image reader?

2003-12-05 Thread Vadim Gritsenko
Geoff Howard wrote: Joakim Verona wrote: Hello list, I'm writing a simple photo browser with the cocoon image reader and image directory generator. It seems the image reader is unstable when generating thumbnails. Random images get broken, that is, the image reader doesnt generate the thumbna

cocoon-blank.war

2003-12-05 Thread Scherler, Thorsten
Hello group, At work I am building web apps with struts. There you have a struts-blank.war and some examples. That is much easier to start. You just have to unzip or unrar the war and you can start building your webapp. You don't have a 90 MB big dist.. Ok, I admit that cocoon depend on example

RE: Content Updating

2003-12-05 Thread Chris Morgan
All to say that the server-side option is a pretty complicated way to do something that should be simple. Having gone through this, I recommend some form of client solution. Flash is the most ubiquitous and less obtrusive client options, but there are others (I think there are DHTML options) that

Re: Content Updating

2003-12-05 Thread Geoff Howard
Look through the archives - unless I misunderstand you this has been discussed ad nauseum. In your case, there is an xsp tag to cause the value of your parameter to be parsed as xml and passed down the line of SAX events. Keep in mind, a cocoon pipeline is not a text stream of xml, but a sax event

Stateful SOAP calls

2003-12-05 Thread Jake Meier
I am terribly new to cocoon, so please forgive me if this is a stupid question. I am interested in using the SOAP logicsheets from cocoon 2.1.3 to call to a stateful web-service. Basically, when I make my first call to the service it wants to set a session cookie. I need to be able to handle

RE: Content Updating

2003-12-05 Thread Brent L Johnson
Yeah this is quite annoying because as soon as I do an That produces an encoded string value that gets passed all the way to the actual writing of the file.. so it gets overwritten with < and > - Brent > I've run into this as well. We looked at a couple of > different options: > > 1. server

Re: instability of cocoon image reader?

2003-12-05 Thread Joakim Verona
Geoff, I'm running cocoon in a tomcat 5 caontainer using the default startup values. I'm not shure how much heap this is by default. It seems the tomcat java process requires 113 mb right now. Im running cocoon 2.1.3, tomcat 5, redhat 9. Regards, /Joakim Geoff Howard wrote: Joakim Verona wrote:

Re: About Java and XML

2003-12-05 Thread Tony Collen
Josep Riudavets wrote: Hi all ... it is not a really cocoon question ... but I think you will know how to solve it It's very very simple ... but I have been trying to solve it all day... I have and XML document, called "cad.xml" ... 34242342 ... I want to develop some java code, for inser

DirectoryGenerator problem (was: Re: Listing files from a directory)

2003-12-05 Thread Jan Wielgus
>You wouldn't want an Action to do that - but a Generator, and there are >several included by default. Look in the user docs under Generators - >you'll find at least DirectoryGenerator and ImageDirectoryGenerator >there. I think there are others with more sophisticated options which >may be n

RE: Content Updating

2003-12-05 Thread Chris Morgan
I've run into this as well. We looked at a couple of different options: 1. server side decoders that basically replace your < or other unicode with their appropriate symbols before committing to storage. This is a good solution for very simple markup with little variation. 2. Change client to a

Re: war file missing: cocoon 2.1.3

2003-12-05 Thread Joerg Heinicke
On 04.12.2003 23:50, Michael Wolf wrote: Hello, I just tried to build cocoon 2.1.3. The webapp directory (including content) is created but the cocoon.war file is missing. Of course I executed 'build war'. A month ago I built cocoon 2.1.2 on the same machine and had no problems whatsoever. Mic

About Java and XML

2003-12-05 Thread Josep Riudavets
Hi all ... it is not a really cocoon question ... but I think you will know how to solve it   It's very very simple ... but I have been trying to solve it all day...   I have and XML document, called "cad.xml"   ... 34242342 ...   I want to develop some java code, for inserting it int

Re: instability of cocoon image reader?

2003-12-05 Thread Geoff Howard
Joakim Verona wrote: Hello list, I'm writing a simple photo browser with the cocoon image reader and image directory generator. It seems the image reader is unstable when generating thumbnails. Random images get broken, that is, the image reader doesnt generate the thumbnails properly. I guess

Re: coping with XSLT

2003-12-05 Thread Oleg Dulin
Adrian, Bertrandt: I've been following this thread, and posted some notes on my blog at http://www.olegdulin.com/index.php?p=53&c=1 . In summary: * If you really wanted to, you could write a custom transformer. To make the job is easier, Cocoon lets you extend AbstractDOMTransformer so you c

instability of cocoon image reader?

2003-12-05 Thread Joakim Verona
Hello list, I'm writing a simple photo browser with the cocoon image reader and image directory generator. It seems the image reader is unstable when generating thumbnails. Random images get broken, that is, the image reader doesnt generate the thumbnails properly. I guess the problem is that

Re: strange transformer behavior in pipeline!

2003-12-05 Thread Rui Alberto L.
Yes..yes...yes. That's it!!! Thanks Geoff!! Rui On Fri, 2003-12-05 at 13:09, Geoff Howard wrote: > Rui Alberto L. GonÃalves wrote: > > > Hi all, > > > > I wrote a transformer a few time ago and it's been working > > properly, but I can't insert a xslt transformer after my > > transformer in the

Content Updating

2003-12-05 Thread Brent L Johnson
Im creating a basic content management system to allow users to change the content in some of the XML documents. I'm reading the content and putting it into a textarea and doing a form post. To print a preview of the page I have an XSP file that uses xsp-request to use the data that was posted in

AW: LDAP Problem

2003-12-05 Thread Canavaggio Guillaume ZFF PA-K
The credential you gave may be incorrect rootdn: o=Users (should be something like cn=Manager,o=Users, for instance) Cheers/Gruss/Salutations -Ursprüngliche Nachricht- Von: Hauke Ernst [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 4. Dezember 2003 19:44 An: [EMAIL PROTECTED] Betreff:

Re: SVG problem after move to production server

2003-12-05 Thread Jorg Heymans
Patrick Hess wrote:

Re: SVG problem after move to production server

2003-12-05 Thread Steve Buck
Patrick Hess wrote: As in my setup the headless option is one of the major differences I just tried to run without this option and having an X server running -- this didn't helped me, still no fonts... :( Just as a shot in the dark, but you may want to make sure that you have the fonts installed

Re: SVG problem after move to production server

2003-12-05 Thread Patrick Hess
[EMAIL PROTECTED] wrote: I am not quite sure, but we ran into a similiar problem some weeks ago, when we switched from an XP system to a Solaris box. In our case the problem was, that we had no running X server on the Solaris machine. As in my setup the headless option is one of the major differen

Re: SVG problem after move to production server

2003-12-05 Thread Patrick Hess
Jorg Heymans wrote: did you read http://wiki.cocoondev.org/Wiki.jsp?page=Embedding_SVG_Fonts Yes, I did -- no helpful in my case and I don't want to embedd the fonts. I want to have them external. On the other hand, have you tried absolute paths in your url section? I just tried it and unfortuna

Re: SVG problem after move to production server

2003-12-05 Thread Jorg Heymans
did you read http://wiki.cocoondev.org/Wiki.jsp?page=Embedding_SVG_Fonts It might give you more insight. On the other hand, have you tried absolute paths in your url section? Jorg Patrick Hess wrote: Hi all, I got a problem after deploying my current cocoon application to the production serv

Re: SVG problem after move to production server

2003-12-05 Thread Thomas . Zirnsack
Hi, I am not quite sure, but we ran into a similiar problem some weeks ago, when we switched from an XP system to a Solaris box. In our case the problem was, that we had no running X server on the Solaris machine. hth, tom

SVG problem after move to production server

2003-12-05 Thread Patrick Hess
Hi all, I got a problem after deploying my current cocoon application to the production server. Before I was developing on Windows 2000 with JDK 1.4.1, Tomcat 4.1.21 and Cocoon 2.1.2 which does what I expect :) After moving the production server (Debian Woody) with the same Tomcat/JDK version

Re: pipeline as stylesheet-source for a transformer

2003-12-05 Thread Timothy Larson
--- "Ulrich, Dominik" <[EMAIL PROTECTED]> wrote: > Hello everyone! > Is it possible to use a pipeline as source for a transformer? > like: Change: to: and it may start working for you. --Tim Larson __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://

pipeline as stylesheet-source for a transformer

2003-12-05 Thread Ulrich, Dominik
Hello everyone! Is it possible to use a pipeline as source for a transformer? like: the "makexsl" pipeline creates a styl

Problem with attributes encoding

2003-12-05 Thread Jakub Kaniewski
I have a problem with adding attribute value to the input tag. I can't insert encoded with ISO-8859-2 text into this tag attributes (value attribute). I always receive Xalan error (inproper integral value etc.). There is no problem to insert encoded text anywhere else. My coocoon i properly

Re: strange transformer behavior in pipeline!

2003-12-05 Thread Geoff Howard
Rui Alberto L. GonÃalves wrote: Hi all, I wrote a transformer a few time ago and it's been working properly, but I can't insert a xslt transformer after my transformer in the pipeline, because doing so a RuntimeException is thrown!! Inserting other transformer or serializing the result of my tran

Re: strange transformer behavior in pipeline!

2003-12-05 Thread Rui Alberto L.
Hi Jorg, thanks for the answer! I'm sending 4 files in attach. input.xml -> XML Input to my transformer output -> Serialized XML after my transformer in pipeline style.xsl -> Stylesheet that I'm using for testing purposes only. code.txt -> The relevant code of my tranformer. My transformer simply

Re: strange transformer behavior in pipeline!

2003-12-05 Thread Jorg Heymans
can you insert a view on your custom transformer and post the output of it? Maybe it's not producing what your stylesheet is expecting. Does core.log or error.log have a less cryptic stacktrace maybe? Jorg Rui Alberto L. GonÃalves wrote: Hi all, I wrote a transformer a few time ago and it's b

strange transformer behavior in pipeline!

2003-12-05 Thread Rui Alberto L.
Hi all, I wrote a transformer a few time ago and it's been working properly, but I can't insert a xslt transformer after my transformer in the pipeline, because doing so a RuntimeException is thrown!! Inserting other transformer or serializing the result of my transformer is no problem!!! Doe

Woody form tabs

2003-12-05 Thread Jeremy Quinn
Hi All I was having a play with Tabs in Woody forms. I have a form template and model that follow the pattern of the Form1 sample in Cocoon, but my form ends up with: an empty popup-menu in the title of a fieldset no content My forms are handled by flowscript. Is there any 'beh

Re: Problems with simple-form transformer in 2.1.3

2003-12-05 Thread Christian Haul
Frederic Gaus wrote: On Thu, Dec 04, 2003 at 01:47:39PM +0100, Christian Haul wrote: Frederic Gaus wrote: to get a line-break. This is not working any longer. After transforming a few tags are missing (not the , but for example the -Tag) and my xml gets invalid. I also modifie

RE: FW: Escaping in XSP Logic

2003-12-05 Thread Nathaniel Alfred
For Java code inside XSPs you have to use Unicode escapes: ç = \u00E7 See http://www.unicode.org/charts/PDF/U0080.pdf for other Latin-1 characters. HTH, Alfred. > -Original Message- > From: Alexandre Victoor [mailto:[EMAIL PROTECTED] > Sent: Freitag, 5. Dezember 2003 09:39 > To: [EMAI

Re: Clickable list

2003-12-05 Thread Marc Portier
Steve Steinitz wrote: Hello, My colleague and I both posted a question last week which received no answers. The two questions were posed from different points of view but, I believe, addressed the same issue. In the hope of getting some insight into this issue the text of each question is rep

RE : RE : RE : error when using my own transformer

2003-12-05 Thread Sylvain.Thevoz
Hello, Yes you're right. And it works! Thank you Marco and Jorg. Sylvain > -Original Message- > From: Marco Rolappe [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 04, 2003 5:38 PM > To: [EMAIL PROTECTED] > Subject: AW: RE : RE : error when using my own transformer > > > sylvain,

Re: FW: Escaping in XSP Logic

2003-12-05 Thread Olivier Billard
Hi Yves, I think something as your issue has happened some weeks agos. You'll find the solution in the archives. It may come from your serializer, that could be "UTF-8" or something else... check your sitemap... -- Olivier Billard On 04/12/2003 22:30, Yves Vindevogel wrote: nobody ? -O

RE: Cocoon Portal: How to stay in full screen mode?

2003-12-05 Thread Carsten Ziegeler
David Geleyn wrote: > > Hi! > > I'm experimenting with the new portal engine and I > have a question: > > You can show one coplet full screen, but when you want > to change something in the coplet (filter option to > show only certains users (p.e. admins) in the coplet), > the coplet becomes a s

Re: FW: Escaping in XSP Logic

2003-12-05 Thread Alexandre Victoor
Hi You should perhaps externalize your hard-coded string messages in a java class or a property file or something like that... Alex At 22:30 04/12/2003 +0100, you wrote: nobody ? -Original Message- From: Yves Vindevogel [mailto:[EMAIL PROTECTED] Sent: woensdag 3 december 2003 19:21 To:

Re: FW: Escaping in XSP Logic

2003-12-05 Thread gounis
this is a point discused in the future again without a solution (if i remeber right) --stavros On Thu, 4 Dec 2003, Yves Vindevogel wrote: > nobody ? > > -Original Message- > From: Yves Vindevogel [mailto:[EMAIL PROTECTED] > Sent: woensdag 3 december 2003 19:21 > To: [EMAIL PROTECTED

Re: Listing files from a directory

2003-12-05 Thread gounis
look for directory generator --stavros On Thu, 4 Dec 2003, [iso-8859-2] Jan Wielgus wrote: > Hello, > > is there an action that performs listing files of a specific > directory given (as parameter for example)? > > Jan > > > -

Re: XSL question (was: XSL question in Cocoon)

2003-12-05 Thread Joerg Heinicke
After Josh's good analysis and solution for your problem I want to add some comments from the XSLT point of view. The solution is "sub-optimal", you have to bad axes in your expression: the descendant axis ('//') and the preceding axis. Both used in combination can slow down the processing extr

Deja Vu: ReadDOMSession Transformer

2003-12-05 Thread David Rogers
Ok...so this is the same problem I was having before the GhentTogether..All that beer made me forget about the bug... in Cocoon 2.1.1 the ReadDOMSessoin transformer is inserting the xml prolog into the sax stream...killing any down stream transform... so this looks like it has either been a bug