Re: Resizing the HTMLarea in CForms

2004-09-03 Thread Derek Hohls
Ugo I am not sure I understand where the code you have given goes... the code that is NOT working at the moment (i.e the htmlarea TEXT and BUTTON BAR does NOT resize when the parent div does) is: div id=formSectionTextArea ft:widget id=results fi:styling type=htmlarea rows=15

where is the repository?

2004-09-03 Thread gounis
hi some weeks ago i get no changes when i try to check out cocoon-2.1 from cvs CVSROOT: :pserver:[EMAIL PROTECTED]:/home/cvspublic (password authentication) cvs checkout -P cocoon-2.1 (in directory E:\Repository) but i get no changes is the cocoon repository moved? or is there any other

RE: where is the repository?

2004-09-03 Thread Jeroen Reijn
Stavros, as far as i know they started moving to subversion. Take a look at http://wiki.apache.org/cocoon/SubversionMigration Greetz, Jeroen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Posted At: Friday, September 03, 2004 9:03 AM Posted To: Cocoon User List

Re: DateInputModule, multiple formats

2004-09-03 Thread Andreas Hartmann
Huber, Daniel wrote: Hi there, I'd like to use different date formats with the org.apache.cocoon.components.modules.inputDateInputModule. There have been some requests on this topic in this list, but no real answers. As i saw in the source code, the name of the parameter is hard-coded. It must be

Forms styling: showing required OR validation symbols

2004-09-03 Thread Derek Hohls
The current forms stylesheets supplied with Cocoon work very well for most purposes... however, I now have a quite crowded form where space is at a premium. Ideally I would only like to have one hint symbol next to each field ie. if the field is required it will have a *. But if the user

Re: Forms styling: showing required OR validation symbols

2004-09-03 Thread Joerg Heinicke
On 03.09.2004 08:41, Derek Hohls wrote: The current forms stylesheets supplied with Cocoon work very well for most purposes... however, I now have a quite crowded form where space is at a premium. Ideally I would only like to have one hint symbol next to each field ie. if the field is required

Erase parameter in session

2004-09-03 Thread Lionel Crine
Hi, I'm using WriteDomSesstion and ReadDomSession to put some DOM into the session. I'd like to know how to remove the DOM from the session after reading it. Thanks Lionel -- Lionel CRINE Ingénieur Systèmes Documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel :

Re: Forms styling: showing required OR validation symbols

2004-09-03 Thread magic
To amend forms-field-styling.xsl: !-- required mark -- xsl:if test=@required='true' span class=forms-field-required*/span /xsl:if ---span class=forms-field-required/span - Original Message - From: Derek Hohls [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday,

Re: Forms styling: showing required OR validation symbols

2004-09-03 Thread Derek Hohls
Thanks Jorge - that works well... next question then is if there is any quick way to alert a user as to when there is an error anywhere in a form; a message could then be displayed alterting him to the fact (say, at the top of the form) and that he should look for field/s with the !! mark and make

Re: Forms styling: showing required OR validation symbols

2004-09-03 Thread Wolfgang Klaus
Derek Hohls wrote: Thanks Jorge - that works well... next question then is if there is any quick way to alert a user as to when there is an error anywhere in a form; a message could then be displayed alterting him to the fact (say, at the top of the form) and that he should look for field/s with

Re: Forms styling: showing required OR validation symbols

2004-09-03 Thread Derek Hohls
Wolfgang I tried this and, while the footer p showed up, the header did not ?? Also, is there any way to eitehr (a) disable the list of errors or (b) make them linkable to the fields they refer to on the form (using the # notation) Thanks Derek [EMAIL PROTECTED] 2004/09/03 01:48:11 PM

Customized failure messages for a CForm...

2004-09-03 Thread Derek Hohls
Two issues, which I think are related: 1. I have inserted a: fi:validation-errors headerpPlease correct errors! Look at fields marked with !!/p/header footerpSend your Form again./p/footer /fi:validation-errors at the start of the form; now when a field fails a validation (eg. required),

Re: Forms styling: showing required OR validation symbols

2004-09-03 Thread Wolfgang Klaus
Derek found this documentation: http://cocoon.apache.org/2.1/userdocs/forms/xslt.html#fi%3Avalidation-errors If you didn't add a header, the header will be automatically filled in. If you don't want the list of errors you have to change the xsl-stylsheet forms-field-styling.xsl. Look at

Re: Customized failure messages for a CForm...

2004-09-03 Thread Wolfgang Klaus
Derek you should check your configuration. In my configuration i get the message and when i click on the ! a popup window is opened and the Errormessage is displayed. The Messages must be declared in the sitemap.xml Just like this: map:transformers default=xalan map:transformer name=i18n

Re: Customized failure messages for a CForm...

2004-09-03 Thread Derek Hohls
Hmm... I have alreeady copied the messages directory (and the resources) under my application directory; in fact I have been using HTMLarea already. I have the : map:match pattern=resources/** map:read src={0}/ /map:match to enable the resources to work! Still no signs that

Upgrading Rhino-with-continuations to 1.5R5

2004-09-03 Thread Attila Szegedi
Hi folks, is anyone planning on syncing the Rhino-with-continuations codebase from 1.5R4pre to more current Rhino release, i.e. 1.5R5 (currently the latest 1.5 release)? If not, could any of its original authors give me pointers how to do it? I assume most of the base

Re: Customized failure messages for a CForm...

2004-09-03 Thread Joerg Heinicke
On 03.09.2004 14:30, Derek Hohls wrote: The following errors have been detected (marked with !): : general.field-required : general.field-required : general.field-required Please correct them and re-submit the form. BUT I need the messages to be in the format: field label : This field needs an

Writing files with cocoon

2004-09-03 Thread David Verdin
Hi everybody, I'm currently trying to write the result of a form filling to a file. I could understand how to handle this filling and to pass it to a sitemap. My problem is now to be able to write this to a file, created dynamically. The final aim is to update a Xindice database. I know

XSP Forms - Best Practice?

2004-09-03 Thread Thomas Zehetbauer
Hi, what is the current recommended practice for having a XSP output a HTML form showing the values of the last submission? This seems especially complicated for select/option groups. Is there any library/block for this yet? Tom -- T h o m a s Z e h e t b a u e r ( TZ251 ) PGP

Re: Writing files with cocoon

2004-09-03 Thread Rui Alberto L.
Hi David, you can do this in various ways, I'm presenting to simple options. Using velocity... See documentation/examples how to write the velocity template. Just checking examples you can solve your problem. sitemap.xmap map:match pattern=form_action map:generate type=velocity

read/write document to database exist

2004-09-03 Thread Andres Taborda
Some users can help me with examples read/write files xml to the database exist/xindice from cocoon. I are running cocoon 2.1.5 xmldb with Xindice and the examples but not understanding how to access the database. some can help me.

Cocoon doc bug: i18n transformer

2004-09-03 Thread Lars Huttar
Dear Cocoon maintainers, I think this is the place to submit a documentation bug report ... the page http://cocoon.apache.org/2.1/userdocs/transformers/i18n-transformer.html has a bunch of undesirably visible HTML markup in a table cell under the Info heading. It's hard to read. It looks like most

Re: Gnumeric xml (Excel)

2004-09-03 Thread Antonio Gallardo
[EMAIL PROTECTED] dijo: Hi all, i'm trying to generate excel-files with cocoon... I have written basic stylesheet that transforms xml-file to gnumeric xml. But i'm looking for tutorial, DTD, or schema to know which elements and attributes there are. Anyone worked with this before? Hi:

Re: CForms booleanfield validate problem

2004-09-03 Thread Antonio Gallardo
Patrick Verboom dijo: Hi Bart, It is a law thing. The user needs to agree before he may continue in the flow. So I wanted to validate the form and look if the check box was checked if not set an validate error message. The problem is that in the validate method of the form the boolean field

Re: Trouble with XMLDBTransformer

2004-09-03 Thread Luigi Bai
Any ideas? Luigi Bai wrote: I'm having a problem with XMLDBTransformer sending an xupdate to an XMLDB database. I'm pretty sure others are using this successfully, so I'm not sure what I'm doing wrong. I'm using a generator to output a document that looks like this (confirmed with

RE: WordML image to jpeg/gif via cocoon?

2004-09-03 Thread Lincoln Mitchell
I am trying this Simon but get the error: Failed to execute pipeline. org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.RuntimeException: java.lang.IllegalArgumentException: Width (0) and height (0) cannot be = 0 I placed a width and height on svg:svg and svg:image

RE: WordML image to jpeg/gif via cocoon?

2004-09-03 Thread Lincoln Mitchell
I downloaded the latest version (was using 2.1.4) and can now generate a JPEG. Was blind now I can see, JPEG's that is! Thanks a million! Linc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Writing files with cocoon

2004-09-03 Thread Lars Huttar
Another way is using the source-writing transformer. http://cocoon.apache.org/2.1/userdocs/transformers/sourcewriting-transformer.html We are using this successfully. I have not tried velocity/xmldb though so I can't say source-writing is better or worse. Lars -Original Message- From:

RE: Writing files with cocoon

2004-09-03 Thread Lars Huttar
-Original Message- From: Lars Huttar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:17 PM To: '[EMAIL PROTECTED]' Subject: RE: Writing files with cocoon Another way is using the source-writing transformer.

Re: Cocoon doc bug: i18n transformer

2004-09-03 Thread David Crossley
Lars Huttar wrote: Dear Cocoon maintainers, I think this is the place to submit a documentation bug report ... the page http://cocoon.apache.org/2.1/userdocs/transformers/i18n-transformer.html has a bunch of undesirably visible HTML markup in a table cell under the Info heading. It's hard to

Re: Problems with CForms

2004-09-03 Thread Johnson
Hi: I've the same problem too,I do some exam and found that's the daylight time problem in the date input in javascript 1.if you input a summer time,the hour will -1 automatically,so your input 1993-10-15,it must be 1993-10-15 0:00:00,be the system will -1 hour to 1993-10-14 23:00:00 2.if you

Re: finding the URL of the current Cocoon application?

2004-09-03 Thread Ralph Goers
At 9/3/2004 04:17 PM, you wrote: So... does anyone have a foolproof way to find the URI of the application (mount/gem)? Thanks, Lars I should think that the http servlet request would always have the valid request uri. I know how to get this from Java (its in the object model) but I'm not sure

Re: Cocoon doc bug: i18n transformer

2004-09-03 Thread Ralph Goers
At 9/3/2004 07:30 PM, you wrote: Lars Huttar wrote: Dear Cocoon maintainers, I think this is the place to submit a documentation bug report ... the page http://cocoon.apache.org/2.1/userdocs/transformers/i18n-transformer.html has a bunch of undesirably visible HTML markup in a table cell

help access database xml

2004-09-03 Thread Andres Taborda
hello, I didn't know, how should I Know for write/read file from cocoon to databases xindice. can help me with examples for read/write to the database xindice or exist. I are using cocoon 2.1.5 and not understanding the proccess for configuration and access to database. In the examples

Re: Cocoon doc bug: i18n transformer

2004-09-03 Thread David Crossley
Ralph Goers wrote: The documentation also doesn't reflect a patch I made some time ago to allow a catalog to span multiple locations. The Javadoc documents this feature. This automatically generated section of the documentation does not use the Javadoc as such. Rather it extracts certain

Re: Cocoon doc bug: i18n transformer

2004-09-03 Thread Ralph Goers
At 9/3/2004 09:35 PM, you wrote: Ralph Goers wrote: The documentation also doesn't reflect a patch I made some time ago to allow a catalog to span multiple locations. The Javadoc documents this feature. This automatically generated section of the documentation does not use the Javadoc as