Betr.: Parameter passing and the authentication framework

2005-10-27 Thread Peter . Urbanus
"Stewart, Gary" <[EMAIL PROTECTED]> wrote on 27-10-2005 10:44:38: > Hi there, > > I'm having some problems with parameter passing (or expression > matching) and the authentication framework. Basically I have > something that needs to be authenticated but also needs the request > parameters av

Re: Unicode Support

2005-10-27 Thread Berin Loritsch
On Thursday 27 October 2005 1:55 pm, Venkat wrote: > Hello, I am Venkat and I am new user of Apache Cocoon. In one of the > projects we are planning to use Cocoon to automatically generate PDF > files from XML input and XSL FO page layout description. > > Can some one please confirm if this featur

Re: Unicode Support

2005-10-27 Thread Geert Josten
As far as I know, it works just fine, as long as you respect the utf-8 encoding properly and refer to a Unicode font (like Arial Unicode MS) in your XSL-FO, and have that font available on the machine.. Regards, Geert Venkat wrote: Hello, I am Venkat and I am new user of Apache Cocoon. In one o

Unicode Support

2005-10-27 Thread Venkat
Hello, I am Venkat and I am new user of Apache Cocoon. In one of the projects we are planning to use Cocoon to automatically generate PDF files from XML input and XSL FO page layout  description. Can some one please confirm if this feature (XML to PDF conversion) of Apache Cocoon support gener

Re: [CForms/flow/ajax] Weird problem with ajax="true"

2005-10-27 Thread Thorsten Scherler
El vie, 14-10-2005 a las 16:25 +0200, Felix Röthenbacher escribió: > Hi Thorsten > > Thorsten Scherler wrote: > > Hey all, > > > > lenya just added the dynamic repeater example to the default pub. The > > problem with it is, that if we use ajax="true" and submit the form we > > lose the focus on

Re: [CForms/flow/ajax] Weird problem with ajax="true"

2005-10-27 Thread Thorsten Scherler
El jue, 27-10-2005 a las 12:58 +0200, Thorsten Scherler escribió: > Thx it seems recent commits have solved this issue. I was wrong, only the error is gone but still it is not working. :( salu2 > salu2 > > El lun, 17-10-2005 a las 19:15 +0200, Sylvain Wallez escribió: > > Thorsten Scherler wrot

AW: XML > XSLT > XML > XSLT > Output Cocoon2.1

2005-10-27 Thread Dominik Fettel
Yepp, that's it, works fine (and fast:) ) Cheers, Dominik -Ursprüngliche Nachricht- Von: Jason Johnston [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 27. Oktober 2005 17:57 An: users@cocoon.apache.org Betreff: Re: XML > XSLT > XML > XSLT > Output Cocoon2.1 If I understand, yo

Re: XML > XSLT > XML > XSLT > Output Cocoon2.1

2005-10-27 Thread Jason Johnston
If I understand, you are asking how can you take advantage of caching for part 1 (extraction of relevant data from a large XML stream) and have that cached piece reused by other pipelines. You should be able to do this by breaking out the first step into its own map:match, and using the cocoon:/ p

Re: XSP question

2005-10-27 Thread Alexandre Poitras
I got the answer. A user on the cocoon-french mailing list was kind enough to answer my question. Here it is, in case some other people need the answer (you have to use the standard util logic sheet) : http://apache.org/xsp" xmlns:util="http://apache.org/xsp/util/2.0">   2005/10/27, Alexandre P

Re: Existing XSP "not found" by Cocoon (only on Linux)

2005-10-27 Thread Jakob Fix
Alfred, On 27/10/05, Nathaniel Alfred <[EMAIL PROTECTED]> wrote: > You should get rid of the /../ and /./ in > file:/var/www/dynaprism/lib/exist/webapp/../../../webapp/./search/highlight.xsp. > It seems to confuse the package name generation once deducing it from the > verbatim path and from a

XML > XSLT > XML > XSLT > Output Cocoon2.1

2005-10-27 Thread Dominik Fettel
dear all, How do achieve this in sitemap.xmap: 1) I Have a BIG XML-File ( > 10MB) extract the relevant Data using a XSLT 2) This result should be cached and used by several other XSLT (fo2pdf, xhtml ...) I tried http://localhost/..."; /> but this seem not working. Do i make a general mista

XSP question

2005-10-27 Thread Alexandre Poitras
Hi! Here's a question to all the xsp experts out there. I just want to know if there is a feature similar in the XSP language to the jsp tag wich allow me to include a xsp page inside another one. It just not pratical to develop a custom logicsheet each time. Just imagine in jsp if you had to cre

CForms: Generating template with data from a database

2005-10-27 Thread cocoon.erard
hello, I'm writing an application which generates forms out of an xml-db. With the model this is no problem, with version 2.1.7 it's possible to set the Form.js directly the Document out of the database, it's not longer needed to work with xml files. Is there a way to do this with the template

RE: Navigate to anchor in generated page?

2005-10-27 Thread Gary Larsen
I finally got it! Thanks for the patience, Gary > -Original Message- > From: Upayavira [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 27, 2005 9:08 AM > To: users@cocoon.apache.org > Subject: Re: Navigate to anchor in generated page? > > Gary Larsen wrote: > > Thanks Andrew. I'm n

Re: Navigate to anchor in generated page?

2005-10-27 Thread Upayavira
Gary Larsen wrote: > Thanks Andrew. I'm not describing the problem well. > > - The url with #bookmark gets picked up in the sitemap and runs some > flowscript. > > - The flowscript prepares data, usually creating a document in eXist if it > needs to. When done, the flowscript does a SendPage to

RE: Existing XSP "not found" by Cocoon (only on Linux)

2005-10-27 Thread Nathaniel Alfred
You should get rid of the /../ and /./ in file:/var/www/dynaprism/lib/exist/webapp/../../../webapp/./search/highlight.xsp. It seems to confuse the package name generation once deducing it from the verbatim path and from a canonical form. If you look into the generated highligh_xsp.java file (I

RE: Navigate to anchor in generated page?

2005-10-27 Thread Gary Larsen
Thanks Andrew. I'm not describing the problem well. - The url with #bookmark gets picked up in the sitemap and runs some flowscript. - The flowscript prepares data, usually creating a document in eXist if it needs to. When done, the flowscript does a SendPage to an internal pipeline matcher - T

Existing XSP "not found" by Cocoon (only on Linux)

2005-10-27 Thread Jakob Fix
Hello, I'm having a weird problem porting a web application to Linux. The application itself consists of Java 1.5 / Jetty / Cocoon 2.1.7 / Exist XML database. It was developped in a Windows environment, but now we want to deploy it on a Linux server. Almost everything went very well, it's Java

Re: Synchronized pipeline or functions

2005-10-27 Thread Sylvain Wallez
Philippe Gassmann wrote: Sylvain Wallez wrote: Gianluca Morello wrote: Hi, I have a cocoon app with a pipeline that read (generator) and write (writesource) the some xml file. Because i have many concurrent requests i was wondering if is it possible to declare a pipeline as synchronized.

Re:

2005-10-27 Thread Sylvain Wallez
Upayavira wrote: Sylvain, I happened to be doing something similar at the time, so I looked at the code. Looking at: http://svn.apache.org/repos/asf/cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/validation/impl/JavaScriptValidator.java Method validate(Widget widget), I notice:

Re: [CForms/flow/ajax] Weird problem with ajax="true"

2005-10-27 Thread Thorsten Scherler
Thx it seems recent commits have solved this issue. salu2 El lun, 17-10-2005 a las 19:15 +0200, Sylvain Wallez escribió: > Thorsten Scherler wrote: > > Instead I get http://pastebin.com/393378 > java.lang.IllegalStateException. > > >>> The problem is that in > >>> > >>> .

Re: Synchronized pipeline or functions

2005-10-27 Thread Philippe Gassmann
Sylvain Wallez wrote: Gianluca Morello wrote: Hi, I have a cocoon app with a pipeline that read (generator) and write (writesource) the some xml file. Because i have many concurrent requests i was wondering if is it possible to declare a pipeline as synchronized. No you can't. You hav

Re: [HELP]Failure with Encoding

2005-10-27 Thread Marc Portier
Mikhial Usatchev wrote: > Hello, > > I tried doing my best to understand a problem in the Cocoon framework > connected with non-English encoding, but all's in vain. (Cocoon 2.1.7 > built under Windows 2000) > Whatever I wrote in the head of my origin XML document > or > or so, it always generat

Re:

2005-10-27 Thread Upayavira
Sylvain Wallez wrote: > Bruno Dumon wrote: > >> In the javascript validation (or in any validation for that matter), if >> you return false, you should also set a validation error on the widget >> to which the validator belongs, or a child/descendant widget of that >> widget (e.g. in case the vali

Re:

2005-10-27 Thread Sylvain Wallez
Bruno Dumon wrote: In the javascript validation (or in any validation for that matter), if you return false, you should also set a validation error on the widget to which the validator belongs, or a child/descendant widget of that widget (e.g. in case the validator belongs to a form or repeater).

Parameter passing and the authentication framework

2005-10-27 Thread Stewart, Gary
Hi there, I'm having some problems with parameter passing (or expression matching) and the authentication framework. Basically I have something that needs to be authenticated but also needs the request parameters available to the match so I have something like ... or using

Re:

2005-10-27 Thread Bruno Dumon
On Wed, 2005-10-26 at 13:31 -0400, Ben Anderson wrote: > Hi, > So I was trying to put javascript validation right into my form > definition, but ran into some funkiness (at least from my > perspective). > > First of all I realized that putting the javascript in a field doesn't > "invalidate" the f

Re: Multiple forms per page

2005-10-27 Thread Sylvain Wallez
werner wrote: Yes, it's true. The tabs don't work when you have another form on the page. This problem can be solved if you change the line in forms-lib.js: document.forms[0][state].value = idx; to document.getElementById(state).value=idx; Then there is another change in the xsl necessary, be