Cocoon-2.1.X Tests Failure 11/22/04

2004-11-22 Thread Vadim Gritsenko
Automated Cocoon Unit tests failed! Full log file if this unit test run is available here: http://nagoya.apache.org/~vadim/cocoon-test-log-20041122.log Last messages from the log file: == [foreach] reader-mime-type.xml:39

Re: [CForms] aggregatefield on date for separate input of date and ti me - please help

2004-11-22 Thread Reinhard Poetz
[EMAIL PROTECTED] wrote: Guys, I want to build an aggregatefield to enter date and time in separated fields/widgets, but store them in 1 Date() variable. I got as far as a proper display of the current date and time in the appropriate fields, but on changing the time and pressing submit I get

DO NOT REPLY [Bug 23118] - [PATCH] Lucene SearchGenerator incorrectly counts previous-index

2004-11-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=23118. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

Re: Multiple forms on one page

2004-11-22 Thread Bruno Dumon
On Mon, 2004-11-22 at 11:12 +0100, Reinhard Poetz wrote: Upayavira wrote: Hi, I need to put two forms onto one page. Scenario: a homepage showing a selection of 'products', displayed as a repeater on a form, and a login form. These need to be separate HTML forms, so that

Re: 2.1.6 build failed on block javaflow with zip file source

2004-11-22 Thread Torsten Curdt
roy huang wrote: Hi,all: I download zip file source of 2.1.6, build on win/32 with java 1.4.2.Everything's fine but javaflow block.Errors in attachment.When I exclude javaflow block,the build is successful. Please check it,thanks. Roy Huang please check the bcel jar. do

RE: [CForms] aggregatefield on date for separate input of date an d ti me - please help

2004-11-22 Thread H . vanderLinden
Thanks for replying. According to the xReporter docs (http://new.cocoondev.org/xreporter/docs/core/ 91 ) following expression could work: SetTime(date, number, number, number) Yes I noticed after sending this mail. 2: how do I prevent the time widget from styled as a date field

Re: Multiple forms on one page

2004-11-22 Thread Reinhard Poetz
Bruno Dumon wrote: I think one problem is our flowscript API: var form = new Form(...); form.show(mypipeline, bizdata); This way you can only show one form a page. Maybe we can do somethink like var multiform = new Multiform({form1 : form1, form2 : form2); multiform.show(myMultiformPipeline,

Re: Multiple forms on one page

2004-11-22 Thread Bruno Dumon
On Mon, 2004-11-22 at 11:38 +0100, Reinhard Poetz wrote: Bruno Dumon wrote: I think one problem is our flowscript API: var form = new Form(...); form.show(mypipeline, bizdata); This way you can only show one form a page. Maybe we can do somethink like var multiform = new

Re: [CForms] aggregatefield on date for separate input of date an d ti me - please help

2004-11-22 Thread Reinhard Poetz
[EMAIL PROTECTED] wrote: Thanks for replying. According to the xReporter docs (http://new.cocoondev.org/xreporter/docs/core/ 91 ) following expression could work: SetTime(date, number, number, number) Yes I noticed after sending this mail. 2: how do I prevent the time widget from styled as a

RE: [CForms] aggregatefield on date for separate input of date an d time - please help

2004-11-22 Thread H . vanderLinden
How about validation of the time? What's your validation szenario? Nothing more than it should be a valid time in 24h format and seconds are not necessary. In this case I want to enter a date and time of an appointment. Since the date is one widget, I'd like the time widget also to

Re: Question and Suggessions about forms block in 2.1.6

2004-11-22 Thread Sylvain Wallez
roy huang wrote: Hi,all: in 2.1.6,Forms add widget state.I have test it yesterday and found some problems and questions. Questions: In V2 flowscript,I can set widget state: var name=form.lookupWidget(name); name.state=disabled; but in V1,I can get but set will

Re: Multiple forms on one page

2004-11-22 Thread oceatoon
Are there any docs on this? or use cases ? We have done a solution where we have one huge form model, and then the template is devide in multiple tabs ,It all works great but now we're trying to structure the validation system (freshly speaking) This MultiForms might be the solution to our

Re: Multiple forms on one page

2004-11-22 Thread Bruno Dumon
On Mon, 2004-11-22 at 15:32 +0100, oceatoon wrote: Are there any docs on this? Over here: http://cocoon.apache.org/2.1/userdocs/forms/templatetransformer.html or use cases ? I wouldn't know, I haven't ever had the need. Upayavira had one. We have done a solution where we have one huge form

Re: QueryBean in blocks.properties

2004-11-22 Thread Jeremy Quinn
My apologies, I will fix this. regards Jeremy On 19 Nov 2004, at 15:39, Reinhard Poetz wrote: The new QueryBeanBlock hasn't been added to blocks.properties. AFAIK this needs a new project in gump.xml and then there is an Ant task generating blocks.properties. Could someone knowing about the

Validating aggregated widgets

2004-11-22 Thread Reinhard Poetz
IIUC an aggregated widget is a combination of a field and container widget. If I add a validator, the aggregated value is validated and an error is added to the aggregated widget. But how can I display it? After the FormsTransformer, the aggregated widget element has been removed and only its

DO NOT REPLY [Bug 31887] - I18nTransformer: translation with param substitution

2004-11-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=31887. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

Re: Multiple forms on one page

2004-11-22 Thread Sylvain Wallez
oceatoon wrote: Are there any docs on this? or use cases ? We have done a solution where we have one huge form model, and then the template is devide in multiple tabs ,It all works great but now we're trying to structure the validation system (freshly speaking) This MultiForms might be the

[ANN] Daisy 1.1 release

2004-11-22 Thread Steven Noels
Zwijnaarde(*), Belgium, Oct 19th 2004 Daisy 1.1 released Outerthought is proud to announce the second release of Daisy, the Open Source CMS framework, shipping with a Wiki-on-steroids-like Cocoon CMS web application. Only a month after its initial release during the Cocoon GetTogether, Daisy

Re: Validating aggregated widgets

2004-11-22 Thread Reinhard Poetz
Reinhard Poetz wrote: IIUC an aggregated widget is a combination of a field and container widget. If I add a validator, the aggregated value is validated and an error is added to the aggregated widget. But how can I display it? After the FormsTransformer, the aggregated widget element has been

Re: 2.1.6 build failed on block javaflow with zip file source

2004-11-22 Thread
No other bcel jav but jakarta-bcel-20040329.jar,ship with the zip file format source. Roy Huang From: Torsten Curdt [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: 2.1.6 build failed on block javaflow with zip file source Date: Mon, 22 Nov 2004 11:00:25 +0100 roy

Re: Question and Suggessions about forms block in 2.1.6

2004-11-22 Thread
Using output state did solve my problem ii),if we can access/change widget's value through flowscript.But if invisible state just make widget *not visible*,the UI shouldn't throw exception .Under this condition user must encode in flowscript and jxTemplate to make invisible state work,it

Re: Multiple forms on one page

2004-11-22 Thread oceatoon
Sylvain Wallez wrote: oceatoon wrote: Are there any docs on this? or use cases ? We have done a solution where we have one huge form model, and then the template is devide in multiple tabs ,It all works great but now we're trying to structure the validation system (freshly speaking) This

Re: Multiple forms on one page

2004-11-22 Thread oceatoon
Bruno Dumon wrote: On Mon, 2004-11-22 at 15:32 +0100, oceatoon wrote: Are there any docs on this? Over here: http://cocoon.apache.org/2.1/userdocs/forms/templatetransformer.html Thx. or use cases ? I wouldn't know, I haven't ever had the need. Upayavira had one. ok We have done a

Re: Client side validation

2004-11-22 Thread Sylvain Wallez
[Moving a private email to dev@ as it's really where it should be discussed] Luca Garulli wrote: Hi, my customer want a minimal client-side validation for same fields. We are using CForms and seems to be lack of this feature. I'd like to have a single place where to describe validation rules: the

Ship generic generator with Cocoon?

2004-11-22 Thread Peter Hunsberger
Looking at our generators it seems to me that it shoudl be possible to build a general purpose generator that works for many data sources right out of the box. In Pseudo code it would look more or less like: private DataSource source = null; public void setup (SourceResolver res, Map om, String

Re: Release and updating the website

2004-11-22 Thread gounis
On Mon, 22 Nov 2004, David Crossley wrote: Upayavira wrote: I see you've fixed some of these on the wiki. Thanks. Also, the page refers to a default.properties file. I can't find such a file, nor can I find any reference to it in Cocoon's build target files. Am I supposed to use a

DO NOT REPLY [Bug 32348] New: - [PATCH] jpath.xml validation failed

2004-11-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32348. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 32348] - [PATCH] jpath.xml validation failed

2004-11-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32348. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 32348] - [PATCH] jpath.xml validation failed

2004-11-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32348. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

Re: Client side validation

2004-11-22 Thread oceatoon
Sylvain Wallez wrote: [Moving a private email to dev@ as it's really where it should be [discussed] Luca Garulli wrote: Hi, my customer want a minimal client-side validation for same fields. We are using CForms and seems to be lack of this feature. I'd like to have a single place where to

DO NOT REPLY [Bug 32348] - [PATCH] jpath.xml validation failed

2004-11-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32348. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

cocoon + jetty: webapp reload

2004-11-22 Thread Leszek Gawron
I want to place multiple webapps under one jetty container. Thing is after stopping a web application via jetty administration panel I am still not able to delete cocoon's log files. Is this an intended behaviour? If not is it jetty's or cocoon's fault for not closing log files? -- Leszek

Re: site update - please review

2004-11-22 Thread gounis
On Mon, 22 Nov 2004, David Crossley wrote: Upayavira wrote: David Crossley wrote: Upayavira wrote: Okay. My request was more to do with have I run Forrest right. I should have made that more clear. There are two aspects. * The person who ran the 'forrest' command would have

Re: 2.1.6 build failed on block javaflow with zip file source

2004-11-22 Thread Torsten Curdt
No other bcel jav but jakarta-bcel-20040329.jar,ship with the zip file format source. hm... please check again (e.g. by removing the shapshot jar) that's exactly what you get when you compile javaflow against bcel 5.1 cheers -- Torsten

Re: Client side validation

2004-11-22 Thread Luca Garulli
In theory we can have some JS script that can be usable in client AND server sides. If these scripts contains no dependencies with flowscript objects (cocoon, etc) and Java code we can deploy to both sides! However what I'd like to see is to reuse the validation rules in the form-definition.

Re: Validating aggregated widgets

2004-11-22 Thread Vadim Gritsenko
Reinhard Poetz wrote: Reinhard Poetz wrote: IIUC an aggregated widget is a combination of a field and container widget. If I add a validator, the aggregated value is validated and an error is added to the aggregated widget. But how can I display it? After the FormsTransformer, the aggregated

Re: Validating aggregated widgets

2004-11-22 Thread Reinhard Poetz
Vadim Gritsenko wrote: Reinhard Poetz wrote: Reinhard Poetz wrote: IIUC an aggregated widget is a combination of a field and container widget. If I add a validator, the aggregated value is validated and an error is added to the aggregated widget. But how can I display it? After the

Re: Client side validation

2004-11-22 Thread Sylvain Wallez
oceatoon wrote: Sylvain Wallez wrote: [Moving a private email to dev@ as it's really where it should be [discussed] Luca Garulli wrote: Hi, my customer want a minimal client-side validation for same fields. We are using CForms and seems to be lack of this feature. I'd like to have a single

Re: Client side validation

2004-11-22 Thread Sylvain Wallez
Luca Garulli wrote: In theory we can have some JS script that can be usable in client AND server sides. If these scripts contains no dependencies with flowscript objects (cocoon, etc) and Java code we can deploy to both sides! Considering that the object model are very different in the form and

Re: Client side validation

2004-11-22 Thread Ralph Goers
oceatoon said: Sorry to walk into post but this mailing list is amasing, answers come up simultaneously to my personnal questions, thx for reading my mind ;) I am exactly on this problem coz formy case Server side validations is a bit too heavy. I'd be glad to help if needed since our

Re: Multiple forms on one page

2004-11-22 Thread Glen Ezkovich
It seems to me that what we want are multiple forms on a page and what is being proposed is a way to have one big form that gets processed in pieces. To me the stumbling block seems to be in Forms.js. When we display a form using showForm the only form it knows about is its self. In order to

DO NOT REPLY [Bug 32336] - [Patch] status-code on serializer not expanding variables

2004-11-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32336. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

[RT] function sources

2004-11-22 Thread Miles Elam
A while back, Ugo brought up his idea for A Groovy Kind of Sitemap which met with some friction. On the one hand was the camp that felt that the sitemap/flowscript dichotomy was a case of overseparation of concerns. On the other was the camp that absolutely wanted to keep a general purpose

[SOLVED]Re: 2.1.6 build failed on block javaflow with zip file source

2004-11-22 Thread roy huang
I recheck all the lib,cocoon 2.1.6 change endorsed lib xalan.jar to xalan-2.6.1-dev-20041008T0304.jar.My jdk endorsed is still xalan-2.6.0.jar.Replace the xalan jar,everything's fine now. Thanks. Roy Huang - Original Message - From: Torsten Curdt [EMAIL PROTECTED] To: [EMAIL

[BUILD SYSTEM] New eclipse-customized-project task

2004-11-22 Thread Antonio Gallardo
Hi: I wrote a new task for the Cocoon build system. The new task build the eclipse project files only for the blocks included in [local.]blocks.properties. The new task also only include the optional libraries based on the user choosed blocks. The motivation was: my computer has only 768 MB of

Re: Release and updating the website

2004-11-22 Thread David Crossley
David Crossley wrote: Upayavira wrote: Also, when I did run Forrest, I really had to dig to find the generated pages, whereas I would have expected them to have been generated in place, i.e. into the place from which I'd commit them directly to SVN. We can change the location of where the

Re: [SOLVED]Re: 2.1.6 build failed on block javaflow with zip file source

2004-11-22 Thread Antonio Gallardo
roy huang dijo: I recheck all the lib,cocoon 2.1.6 change endorsed lib xalan.jar to xalan-2.6.1-dev-20041008T0304.jar.My jdk endorsed is still xalan-2.6.0.jar.Replace the xalan jar,everything's fine now. Thanks. What xalan version you have in jdk endorsed? Best Regards, Antonio

Fwd: Saab uses Cocoon

2004-11-22 Thread Bertrand Delacretaz
FYI, here's a good catch from Gregor: De: Gregor J. Rothfuss [EMAIL PROTECTED] Date: 23 novembre 2004 02:34:52 GMT+01:00 À: [EMAIL PROTECTED] Objet: Saab uses Cocoon i didnt know, because it was before my time: http://www.saab.com/index.xml seems to still run on cocoon 1.8 :) -- Gregor J. Rothfuss

Re: Client side validation

2004-11-22 Thread Bertrand Delacretaz
Le 22 nov. 04, à 23:44, Sylvain Wallez a écrit : ...So the idea now is that a validator produces an XML representation of itself, which could be a simple as it's definition translated to the fi: namespace ...It's then the job of the presentation XSLs to transform fi:range into something

Re: [SOLVED]Re: 2.1.6 build failed on block javaflow with zip file source

2004-11-22 Thread roy huang
It was xalan-2.6.0.jar,build will fail,replace with xalan-2.6.1-dev-20041008T0304.jar,it's fine. Roy Huang - Original Message - From: Antonio Gallardo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 12:42 PM Subject: Re: [SOLVED]Re: 2.1.6 build failed on block

Re: Release and updating the website

2004-11-22 Thread Bertrand Delacretaz
Le 23 nov. 04, à 06:42, David Crossley a écrit : David Crossley wrote: Upayavira wrote: Also, when I did run Forrest, I really had to dig to find the generated pages, whereas I would have expected them to have been generated in place, i.e. into the place from which I'd commit them directly to

DO NOT REPLY [Bug 32263] - [PATCH] contribution lucene block

2004-11-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32263. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.