Really urgent - Configuration problem 2.1.5.1 - Element.getLocalName() - NoSuchMethod Error

2004-08-19 Thread laurent_rorive
- Forwarded by Laurent Rorive/MARINEPOWER on 19/08/2004 09:16 - [EMAIL PROTECTED] 13/08/2004 18:40 Please respond to users To: [EMAIL PROTECTED] cc: Subject: Configuration problem 2.1.5.1 - Element.getLocalName() - NoSuchMethod Error Dear All, I

Configuration problem 2.1.5.1 - Element.getLocalName() - NoSuchMethod Error

2004-08-13 Thread laurent_rorive
Dear All, I download the latest version , and test it everything is fine. More precisely I test the forms blok with Jetty and all is OK Now I'm busy with the upgrade of my own project . I work with Eclipse 3.0 , JDK1.4.2 , Tomcat 5.0.18 I copy the jars , I change all my woody forms to forms

Lucene Question

2004-05-28 Thread laurent_rorive
Dear All , I'd like to make a search tool based on cocoon, I think that the best way is to use Lucene. At first is this true ? I check the sample module and it seems to work so I will inspire myself from this. I'm still having a question : How is the index refresh ? Do I have to use CRON ?

Re: Lucene Question

2004-05-28 Thread laurent_rorive
Perhaps a bit young technology ? Antonio Gallardo [EMAIL PROTECTED] 28/05/2004 14:18 Please respond to users To: [EMAIL PROTECTED] cc: Subject: Re: Lucene Question [EMAIL PROTECTED] dijo: How is the index refresh ? Do I have to use CRON ? Why not? Best

Re: ? Best practice: Questionnair ?

2004-05-14 Thread laurent_rorive
hi ! For formulaire, you have to use Cocoon Forms or Woody. You can imagine to split your questionnaire in multiple pages and let cocoon handle the flow via a Flowscript that will control by example that the user follows step1 step2 step 3 or better step 1 then if answer =A step1.1 else

Re: How to assign Cforms input field's width

2004-05-14 Thread laurent_rorive
Simply add in your template wt:widget id=field_id wi:styling width=100 /wt:widget or wt:widget id=field_id wi:styling style=width:100px /wt:widget or better wt:widget id=field_id wi:styling class=fieldclass /wt:widget and in a .css : fieldclass { width:100px } Hope it could help

Re: Conditional replace / reinsert with SourceWritingTransformer

2004-05-14 Thread laurent_rorive
Hi , I think that you can easily do that with a simple XSL Transformer and not a SourceWritingTransformer Generate your XML Pass it to XSL transformer (in your XSL you will do some xsl:if test=b/@flag='true' ... ) Serialize it Hope it could help Laurent Stephanie Zohner [EMAIL

Upload Widget and multiple user

2004-05-12 Thread laurent_rorive
Dear Members, Does anyone know what happen if 2 user simultaneously upload a file called by example : blabla.txt but with a different content What will happen in my flowscript ? Can I be sure that the correct file will follow the correct user ? Thx for the info Laurent

Re: Displaying XML document as it is ??

2004-05-12 Thread laurent_rorive
Or serialize it with xml ... map:match pattern=get-xml map:generate src=""> map:serialize type=xml/ /map:match [EMAIL PROTECTED] 11/05/2004 21:11 Please respond to users To: [EMAIL

Re: Woody + Upload Widget

2004-05-06 Thread laurent_rorive
Thx ! I worked with cocoon 2.1.3 and in this version it fails. I also installed 2.1.4 and effectively the sample works But when I couple this with my simple woody application . Actually no way. There is a missing doc on this ! Is there someone who has doc on it or url Laurent

Re: Problems with uploading files (woody)

2004-05-06 Thread laurent_rorive
No ! but it still doesn't work I have to say that I changed my release from 2.1.3 to 2.1.4 and that the woody upload sample works So it must be a configuration ! I will investigate Thx Marc Portier [EMAIL PROTECTED] 06/05/2004 07:37 Please respond to users To: [EMAIL

Woody + Upload Widget

2004-05-05 Thread laurent_rorive
Dear Members, Is there some one who has experience with it. If yes , could you send me a definition , a template , a flow and perhaps an action sample Thanks for your help ! Laurent

Re: Trying to get a selectionlist label into a binding

2004-05-05 Thread laurent_rorive
Perhaps an idea can be to create a value that is composed from the label and the value then parse it in the binding action Laurent

Re: Problems with uploading files (woody)

2004-05-05 Thread laurent_rorive
Same problem ? Any news ? Perhaps check on the CVS or on the new version Perhaps also included in the new CocoonForms Laurent Mariusz Wojcik [EMAIL PROTECTED] 02/05/2004 15:38 Please respond to users To: [EMAIL PROTECTED] cc: Subject: Problems with uploading

What is best or more performant (voting)

2004-05-05 Thread laurent_rorive
Dear Members, Base on your experience what is best [ ] Jetty [ ] Tomcat [ ] Other (if yes what) . Thx for your vote

Re: Dynamically changing labels, was Re: Woody + FlowScript : documentation on model

2004-04-29 Thread laurent_rorive
I resolved the problem by using XSP to generate my form template. Based on the request or session attributes I can adapt the template to my need ! Thx for your comments Laurent Bruno Dumon [EMAIL PROTECTED] 28/04/2004 20:01 Please respond to users To: [EMAIL PROTECTED]

Comparison Axkit and Cocoon ?

2004-04-29 Thread laurent_rorive
Dear members, While browsing, I came on this project also supported by Apache ? http://axkit.org/ This is another XML publishing framework Is there someone who compare it ? What is best ? Why is apache supporting both project ? (I think that it is better to centralize effort on 1 framework

Woody - Submit widget - ConfirmationBox

2004-04-29 Thread laurent_rorive
Dear All, Is there a way with a submit widget or action widget to ask on the client side a confirmation and execute the action only if the user reply Yes Ex : [ Delete ] == when user click : Are you sure you want to delete ? == If yes call Flow Script ==

Re: how to pass XSL param to stylesheet from sitemap

2004-04-29 Thread laurent_rorive
Here is what come from the simple installation In the Site map : map:transform src="">context://stylesheets/system/error2html.xslt map:parameter name=contextPath value={request:contextPath}/ map:parameter name=pageTitle value=Resource not

How to do that with XSP ?

2004-04-29 Thread laurent_rorive
Dear All, How can I do that in XSP : input type=button name=but_delete class=button id=but_delete xsp:attribute name=value i18n:text key=blablaThis is what I want to translate/i18n:text /xsp:attribute /input ??? I

Re: Dynamically changing labels, was Re: Woody + FlowScript : documentation on model

2004-04-28 Thread laurent_rorive
I think that now this is a widget type output ? Bruno Dumon [EMAIL PROTECTED] 27/04/2004 18:50 Please respond to users To: [EMAIL PROTECTED] cc: Subject: Re: Dynamically changing labels, was Re: Woody + FlowScript :documentation on model On Tue, 2004-04-27

Re: newbie question: Woody Binding help

2004-04-28 Thread laurent_rorive
You have to change the namespace of the generate wd:selection-list Here is how I do it ( via an XSP) xsp:content wd:selection-list xmlns:wd=http://apache.org/cocoon/woody/definition/1.0 xmlns:i18n=http://apache.org/cocoon/i18n/2.1 Hope it can help Laurent Billie [EMAIL PROTECTED]

Re: What is best ? Woody , JXForms, Cocoon Forms ???

2004-04-28 Thread laurent_rorive
Thx Olivier Billard [EMAIL PROTECTED] Sent by: news [EMAIL PROTECTED] 28/04/2004 09:31 Please respond to users To: [EMAIL PROTECTED] cc: Subject: Re: What is best ? Woody , JXForms, Cocoon Forms ??? [EMAIL PROTECTED] wrote: Could you provide me some sample ?

Woody + FlowScript : documentation on model

2004-04-27 Thread laurent_rorive
Dear All, I'm looking for some documentation on the object model returned in the flowscript when doing... form.showForm(new-display-pipeline/login); var model = form.getModel(); We can of course retrieve the widget, but can we change the label of the widget, the key of the i18n of the label,

What is best : Woody , Cocoon Forms or JXForms ?

2004-04-27 Thread laurent_rorive
Dear All, I'm actually a bit confused about all those Technology !!! What is best : Woody , Cocoon Forms or JX Forms. Further more , on internet I always retrieve different ways for the Form handling with Flowscript ... Is there a clear documentation that explain what must be used , what

What is best : Woody , Cocoon Forms or JXForms ?

2004-04-27 Thread laurent_rorive
Dear All, I'm actually a bit confused about all those Technology !!! What is best : Woody , Cocoon Forms or JX Forms. Further more , on internet I always retrieve different ways for the Form handling with Flowscript ... Is there a clear documentation that explain what must be used , what

Re: What is best ? Woody , JXForms, Cocoon Forms ???

2004-04-27 Thread laurent_rorive
Could you provide me some sample ? Thx

Re: Cocoon FlowScript + woody : change styling via javascript

2004-04-27 Thread laurent_rorive
Dear Bruno, Thanks for the info In fact I'm looking for a solution to display a hidden field when some conditions are met. By example, in my flowscript , I check some value then I discover an error. At this moment I will change the widget message and return the form to the user with his data.

Re: What is best ? Woody , JXForms, Cocoon Forms ???

2004-04-27 Thread laurent_rorive
Thx could you provide me urls with docs Antonio Gallardo [EMAIL PROTECTED] 27/04/2004 18:13 Please respond to users To: [EMAIL PROTECTED] cc: Subject: Re: What is best ? Woody , JXForms, Cocoon Forms ??? [EMAIL PROTECTED] dijo: Dear All, I'm actually a bit

Re: Dynamically changing labels, was Re: Woody + FlowScript : documentation on model

2004-04-27 Thread laurent_rorive
Dear Tim , I also think about it but my problem is that I'm in an international environment and that I use i18n to provide message So what I want is changing an i18n:text key=... with the key I want. Is it possible with widget output ? Tim Larson [EMAIL PROTECTED] 27/04/2004 18:32 Please

Re: Passing parameters to aggregation parts

2004-04-23 Thread laurent_rorive
Here is what I use : xsp:logic String paramname = parameters.getParameter(PARAM_NAME, -DEFAULT-); /xsp:logic Other used the xsp:util but sometimes encounter problems Laurent Carlos Dias [EMAIL PROTECTED] 22/04/2004 19:23 Please respond to users To: [EMAIL PROTECTED]

Re: Transofrmer from Invalid HTML to XHTML or XML

2004-04-23 Thread laurent_rorive
Thanks for this , I will try. To explain the context : I have a woody form, when completed , I send a success page. This success page is a JX page which allow me to retrieve woody content,... In this JX page, I use a jx:import src="" . The purpose of this line is load html content into my

Re: Generating XML - Design decisions

2004-04-23 Thread laurent_rorive
Hi, I also ask me such a question when I start with Cocoon. For me, I think that : 1) You have to use as much as possible the existing generator ans simply pass them parameters. 2) If you have database, you can greatly reduce development time by using XSP and ESQL 3) When there are really

Transofrmer from Invalid HTML to XHTML or XML

2004-04-22 Thread laurent_rorive
Dear Members, I have some HTML with special characters as nbsp; IMG that I want to save as valid XML or XHTML. Is there a way to do that ? Thanks for your help

Re: Transofrmer from Invalid HTML to XHTML or XML

2004-04-22 Thread laurent_rorive
Dear Upayavira, this is not a question of generator but more a question of serializer I think Upayavira [EMAIL PROTECTED] 22/04/2004 10:42 Please respond to users To: [EMAIL PROTECTED] cc: Subject: Re: Transofrmer from Invalid HTML to XHTML or XML [EMAIL

Re: Best Practices for Debugging XML?

2004-04-21 Thread laurent_rorive
Hi, Just use cocoon-view ! Define a view like this. ex: map:view from-label=aftergenerator name=aftergenerator map:serialize type=xml / /map:view map:view from-label=afterwoody name=afterwoody map:serialize type=xml / /map:view map:view from-label=aftertemplate

Re: how to build webpage of growing length by cocoon

2004-04-20 Thread laurent_rorive
Hi, It is perhaps better if you use the Woody capabilities (also known as Cocoon Forms) There you have possibilities to create a kind of growing tables Check in the cocoon samples : PetStore Laurent Lechael Han [EMAIL PROTECTED] 20/04/2004 10:27 Please respond to users To:

Re: woody and content aggregation

2004-04-20 Thread laurent_rorive
Hi, I also do the same and it works correctly : Here is my aggregate page ( = a called resource) == !-- generate a page by merging all parts making up a page -- map:resource name=show-simple-form map:act type=locale map:aggregate element=PAGE

Re: Newbie: Searching with html form parameters

2004-04-20 Thread laurent_rorive
Nina , Just us Lucene . This is the search tool of Cocoon Check the cocoon block David Swearingen [EMAIL PROTECTED] 20/04/2004 06:42 Please respond to users To: [EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject: Re: Newbie: Searching with html form parameters

Re: R: woody and content aggregation

2004-04-20 Thread laurent_rorive
That's exactly what I do and it work correctly !!! the only thing is that I have in my woody_template.xml a special _javascript_ that change the document.forms[0].action and replace it with the correct URI script // Force the generic form to us the continue statement var form=

Re: ressource reader bug with IE (linked to caching)

2004-04-20 Thread laurent_rorive
Hi, I encounter exactly the same problem, I try to create my own reader but it fails . what I done is that I create a separate servlet that specially read files from the file system and stream them to the HttpResponse . It seems that the reader does not really us the real Http Response ? (Is

Re: Mail Formhandling

2004-04-16 Thread laurent_rorive
Hi, With Woody , you can use a _javascript_ to make the flowscript. After validate the form you can do something like that : function newTellUs() { try { var form = new Form(context://woody/tellus/forms/entry.xml); // The showForm function will keep redisplaying the form until

Woody - Selection List - Dynamic

2004-04-16 Thread laurent_rorive
Dear Members, I create a form definition with a selection list: wd:field id=tellus_country required=true wd:label i18n:text key=tellus.countrytellus.country/i18n:text /wd:label wd:datatype base=string / wd:selection-list src="">cocoon:/params/COUNTRIES dynamic=true /

Re: HTML fragment from database come escaped

2004-04-16 Thread laurent_rorive
Hi, I also encounter the same problem and here is what we have done : We retrieve the HTML block and we put some XML comment tag around it : !-- P class=txt_wSTRONGMarine Power Europe, Inc/STRONG.BRis a subsidiary of Mercury Marine USA, which is a division of Brunswick Corporation./P P

Woody - wi:validation-errors

2004-04-16 Thread laurent_rorive
Dear Members, Another Woody Question , In my template xml file , I enter this wi:validation-errors headerpCorrect these errors please:/p/header footerpAnd then resubmit the form./p/footer /wi:validation-errors Normally, it must appear only when there are errors ... But on my page , it

Re: Including Fragments

2004-04-15 Thread laurent_rorive
Dear Garrik, I encounter such a thing and I think that the best way is using the AGGREGATE what I have done , I create a resource and I call this resource from my pipeline with parameters: RESOUNCE map:resource name=show-simple-page label=content map:act type=locale

Fw: Cocoon Forms - Woody

2004-04-15 Thread laurent_rorive
Dear Members, 1) Is there a way to translate the general.field-required label received when validating such a widget with @required=true wd:field id=tellus_lastname required=true wd:label i18n:text key=tellus.lastnametellus.lastname/i18n:text /wd:label wd:datatype base=string

Re: Fw: Cocoon Forms - Woody

2004-04-15 Thread laurent_rorive
Thanks for the info ! Could you just tell me how to translate this catalogue woody ? Marcin Okraszewski [EMAIL PROTECTED] 15/04/2004 16:54 Please respond to users To: [EMAIL PROTECTED] cc: Subject: Re: Fw: Cocoon Forms - Woody 1) Is there a way to translate

Re: [flow] cocoon.createObject() problem

2004-04-15 Thread laurent_rorive
Hi Markus , I think that it has nothing to do with flow but I already received such a message when using a component that I created and that has to use a datasource. This datasource has to be defined in cocoon.xconf and if he can not open it you will get an error hope it could help Laurent