Re: FileUploadsWithFlow problem

2004-02-14 Thread Bert Van Kets
Thanks for that bit of code mate. It's indeed a lot better. Any idea on getting a fix on that realPath for converting the relative path to the real server path??? I have tried loads of things and can't get it to work. I still have to use the full path in the config.xconf file. You can set logging

Woody and database

2004-02-14 Thread Bert Van Kets
Hi all, I'm using mySQL and Cocoon 2.1.4 and have to start creating a bunchload of web forms. What is the best way to connect a database to Woody? I checked out the OJB block, but find it a bit cumbersome for complex forms. Any suggestions? Bert

Re: Woody and database

2004-02-14 Thread Philippe Guillard
Bert, I'm a newbie, but for what i checked myself with my mysql: -Woody+ModDB Actions are easy to implement but not so robust -Woody+JDO+Flow more complicated but more robust. Advantage you can have flow. - I use ESQL to read So i plan to use the 3 ! Phil On Sat, 2004-02-14 at 06:24, Bert Van

How to set length of Session ?

2004-02-14 Thread Stefan Geelen
Hi, I have following pattern to test a logon/userid: map:match pattern=myaccount/login map:act type=authenticator map:parameter name=use-request-parameters value=true/ map:parameter name=descriptor value=context://database/auth-def.xml/ map:act type=session-propagator

RE: How to set length of Session ?

2004-02-14 Thread Christopher Watson
Stefan You can change the session length for the *whole* cocoon application by adding a session-config element to the top of the WEB-INF/web.xml file ... something like ... web-app !-- Session Configuration = -- session-config

Error: Language Exception

2004-02-14 Thread Stefan Geelen
Hi, I get following compile error: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling myaccount_details_xsp: ERROR 1

report generating with cocoon engine

2004-02-14 Thread reza x
hi all i want to use cocoon engine to build my web application report. i don't want to use cocoon framework,but want to use classes that generate reports to build my reports. please guide me how can i use cocoon engine to build my reports.i mean using class X to input source XML and using class Y

RE: First impresion BetwixtTransformer (Bug report ?)

2004-02-14 Thread Reinhard Poetz
From: Scherler, Thorsten Reinhard Poetz wrote: You find the betwixt transformer in the Cocoon scratchpad with a working example. -- Reinhard Cheers, I found it using cocoon 2.1.4 (but I could not find a direct link to the example). Try samples/scratchpad/betwixt/ So I

Woody in portal engine coplet

2004-02-14 Thread Philippe Guillard
Hi all, Is anybody can link me to some doc or tell how to integrate Woody in a Coplet/Portlet? I could say generally any sitemap with actions, flow... I use the Portal engine (should i use portal framework?), and globally i only manage to run correctly full XSP samples, for actions like

Re: Cocoon and informix stored procedures

2004-02-14 Thread Christian Haul
Anna Bikkina wrote: Hi, I have to some a web app that runs stored procedures in informix. Gets the data in xml and converts to html,(tables),excel and other formats. Hence I choose cocoon to write my webapp. Is there a way I can call a stored procedure from cocoon and convert the resultset

JDO sample with query

2004-02-14 Thread Bert Van Kets
I have been going through the JDO samples and as far as I can see there's a direct mapping from JDO to the tables in a mySQL database. How can I map the fields to a query? Can anybody elaborate this a little bit please. Thanks, Bert

Offline generation Exception can't find component

2004-02-14 Thread Alex S
Hi there: I issue this command: [EMAIL PROTECTED] cocoon-2.1]# ./cocoon.sh cli index.html -C ws.xconf -d work/docs -L build/cocoon-2.1/classes And the output includes the below. Do I need to tell cocoon where these components are? FATAL_E 2004-02-14 14:15:30.382 [] (): Exception

Error: This page is not valid page of this markup langugage (?)

2004-02-14 Thread Stefan Geelen
Hi, I get following compile error: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.xml.sax.SAXException: This page is not valid page of this markup langugage. Root element is: :book, must be: http://apache.org/xsp:page for following .xsp page ?xml version=1.0

Re: Offline generation Exception can't find component

2004-02-14 Thread Upayavira
Alex S wrote: Hi there: I issue this command: [EMAIL PROTECTED] cocoon-2.1]# ./cocoon.sh cli index.html -C ws.xconf -d work/docs -L build/cocoon-2.1/classes Firstly, you don't need the -L, that is specifically for sites that use JDBC database connections. Secondly, if you do ./cocoon.sh

[woody question] Is there a better way?

2004-02-14 Thread Mark Lundquist
Hi, I have a form that needs to include some elements that were not generated from widgets. Here's what I need to generate, from my woody template: input type=file name=logo-file onchange=document.forms[0].submit() / div

Woody suggestion

2004-02-14 Thread Mark Lundquist
Would it be a good thing for woody-page-styling.xsl to copy attributes from wi:group into whatever container (table, div, fieldset) it generates? I needed to get a handle on the elements in my CSS, so I hacked woody-page-styling.xsl to generate table class=form ...but it seems like it would

Re: Offline generation Exception can't find component

2004-02-14 Thread Alex S
1) I will leave out th -L 2) The site works via: http://localhost:/wscott/index.html Upayavira wrote: Alex S wrote: Hi there: I issue this command: [EMAIL PROTECTED] cocoon-2.1]# ./cocoon.sh cli index.html -C ws.xconf -d work/docs -L build/cocoon-2.1/classes Firstly, you don't need the

Re: Offline generation Exception can't find component

2004-02-14 Thread Alex S
Also if I do this: cocoon-2.1]# ./cocoon.sh cli wscott/index.html -C ws.xconf I get an error about specifying a destination directory but I have done that in the ws.xconf file like so: context-dirbuild/webapp//context-dir config-filebuild/webapp/WEB-INF/cocoon.xconf/config-file

ESQL logicsheet Problem with Pagination since Cocoon 2.1+

2004-02-14 Thread Rob Gregory
Title: Message esql:more-resultsnolongeroutput! Hi people I have been using Cocoon since version 2.0.3 and have used the ESQL logicsheet from within XSP and all was fine until I recently upgraded to Cocoon version 2.1.3. Since the upgrade the esql queries etc still work and produce results

[woody] Multiple bindings?

2004-02-14 Thread Mark Lundquist
A form can only be bound to one model, but I need a form that has the effect of being bound to 2 beans (so in MVC terms the one form would comprise 2 views, one of each model). Does anybody have any suggestions for how to achieve this? -- Mark - P.S. In case you remember that I am the

Re: Offline generation Exception can't find component

2004-02-14 Thread Simon Mieth
On Sat, 14 Feb 2004 17:30:31 + Alex S [EMAIL PROTECTED] wrote: Also if I do this: cocoon-2.1]# ./cocoon.sh cli wscott/index.html -C ws.xconf I get an error about specifying a destination directory but I have done that in the ws.xconf file like so:

Re: First impresion BetwixtTransformer (Bug report ?)

2004-02-14 Thread Scherler, Thorsten
Try samples/scratchpad/betwixt/ The undefined value has no properties. org.apache.avalon.framework.CascadingRuntimeException: The undefined value has no properties. cause: ConversionError: The undefined value has no properties.

Re: JDO sample with query

2004-02-14 Thread Antonio Gallardo
Bert Van Kets dijo: I have been going through the JDO samples and as far as I can see there's a direct mapping from JDO to the tables in a mySQL database. How can I map the fields to a query? Can anybody elaborate this a little bit please. In short, using Java Beans. See the JDO tutorial

Re: Woody and database

2004-02-14 Thread Antonio Gallardo
Bert Van Kets dijo: Hi all, I'm using mySQL and Cocoon 2.1.4 and have to start creating a bunchload of web forms. What is the best way to connect a database to Woody? I checked out the OJB block, but find it a bit cumbersome for complex forms. Any suggestions? We are using OJB in 2

[woody] bizdata, JXTemplate

2004-02-14 Thread Mark Lundquist
Hi, I'm using Woody+Flow but not using the binding framework yet. I'm passing an object to the view layer in the bizdata parameter to showForm(). I wrapped my Woody template in a jx:template> and started my form display pipeline with the JX generator, and it all worked great. Then I thought

Re: [woody] bizdata, JXTemplate

2004-02-14 Thread Christopher Oliver
Mark Lundquist wrote: Hi, I'm using Woody+Flow but not using the binding framework yet. I'm passing an object to the view layer in the bizdata parameter to showForm(). I wrapped my Woody template in a jx:template and started my form display pipeline with the JX generator, and it all worked

Re: [woody] bizdata, JXTemplate

2004-02-14 Thread Mark Lundquist
On Feb 14, 2004, at 12:55 PM, Christopher Oliver wrote: There are some hacks in WoodyTemplateTransformer to do XPath substitution of continuation id, but that's it. And hopefully that will be removed soon. good (what will take the place of those hacks, JOOC?) If you want to do general

Re: Woody suggestion

2004-02-14 Thread Antonio Gallardo
Hi Mark: Good idea. Also if we need to use client-side Javascript, we can also define id attributes. Example: table id=form I already use client-side Javascript with CForms (aka. Woody) and plan to write a short and simple tutorial in wiki of how we can do this. Best Regards, Antonio Gallardo

Re: report generating with cocoon engine

2004-02-14 Thread Antonio Gallardo
reza x dijo: hi all i want to use cocoon engine to build my web application report. i don't want to use cocoon framework,but want to use classes that generate reports to build my reports. please guide me how can i use cocoon engine to build my reports.i mean using class X to input source

Re: [woody] Multiple bindings?

2004-02-14 Thread Antonio Gallardo
Mark Lundquist dijo: A form can only be bound to one model, but I need a form that has the effect of being bound to 2 beans (so in MVC terms the one form would comprise 2 views, one of each model). Does anybody have any suggestions for how to achieve this? You can build 2 diferents

Re: [woody] Multiple bindings?

2004-02-14 Thread Mark Lundquist
On Feb 14, 2004, at 1:31 PM, Antonio Gallardo wrote: Mark Lundquist dijo: A form can only be bound to one model, but I need a form that has the effect of being bound to 2 beans (so in MVC terms the one form would comprise 2 views, one of each model). Does anybody have any suggestions for how to

Re: [woody] Multiple bindings?

2004-02-14 Thread Mark Lundquist
On Feb 14, 2004, at 1:58 PM, Mark Lundquist wrote: ..snip.. So, any of the form buttons will result in processing the entire form versus the (single) validator, and in the scenario that was being complicated, this would have been not so nice.

Can anyone explain this

2004-02-14 Thread Jim Bloggs
Greetings Cocooner! My setup is Windows/Tomcat5.0.18/Cocoon2.1.3 and some really weird things are happening but I'm new to cocoon so maybe I'm missing something really obvious. map:match pattern=jobcentre/ map:read src=minimal/index.htm mime-type=text/html/ /map:match

RE: Can anyone explain this

2004-02-14 Thread Rob Gregory
Are you getting the resource not found error from Cocoon or from your sevlet container? Sounds like the request is not getting as far as cocoon... //Post My setup is Windows/Tomcat5.0.18/Cocoon2.1.3 and some really weird things are

[ESQL] esql:more-results seems broke with Oracle

2004-02-14 Thread Rob Gregory
Title: Message Using Cocoon 2.1++ the esql logic sheet seems to have stopped working with an Oracle database?!? Code that has been working fine under C2.0.3 no longer generates any content for the esql:more-results although the previous-results tag still works ok. I have googled for a week

[woody] initialize form control values

2004-02-14 Thread Mark Lundquist
D'oh! How can I generate initial values for form controls generated by widgets (so that I can pre-populate a form)? Thanks, -- Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [woody] initialize form control values

2004-02-14 Thread Antonio Gallardo
Mark Lundquist dijo: D'oh! How can I generate initial values for form controls generated by widgets (so that I can pre-populate a form)? A default value property for widget is a future feature. By now all you can do is: Use binding framework with a Bean with the pre-populated values. Best

Re: [woody] bizdata, JXTemplate

2004-02-14 Thread Antonio Gallardo
Mark Lundquist dijo: P.S. Where does the JXPath magic happen for the binding framework? AFAIK, when you can form.load(myBean) and form.save(myBean). But as Christian said, better use the JXTemplateGenerator. Best Regards, Antonio Gallardo.

Re: [woody] initialize form control values

2004-02-14 Thread Mark Lundquist
Hi Antonio, On Feb 14, 2004, at 6:24 PM, Antonio Gallardo wrote: A default value property for widget is a future feature. Well -  phooey. By now all you can do is: Use binding framework with a Bean with the pre-populated values. OK. That means that I must either (a) figure out how to

Re: [woody] initialize form control values

2004-02-14 Thread Antonio Gallardo
Mark Lundquist dijo: Hi Antonio, On Feb 14, 2004, at 6:24 PM, Antonio Gallardo wrote: A default value property for widget is a future feature. Well - phooey. By now all you can do is: Use binding framework with a Bean with the pre-populated values. OK. That means that I must

Re: [woody] initialize form control values

2004-02-14 Thread Christopher Oliver
Can't you just assign values to the widgets in your flowscript? Mark Lundquist wrote: D'oh! How can I generate initial values for form controls generated by widgets (so that I can pre-populate a form)? Thanks, -- Mark - To

Re: [woody] initialize form control values

2004-02-14 Thread Mark Lundquist
On Feb 14, 2004, at 7:22 PM, Christopher Oliver wrote: Can't you just assign values to the widgets in your flowscript? OK.. coming back to this after a little rest, I realized that since the HTML form controls are generated by woody-field-styling.xsl, if there is any way to set, for instance,