Re: [SOLVED] RE: Data access to/from JXTemplate

2004-09-15 Thread Ugo Cei
Derek Hohls wrote: Just for the record, I found the problem: if you try the example below it will work - but if you replace the parameter name with one that is hyphentated eg. file-ID, then it won't. I guess allowable syntax for parameter names is documented in that Cocoon Sitemap Schema I have n

Re: Using HashMap with CForms bidning repeater?

2004-09-15 Thread Stephan Coboos
Stephan Coboos wrote: Hello, is it possible to use a HashMap to retrieve and add values using the CForms binding and the repeater element? If yes how do I set the key? Is there an example available? Maybe I found the answer by myself: For reading the list of the model the repeater uses JXPath

[SOLVED] RE: Data access to/from JXTemplate

2004-09-15 Thread Derek Hohls
Just for the record, I found the problem: if you try the example below it will work - but if you replace the parameter name with one that is hyphentated eg. file-ID, then it won't. I guess allowable syntax for parameter names is documented in that Cocoon Sitemap Schema I have never studied ;-) >

Re: ScriptGenerator how to setup for Perl

2004-09-15 Thread [EMAIL PROTECTED]
I'm having same problem to other language than groovy. It just output blank page :( howto configure bsf and rhino? On Thu, 16 Sep 2004 03:17:41 +0400, Timur Izhbulatov <[EMAIL PROTECTED]> wrote: > Ð ÐÑÐ, 15.09.2004, Ð 23:57, Antonio Gallardo ÐÐÑÐÑ: > > Timur Izhbulatov dijo: > > > Willy Reinhardt

Re: No lucene, but "Too many open files"

2004-09-15 Thread Adam Walsh
Huber, Daniel wrote: Hi there! I'm running Cocoon 2.1.4 within Tomcat 5.0.19 on Linux. I currently face the problem that cocoon stops to work with various exceptions (i.e. FileNotFoundException), all stating "too many open files". Hi Daniel, What flavour/version of linux are you using? We had a

Pipeline expires attribute

2004-09-15 Thread Alex Romayev
Hi, I've tried using "expires" attribute (found in one of the old Cocoon docs) with my pipeline, however, it doesn't seem have any effect on caching: ... Does it still work or is there another way to achieve the same effect? Thanks, -Alex --

Re: ScriptGenerator how to setup for Perl

2004-09-15 Thread Timur Izhbulatov
Ð ÐÑÐ, 15.09.2004, Ð 23:57, Antonio Gallardo ÐÐÑÐÑ: > Timur Izhbulatov dijo: > > Willy Reinhardt Ã(Ã): > > > >> My question is how to setup and configure ScriptingEngine for perl in > >> cocoon ? > > Are you shure you have a perl scripting engine jar? My Cocoon 2.1.5 has > > only > > support fo

Re: where to put custom component classes

2004-09-15 Thread Adrian Petru Dimulescu
Hello, > I don't know if this is the good practice but I have private components > for an application and I have a directory for my classes (named mp4 in > the following sample) in the > ...cocoon-2.1.5\build\webapp\WEB-INF\classes directory If I understand correctly, you mix your own code with

Re: Error - White spaces are required between publicId and systemId

2004-09-15 Thread Joerg Heinicke
On 15.09.2004 22:22, Schultz, Gary - COMM wrote: White spaces are required between publicId and systemId. org.apache.cocoon.ProcessingException: Failed to execute pipeline.: file:/d:/comwps/SB/content/SB-HPBTest.xml:2:63:org.xml.sax.SAXParseException : White spaces are required between publicId and

Error - White spaces are required between publicId and systemId

2004-09-15 Thread Schultz, Gary - COMM
I have a html that begins with the following: and I get the error from Cocoon when trying to bring into a transformation: White spaces are required between publicId and systemId. org.apache.cocoon.ProcessingException: Failed to execute pipeline.: file:/d:/comwps/SB/content/SB-HPBTest.xml:2:63:

[OT] JAOO

2004-09-15 Thread Ugo Cei
Dears, next week I will be attending JAOO in Aarhus . If there are any cocooners going there, we might chat and have some beers together. Just let me know. Ugo -- Ugo Cei - http://beblogging.com/ smime.p7s Description: S/MIME cryptographic signature

Re: ScriptGenerator how to setup for Perl

2004-09-15 Thread Antonio Gallardo
Timur Izhbulatov dijo: > Willy Reinhardt ïèñàë(à): > >> My question is how to setup and configure ScriptingEngine for perl in >> cocoon ? > Are you shure you have a perl scripting engine jar? My Cocoon 2.1.5 has > only > support for groovy scripting engine. I see the jar > (groovy-20040415.114632.j

Re: where to put custom component classes

2004-09-15 Thread Jean-Claude Moissinac
I don't know if this is the good practice but I have private components for an application and I have a directory for my classes (named mp4 in the following sample) in the ...cocoon-2.1.5\build\webapp\WEB-INF\classes directory and, for the MP4Serializer class, I have this declaration in the si

Can I throw my own ApplicationException from XSP file ?

2004-09-15 Thread Mariusz Wójcik
Hi Can I throw my own ApplicationException from XSP file ? I'd like to throw it, and catch it in pipeline by using component. Every time I got message "Unhalted Exception ". What I should do ? It is possible to do ? Thanks for help mario --

Re: Parsing certificates

2004-09-15 Thread Antonio Fiol Bonnín
You'll need a generator, not a transformer. A transformer gets XML on its input. Suggestion: Extend FileGenerator. Override setup() and execute(). Antonio Fiol On Wed, 15 Sep 2004 17:19:01 +0400, Timur Izhbulatov <[EMAIL PROTECTED]> wrote: > Hi all! > > I was thinking about converting X.509 c

where to put custom component classes

2004-09-15 Thread Adrian Petru Dimulescu
Hello, I have to write a custom serializer so I created a myapp/WEB-INF/src folder under my Cocoon application; the java files I created there are then compiled under myapp/WEB-INF/classes but Cocoon doesn't seem to notice/load them. My Cocoon application is simply a directory which I mount in

Re: some CForm fields have a yellow background

2004-09-15 Thread Paul Joseph
You are exactly right!! I turned it off and the problem goes away. thanks! Paul --- Peter Brant <[EMAIL PROTECTED]> wrote: > Could it be the AutoFill option of the Google > toolbar? You can turn this > off in the options dialog. > > Pete > > > So, it seems to be a bug with atleast the XP > v

Re: ScriptGenerator how to setup for Perl

2004-09-15 Thread Timur Izhbulatov
Willy Reinhardt писал(а): My question is how to setup and configure ScriptingEngine for perl in cocoon ? Are you shure you have a perl scripting engine jar? My Cocoon 2.1.5 has only support for groovy scripting engine. I see the jar (groovy-20040415.114632.jar) and the sitemap add-language elem

Re: Question about xsl for labels

2004-09-15 Thread Paul Joseph
Thank you. This has been quite helpful to me. rgds Paul --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Paul Joseph wrote: > > I too am having the same problem in CForms, but > don't > > know how to use CSS to set the background colour > of > > only the labels in the page. An example on ho

ScriptGenerator how to setup for Perl

2004-09-15 Thread Willy Reinhardt
Hi, My application should execute a Perl script. I consider to use ScriptGenerator. I add in my sitemap: Note I didn't add Perl language because BSF use extension to determine language then When I call the script I got an exception org.apache.cocoon.ProcessingException: BSFException i

Re: some CForm fields have a yellow background

2004-09-15 Thread Peter Brant
Could it be the AutoFill option of the Google toolbar? You can turn this off in the options dialog. Pete > So, it seems to be a bug with atleast the XP version > of IE6 (SP2) > > The workaround was to change *both* the field id and > the label name as follows: > > > User-Name: >

Re: some CForm fields have a yellow background

2004-09-15 Thread Paul Joseph
So, it seems to be a bug with atleast the XP version of IE6 (SP2) The workaround was to change *both* the field id and the label name as follows: User-Name: This is a test to see if this workswill it? User-Mail:

Re: instead of writing XSP in Java

2004-09-15 Thread Derek Hohls
I think they are trying to avoid writing Java... I know I do ;-) >>> [EMAIL PROTECTED] 2004/09/15 01:12:39 PM >>> [EMAIL PROTECTED] wrote: > If you don't like writing XSP in Java. > There is another solution > > create action with Script Action :) Or put your businesslogic in java classes,

Re: No lucene, but "Too many open files"

2004-09-15 Thread Jorg Heymans
Huber, Daniel wrote: ["too many open files" in conjunction with xpath function document()] Another weired part of the puzzle is this posting (I finally found): http://issues.apache.org/eyebrowse/[EMAIL PROTECTED] che.org&msgId=729039 It describes quite the same problem. As solution upgrading to X

RE: No lucene, but "Too many open files"

2004-09-15 Thread Huber, Daniel
> ["too many open files" in conjunction with xpath function document()] Another weired part of the puzzle is this posting (I finally found): http://issues.apache.org/eyebrowse/[EMAIL PROTECTED] che.org&msgId=729039 It describes quite the same problem. As solution upgrading to Xalan 2.5.1 and Xerc

Re: some CForm fields have a yellow background

2004-09-15 Thread Paul Joseph
Thank goodness, I spent a lot of time on this! It does show correctly in Mozilla, the problem is only in IE. In "cocoon/samples/blocks/forms/form1", the offending field is the "Birthday" In "cocoon/samples/blocks/forms/register", the offending fields appear to be name and email thanks everyone!

Re: some CForm fields have a yellow background

2004-09-15 Thread Patrick Verboom
Jeroen Reijn wrote: You can blaim at your browser. It's a feature. I have seen this before in IE. Jeroen -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Posted At: Wednesday, September 15, 2004 2:54 PM Posted To: Cocoon User List Conversation: some CForm

Parsing certificates

2004-09-15 Thread Timur Izhbulatov
Hi all! I was thinking about converting X.509 certificates to XML with Cocoon. Writing a custom transfomrer for this purpose seems to be a good solution. WDYT? Timur - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: some CForm fields have a yellow background

2004-09-15 Thread Jeroen Reijn
You can blaim at your browser. It's a feature. I have seen this before in IE. Jeroen -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Posted At: Wednesday, September 15, 2004 2:54 PM Posted To: Cocoon User List Conversation: some CForm fields have a yel

Re: some CForm fields have a yellow background

2004-09-15 Thread Patrick Verboom
Paul Joseph wrote: Hi, I am a CForms newbie and have the following question: In the Registration example, the Name and e-mail fields have a yellow background. If I change the id of the field to anything other than Name, the yellow background goes away. What is setting the yellow background? In anot

Using HashMap with CForms bidning repeater?

2004-09-15 Thread Stephan Coboos
Hello, is it possible to use a HashMap to retrieve and add values using the CForms binding and the repeater element? If yes how do I set the key? Is there an example available? Thank you. Regards Stephan - To unsubscribe, e-mail

Re: some CForm fields have a yellow background

2004-09-15 Thread [EMAIL PROTECTED]
Paul Joseph wrote: I would think so, but I couldn't find any CSS with #Name in it. Also, this wouldn't explain why on the form1 CForms example provided in the standard install, the first Birthday field in the repeater has a white background, while all the other Birthday fields in the subsequent row

RE: No lucene, but "Too many open files"

2004-09-15 Thread Huber, Daniel
> > I currently face the problem that cocoon stops to work with various > > exceptions (i.e. FileNotFoundException), all stating "too many open > > files". > > [...] > > It seems that cocoon opens the referenced XML file every > > time document() is called, resulting in the creation of a > > new f

Re: Excalibur+cocoon+NullPointerException

2004-09-15 Thread Fernando Rodrigues
So stupid i was.. i called that method within an object created by the constructor and not by lookup. Didn´t believe i spent several hours with this. Tks - Original Message - From: Fernando Rodrigues To: [EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:33 AM

Re: some CForm fields have a yellow background

2004-09-15 Thread Paul Joseph
I would think so, but I couldn't find any CSS with #Name in it. Also, this wouldn't explain why on the form1 CForms example provided in the standard install, the first Birthday field in the repeater has a white background, while all the other Birthday fields in the subsequent rows have a yellow ba

Re: instead of writing XSP in Java

2004-09-15 Thread [EMAIL PROTECTED]
Yup, would you please help me use Script Action, it does not work at all... On Wed, 15 Sep 2004 13:12:39 +0200, Thomas Kjeldahl Nilsson <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] wrote: > > If you don't like writing XSP in Java. > > There is another solution > > > > create action w

Re: No lucene, but "Too many open files"

2004-09-15 Thread Jorg Heymans
did you check bug 31116 ? There are a few suggestions as to what could cause this. HTH Jorg Huber, Daniel wrote: Hi there! I'm running Cocoon 2.1.4 within Tomcat 5.0.19 on Linux. I currently face the problem that cocoon stops to work with various exceptions (i.e. FileNotFoundException), all stati

Re: [CForms] performance problem using repeater widget

2004-09-15 Thread Jorg Heymans
Thanks. My stylesheet can't get any simpler though. If there is a way to optimize following templates i would love to hear about it. Regards Jorg Timur Izhbulatov wrote: Ð ÐÑÑ, 14.09.2004, Ð 17:35, Jorg Heymans ÐÐÑÐÑ: Any ideas what could be causing

Re: some CForm fields have a yellow background

2004-09-15 Thread [EMAIL PROTECTED]
Paul Joseph wrote: [...] In the Registration example, the Name and e-mail fields have a yellow background. If I change the id of the field to anything other than Name, the yellow background goes away. > [...] Colors, backgrounds and other styles are handled by CSS and should be completely separate

some CForm fields have a yellow background

2004-09-15 Thread Paul Joseph
Hi, I am a CForms newbie and have the following question: In the Registration example, the Name and e-mail fields have a yellow background. If I change the id of the field to anything other than Name, the yellow background goes away. What is setting the yellow background? In another example pr

Re: instead of writing XSP in Java

2004-09-15 Thread Thomas Kjeldahl Nilsson
[EMAIL PROTECTED] wrote: If you don't like writing XSP in Java. There is another solution create action with Script Action :) Or put your businesslogic in java classes, instantiate and call these from your flowscripts. -- Regards, Thomas Kjeldahl Nilsson Oslo, Norway --

HTML escaping in XML

2004-09-15 Thread Kevin Williams1
Return Receipt Your HTML escaping in XML document :

CForms - ensuring unique attributes in tags

2004-09-15 Thread Derek Hohls
I have a form where users can enter a number which is stored in the "id" attribute of the tag eg. How can I ensure that the number is unique amongst all tags of that name (assuming they are all siblings)? Thanks Derek -- This message has been scanned for viruses and dangerous content by MailSc

No lucene, but "Too many open files"

2004-09-15 Thread Huber, Daniel
Hi there! I'm running Cocoon 2.1.4 within Tomcat 5.0.19 on Linux. I currently face the problem that cocoon stops to work with various exceptions (i.e. FileNotFoundException), all stating "too many open files". I tracked down the problem to the use of the xpath function 'document($phrase_list)' i

Excalibur+cocoon+NullPointerException

2004-09-15 Thread Fernando Rodrigues
Sorry again. I´m stuck with some simple problem.   When the object is created, the var str is setted with the  value "test"  (configure method) and then i see in my log the size of that var (method initialize). This is just testing, to be sure on what is going on. One thing i can´t understan

Re: Sendmail failing

2004-09-15 Thread Yves Vindevogel
Ha ! Tnx !! I did find a workaround, well Daniel Craigmile found it and I tried it on my machine and that works. See other mail in this thread. Can I update that site with the workaround ? Y On 15 Sep 2004, at 10:47, Tomasz Nowak wrote: Yves Vindevogel <[EMAIL PROTECTED]> wrote: Sending failed; n

instead of writing XSP in Java

2004-09-15 Thread [EMAIL PROTECTED]
If you don't like writing XSP in Java. There is another solution create action with Script Action :) In docs: Actually: You can also generate using script: NOTE: Till now, I just can't make ActionScript works :( It only send blank page. I've try python and javascript, none works. On

Re: Sendmail failing

2004-09-15 Thread Tomasz Nowak
Yves Vindevogel <[EMAIL PROTECTED]> wrote: > > Sending failed; nested exception is: class > javax.mail.MessagingException: Could not connect to SMTP host: > 127.0.0.1, port: 25; nested exception is: java.net.ConnectException: > Connection refused Bug #28485 (http://nagoya.apache.org/bugzilla/show_

form.showForm

2004-09-15 Thread David Verdin
Hi, I would like to know what's the difference between Forms.showForm() and cocoon.sendPageAndWait(). I keep on trying to do a dynamic formulaire, with widgets appearing conditionnally to what the user wishes, and I read that JXTemplate generator is good for this. But my problem is that when I u

Re: Upgrading the "Upload File" sample to handle binary formats

2004-09-15 Thread Andrew Savory
Hi, On 2 Sep 2004, at 07:24, Derek Hohls wrote: In the "Upload File" sample, only text is handled and the code looks like: function handleUpload(form) { var buf = new java.lang.StringBuffer(); var uploadWidget = form.lookupWidget("upload"); if (uploadWidget.getValue() != null) { var strea