CForms: Is it possible to populate the the drop down list dynamically?

2004-09-04 Thread Syama Thota
Hi, I have a form with three drop down lists (list1, list2, list3), the contents in list2 are populated depending on the list1 selection, can it be done in Cocoon CForms? Here is an example: Say list1 is list of countries and list2 is list of states for the selected country. So only On list1

Re: Cocoon doc bug: i18n transformer

2004-09-04 Thread David Crossley
David Crossley 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 under

Re: Cocoon doc bug: i18n transformer

2004-09-04 Thread David Crossley
Ralph Goers wrote: David Crossley 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

Re: CForms: Is it possible to populate the the drop down list dynamically?

2004-09-04 Thread Jens Maukisch
Hi, I have a form with three drop down lists (list1, list2, list3), the contents in list2 are populated depending on the list1 selection, can it be done in Cocoon CForms? Have a look at the Carselector sample (http://localhost:/samples/blocks/forms/carselector) hth -- * best regards *

Re: Problems with CForms

2004-09-04 Thread Jakub Kaniewski
Uz.ytkownik Johnson napisa?: 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

Re: CForms validation integers

2004-09-04 Thread Karel Vervaeke
I have no idea why 1A is a valid number, but maybe you could work around it by including a regexp validator fd:validation fd:regexp pattern=[0-9]* fd:failmessageNumbers only please!/fd:failmessage /fd:regexp /fd:validation Greetings, Karel defe wrote: hi, How can i simply make sure a user

Re: Problems with CForms

2004-09-04 Thread Johnson
Sorry! It not a error for single file,checking now I'm try to add sometime in client or server side to avoid it. It's just the mismatch the system treat the inputed data as a daylight saving time data,and auto - 1 hour. so If you can disable the system daylight saving time, will ok. or add 1 hour

How to get context path in JX template?

2004-09-04 Thread David Lu
Hi All, I'm trying to get the context path in a JX template, to do something like this: img src=${cocoon.request.contextPath}/images/logo.gif/ However, it appears that the cocoon.request object does not have contextPath: http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html I think this

server side redirect in action

2004-09-04 Thread Stefan Groschupf
Hi cocoon community, I'm new to cocoon and need was searching a the documentation and all mailing list archives but didnt found any entry point to solve my solution. May I use a wrong vocabulary to search for the solution. I have a action that extends ServiceableAction. I wish to do a server

RE: help with access databases xml

2004-09-04 Thread Lars Huttar
I'm sorry, but I haven't used xindice. Did you look at the page http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/transformation/XMLDBTransformer.html ? It has some examples, though I'm not sure they're what you need. Lars -Original Message- From: Andres Taborda [mailto:[EMAIL

RE: finding the URL of the current Cocoon application?

2004-09-04 Thread Lars Huttar
Ralph Goers wrote: 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)? 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

RE: finding the URL of the current Cocoon application?

2004-09-04 Thread Lars Huttar
I wrote: Ralph Goers wrote: 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)? I should think that the http servlet request would always have the valid request uri. I know how to get this from

Re: Problems with CForms

2004-09-04 Thread Jakub Kaniewski
I investigated with those convertors I mentioned before and I discovered that this wrong conversion is caused by IBM ICU4J classes. This is the way to solve the problem 1) Delete /WEB-INF/lib/icu4j.jar 2) Download most recent version of this library from

Re: Writing files with cocoon

2004-09-04 Thread Upayavira
David Verdin wrote: 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

RE: WordML image to jpeg/gif via cocoon?

2004-09-04 Thread Lincoln Mitchell
I got a jpeg to appear but not given the $image param. On trying this I get a blank jpeg 500/500. XSL: ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:w=http://schemas.microsoft.com/office/word/2003/wordml;

RE: finding the URL of the current Cocoon application?

2004-09-04 Thread Ralph Goers
At 9/4/2004 09:08 AM, you wrote: Anyway, Ralph, I would be happy to hear from you how to get the http servlet request from Java. Especially if it's different from {request:servletPath} and {request:requestURI}, both of which return the outer URI. Thanks, Lars If real path is what I think it is it

Re: Cocoon doc bug: i18n transformer

2004-09-04 Thread David Crossley
Ralph Goers wrote: David Crossley wrote: Are you implying that someone should send a patch, or that you have already supplied one when you added the span functionality which was not properly added. I'm having a hard time understanding that sentence. I sent the patch for the code via

Re: Cocoon doc bug: i18n transformer

2004-09-04 Thread Ralph Goers
At 9/4/2004 05:58 PM, you wrote: All code contributions should be documented by the originator. They know best how to describe it. You have the source code ... The Javadoc comments in src/java/org/apache/cocoon/transformation/I18nTransformer.java will end up in the apidoc:

Re: Problems with CForms

2004-09-04 Thread Johnson
tks would you tell the cocoon bugzilla about this to solve it. best regards johnson - Original Message - From: Jakub Kaniewski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 05, 2004 1:03 AM Subject: Re: Problems with CForms I investigated with those convertors I