RE: Simple database app with Forms/Flow ?

2004-05-25 Thread Derek Hohls
Look forward to seeing it soon [EMAIL PROTECTED] 2004/05/24 09:19:30 AM I'll post it on the wiki one of these days Bart -Original Message- From: Flavio Palumbo [mailto:[EMAIL PROTECTED] Sent: donderdag 20 mei 2004 15:45 To: [EMAIL PROTECTED] Subject: RE: Simple database app with

Re: InputSource + parameters encoding

2004-05-25 Thread defe
Quoting Joerg Heinicke [EMAIL PROTECTED]: On 24.05.2004 15:22, [EMAIL PROTECTED] wrote: Hi, how do i encode the parameters in this case : map:read src=http://foo.com/?p1=v1p2=v2pN=vN/ It's not related to Cocoon, but it is an XML FAQ: ampersand must be escaped by using the

Re: How can I remove line feed in my XML output

2004-05-25 Thread [EMAIL PROTECTED]
MAHE Vincent FTRD/DIH/REN wrote: Hello, I have a pipeline which produces XML output with Cocoon. I would like to remove useless line feed in the output stream in order to have a beautiful indented XML file. How is it possible ? For instance, when I have this : toto titiHello World/titi /toto I

[ANN] Apache Cocoon 2.1.5 Released

2004-05-25 Thread Carsten Ziegeler
Apache Cocoon 2.1.5 Released The Apache Cocoon Community is proud to announce the new release of Apache Cocoon. This release is licensed under the Apache License, Version 2.0. Apache Cocoon is a web development framework built around the concept of

Re: Problem with repeater binding in CForm

2004-05-25 Thread Marc Portier
Neil Killick wrote: Marc, The code you wrote is exactly what I am doing. The Order bean does have a setDeliveries method (there would be compile errors if it didn't). It's a baffling one! in cases like this, I just fire up a remote debugging session and step through things -- the stack trace on

RE : How can I remove line feed in my XML output

2004-05-25 Thread MAHE Vincent FTRD/DIH/REN
Thanks to all of you. I've put the following XSL stylesheet in my pipeline in order to remove namespaces (XSP, I18N, ...) and useless line feed and it works fine except that I lose the indentation of the tags. ?xml version=1.0 encoding=ISO-8859-1? xsl:stylesheet version=1.0

coplets and session attributes (portal)

2004-05-25 Thread Surjan Singh
Hello, Can anyone tell me if this is true or not: do coplets have their own private / local session space? In one coplet I have set a session attribute, and I'm trying to retrieve it from another coplet, but the value is not set. Why might this be? Thanks, Surj

flowscript and reloading - losing information

2004-05-25 Thread Joose Vettenranta
Hi, just noticed that if I reload a page which has got information from previous page, that information is lost. Like something like this: do { cocoon.sendPageAndWait (firstpage); firstname=cocoon.request.get (fname); } while (firstname==);

RE: [ANN] Apache Cocoon 2.1.5 Released

2004-05-25 Thread Carsten Ziegeler
It is already available on the mirrors. Carsten -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 11:23 AM To: [EMAIL PROTECTED] Subject: Re: [ANN] Apache Cocoon 2.1.5 Released Thanks Carsten - when will this release be available on the

RE: [ANN] Apache Cocoon 2.1.5 Released

2004-05-25 Thread Derek Hohls
Strange, I get file not found errors on my local mirrors -is there somewhere to see how often they get updated maybe they are some hours/days behind the rest of the world? Derek [EMAIL PROTECTED] 2004/05/25 11:29:51 AM It is already available on the mirrors. Carsten -Original

RE: [ANN] Apache Cocoon 2.1.5 Released

2004-05-25 Thread Carmona Perez, David
Thanks for the announcement. I see gladly Cocoon is very alive. But wouldn't be interesting to update http://cocoon.apache.org/2.1/changes.html? The latest version referenced is 2.1.3 !! http://cocoon.apache.org/news/ isn't still updated either. What's new in the new version? -Mensaje

Encryption of serialized data

2004-05-25 Thread Derek Hohls
Is anyone aware of any mechanism that will allow the encryption of all data coming out any Cocoon pipeline (ie in serialized form, whatever that might be) *before* it gets handled by the servlet container and/or wbe server? Thanks Derek -- This message has been scanned for viruses and dangerous

RE: [ANN] Apache Cocoon 2.1.5 Released

2004-05-25 Thread David Crossley
Derek Hohls wrote: Strange, I get file not found errors on my local mirrors -is there somewhere to see how often they get updated maybe they are some hours/days behind the rest of the world? This might help ... http://www.apache.org/mirrors/ --David

Session handling

2004-05-25 Thread Oro smith
Does anyone know how the user id of the current user who has logged in can be obtained? I need this to fill the 'to' address field when replying to a mail. regds, Smith - Still single? Click here to find the perfect match.

RE: [ANN] Apache Cocoon 2.1.5 Released

2004-05-25 Thread Derek Hohls
Thanks - I see our local sites are 1 to 3 days behind... late as usual! Derek [EMAIL PROTECTED] 2004/05/25 12:49:34 PM Derek Hohls wrote: Strange, I get file not found errors on my local mirrors -is there somewhere to see how often they get updated maybe they are some hours/days

RE: Encryption of serialized data

2004-05-25 Thread Carmona Perez, David
Use the HTTPS protocol -Mensaje original- De: Derek Hohls [mailto:[EMAIL PROTECTED] Enviado el: martes, 25 de mayo de 2004 12:42 Para: [EMAIL PROTECTED] Asunto: Encryption of serialized data Is anyone aware of any mechanism that will allow the encryption of all data coming out

RE: Encryption of serialized data

2004-05-25 Thread Derek Hohls
Do you mean, using SSL ? [EMAIL PROTECTED] 2004/05/25 01:23:16 PM Use the HTTPS protocol -Mensaje original- De: Derek Hohls [mailto:[EMAIL PROTECTED] Enviado el: martes, 25 de mayo de 2004 12:42 Para: [EMAIL PROTECTED] Asunto: Encryption of serialized data Is anyone aware

XSP with xsl

2004-05-25 Thread Márcio Ferreira
Hi, I need to test in xsp file if something happens in xml passed in pipeline, what i need is like this: ?xml version=1.0? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:action=http://apache.org/cocoon/action/1.0;

Re: how to do form custom validators

2004-05-25 Thread Vadim Gritsenko
Johnson wrote: I see the instruction *) CForms: Remove custom flow level forms validators. [VG] how to to custom validators now? See fd:validation tags in: http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/forms/samples/forms/form1.xml?rev=1.7view=auto PS Please avoid cross posting.

bug for cocoon 2.1.5

2004-05-25 Thread Johnson
Hi! I use IE 6 to try 2.1.5,I found all the step by step biding had the same error,object not found,I enter the trace found the prog stop at form action="" method="POST" I think it may be forms_onsubmit() not found Best Regards Johnson

RE: XSP with xsl

2004-05-25 Thread Carmona Perez, David
Perhaps you need to use XSLT instead of XSP. -Mensaje original- De: Márcio Ferreira [mailto:[EMAIL PROTECTED] Enviado el: martes, 25 de mayo de 2004 14:13 Para: [EMAIL PROTECTED] Asunto: XSP with xsl Hi, I need to test in xsp file if something happens in xml passed in

Error compiling cocoon 2.1.5

2004-05-25 Thread Arcadio Pando Cao
Hello, I've tried to compile cocoon 2.1.5 (j2sdk 1.4.2_03) and I got this error: C:\Documents and Settings\Download\cocoon-2.1.5 \src\blocks\portal\java\org\apache\cocoon\portal\transformation\ProxyTransformer.java:428: ')' expected if (begin! -1) { ^ 1 error

Obtaining the Session in a Transformer

2004-05-25 Thread Matt Walter
Hi, Im new to Cocoon; so far I like it quite a bit. Currently Im writing my own Transformer and want to know if there was a way I can access the users Session within the Transformer. Can it be done? If so, how? Thanks in advance, Matt

Re: Error compiling cocoon 2.1.5

2004-05-25 Thread Ugo Cei
Arcadio Pando Cao wrote: Hello, I've tried to compile cocoon 2.1.5 (j2sdk 1.4.2_03) and I got this error: C:\Documents and Settings\Download\cocoon-2.1.5 \src\blocks\portal\java\org\apache\cocoon\portal\transformation\ProxyTransformer.java:428: ')' expected if (begin! -1) {

Re: Obtaining the Session in a Transformer

2004-05-25 Thread Jorg Heymans
1) Override setup() in your transformer public void setup( SourceResolver resolver, Map objectModel, String src, Parameters par) throws ProcessingException, SAXException, IOException { 2) Then something like Request request =

Re: Obtaining the Session in a Transformer

2004-05-25 Thread Tony Butterfield
On Tue, 2004-05-25 at 14:58, Matt Walter wrote: Hi, Im new to Cocoon; so far I like it quite a bit. Currently Im writing my own Transformer and want to know if there was a way I can access the users Session within the Transformer. Can it be done? If so, how? Yes it can, take a look at the

Database Isolation Level

2004-05-25 Thread Anna Bikkina
Hi, I am using cocoon's connection pool to make connections to my informix database. I think the connection cocoon is making is trying to lock rows in the database. In my application I have only reads no writes so I want cocoon to make dirty reads instead. Is there a place where I can set

REPEATER

2004-05-25 Thread Bartosz Zgodzinski
I want to make 5 (at the begining) booleanfields. So I use a repeater. fd:repeater id=stan initial-size=5 fd:labelrepeater/fd:label fd:widgets fd:booleanfield id=specyfikacja fd:labelSpecyfikacja/fd:label /fd:booleanfield /fd:widgets /fd:repeater But i want to place a label

conditional display of second selection-list

2004-05-25 Thread baskar.ganesh
Title: Message I want to display a selection-list-B in a cocoon form on the submit of another selection-list-A.Initially only selection-list-A is visible on the page. fi:styling submit-on-change="true"/ goes to :- selection-list item value="ABC" /item value="DEF"/item

RE: Session handling

2004-05-25 Thread Lars Huttar
-Original Message- From: Oro smith Sent: Tuesday, May 25, 2004 5:10 AM To: [EMAIL PROTECTED] Subject: Session handling Does anyone know how the user id of the current user who has logged in can be obtained? I need this to fill the 'to' address field when replying to a mail.

large xml's in cocoon

2004-05-25 Thread Anna Bikkina
Hi, I have a xml file that contains database rows. If the number of rows are greater than 5000 then cocoon fails to tranform them to html and display them. It gives a blank page with no errors. Has anyone experienced this before? Is there a way I can make cocoon perform better with big xml.?

Re: large xml's in cocoon

2004-05-25 Thread Bertrand Delacretaz
Le 25 mai 04, à 20:57, Anna Bikkina a écrit : ...I have a xml file that contains database rows. If the number of rows are greater than 5000 then cocoon fails to tranform them to html and display them. It gives a blank page with no errors... Probably an OutOfMemoryError, did you check the console

Re: REPEATER

2004-05-25 Thread Marc Portier
this sounds like a multi-value field with selection-list and styling set to 'checkbox' would better serve your needs -marc= Bartosz Zgodzinski wrote: I want to make 5 (at the begining) booleanfields. So I use a repeater. fd:repeater id=stan initial-size=5 fd:labelrepeater/fd:label

Re: REPEATER

2004-05-25 Thread Bartosz Zgodzinski
I's sorry but I don't undurstand what you are saying. I made a multivalue field: fd:multivaluefield id=multi fd:labelmul/fd:label fd:datatype base=string /fd:datatype fd:selection-list fd:item value=1/ fd:item value=2/ fd:item value=3 fd:labelthree/fd:label /fd:item

Re: REPEATER

2004-05-25 Thread Joerg Heinicke
On 25.05.2004 22:31, Bartosz Zgodzinski wrote: I's sorry but I don't undurstand what you are saying. I made a multivalue field: fd:multivaluefield id=multi fd:labelmul/fd:label fd:datatype base=string /fd:datatype fd:selection-list fd:item value=1/ fd:item value=2/ fd:item

Re: REPEATER

2004-05-25 Thread Marc Portier
Bartosz Zgodzinski wrote: I's sorry but I don't undurstand what you are saying. I made a multivalue field: fd:multivaluefield id=multi fd:labelmul/fd:label fd:datatype base=string /fd:datatype fd:selection-list fd:item value=1/ fd:item value=2/ fd:item value=3

C2.1.5 - build.sh bug

2004-05-25 Thread Christopher Painter-Wakefield
There is a bug in the build.sh build script. Sorry if this has been covered before; this is my first build of a 2.1.x system. The build.sh uses /bin/sh, which on Solaris and other traditional *nix is typically Bourne shell. The build.sh is not compatible with Bourne shell, however. I

Re: how to do form custom validators

2004-05-25 Thread Benoit Deshaies
I looked at the sample you posted Vadim. I have a question and a comment regarding validation using fd:javascript. In those JS snippets, can you access the cocoon object (like session) and can you load your own Java classes (Packages.com.xyz.Object)? And my comment is this: for simple forms,

Re: how to do form custom validators

2004-05-25 Thread Joerg Heinicke
On 26.05.2004 00:53, Benoit Deshaies wrote: I looked at the sample you posted Vadim. I have a question and a comment regarding validation using fd:javascript. In those JS snippets, can you access the cocoon object (like session) and can you load your own Java classes (Packages.com.xyz.Object)? And

Including external .xconf file in cocoon.xconf

2004-05-25 Thread Alex Romayev
Hi, Is there a way to have an external .xconf file included in cocoon.xconf, where I would define my own avalon components? I remember seeing somewhere that it was possible, but couldn't find the answer anywhere. Thanks, -Alex

RE: view file outside cocoon directory

2004-05-25 Thread VENKATESAN, PADMANABAN (SBCSI)
Hi, Is there a way to view a file outside cocoon directory. For e.g.. I have directory structure for cocoon as /opt/iplanet/servers/cocoon/. And I need to view a file outside cocoon directory. All I have is directory name and file name. How do I get full path dynamically. Is that possible

RE: view file outside cocoon directory

2004-05-25 Thread David Crossley
VENKATESAN, PADMANABAN (SBCSI) wrote: Hi, Is there a way to view a file outside cocoon directory. For e.g.. I have directory structure for cocoon as /opt/iplanet/servers/cocoon/. And I need to view a file outside cocoon directory. All I have is directory name and file name. How do I

Re: Including external .xconf file in cocoon.xconf

2004-05-25 Thread roy huang
cocoon version=2.1 user-roles=/WEB-INF/yourrolefile.xconf Roy Huang - Original Message - From: Alex Romayev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 7:53 AM Subject: Including external .xconf file in cocoon.xconf Hi, Is there a way to have an external

imported stylesheets

2004-05-25 Thread Nanda
Does cocoon 2.1.x automatically reload the stylesheets (both main and the ones imported in them) when they are modified? I remember there was a problem with Cocoon 1.8.2 where changes to imported stylesheets did not take effect until the stylesheets that import them are manually touched. If