Re: encodeUrl Transformer and unicode

2004-09-10 Thread [EMAIL PROTECTED]
Doug Chestnut wrote: [...] Is there any reason why the encodeURL Transformer doesn't do this? ( http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=107638965522631&w=2 ) Is there an easy way to encode unicode (w/ no ascii equivilent) characters in a sitemap pipeline? Hi Doug, Maybe section 1.2. of t

Re: Cocoon Error

2004-09-10 Thread [EMAIL PROTECTED]
try using: jakarta-tomcat-4.1.30 copy .war, then restart tomcat, no problem ;) On Thu, 09 Sep 2004 11:10:34 +0100, Norman Barker <[EMAIL PROTECTED]> wrote: > > > Jyothi Giridhar wrote: > > >Hi , > > > >I installed Apache TOmcat 4.1.18 > >I copied the cocoon.war file from cocoon2.0.4 . > >When

RE: Advantage using Hibernate with Cocoon

2004-09-10 Thread Hugo Burm
Hello, May be this comes just too late for you, but Manning (www.manning.com) just publised a book about Hibernate. It gives information on some of the problems you are mentioning below. It is also a good introduction on OR mapping. Hugo > -Original Message- > From: Johannes Textor [ma

RE: Advantage using Hibernate with Cocoon

2004-09-10 Thread Derek Hohls
Hugo, Not too late (I hope, depending on delivery time!) - I still that integration with Cocoon is the area where some serious write-ups need to happen... I know people have done the work - its just a case of them writing some good guidelines and supplying useful working samples. Thanks Derek

[Flow] redirectTo() bug?

2004-09-10 Thread Timur Izhbulatov
Hi! Calling the redirectTo(URL) function in my flowscript makes corrupted (escaped wrong) non-ASCII characters containing in the URL. If I use the sendPage(URL) everything works fine. The question is who does the URL escaping? It's definitely not the JavaScript's fault 'casue I can see the

when to use XSP ?

2004-09-10 Thread [EMAIL PROTECTED]
I've created a simple blog with cocoon It's only using Flow, XML, and stylesheet only no XSP at all The question is: When should we use XSP (best time to use XSP)? -- Indonesia Cocoon: idcocoon-subscribe @ yahoogroups.com Superbiji @ gmail.com ---

Re: when to use XSP ?

2004-09-10 Thread gounis
On Fri, 10 Sep 2004, [EMAIL PROTECTED] wrote: after sqltransformer the only way to generate XML from sql queries is xsp this is very helpfull is you have to do with select queries an other point is that flow is great for web apps but "destroy" URL. in simple case is better to have a clean url

Re: when to use XSP ?

2004-09-10 Thread Derek Hohls
Simple answer - avoid it if you do not need it... (bear in mind XSP was developed before the advent of flow and many of the newer Cocoon components - its generally harder to maintain and can very easily lead to violation of the SOC principles; putting layout, logic etc all in one file) >>> [EMAIL

Re: when to use XSP ?

2004-09-10 Thread Derek Hohls
Stavros What do you mean when you say "flow destroys URL"; the flow is simply there to route the application process from one URL to another; you could replicate it in some ways by writing custom actions but that approach is far more tedious and less maintainable. See also: http://wiki.apache.org

Re: when to use XSP ?

2004-09-10 Thread gounis
On Fri, 10 Sep 2004, Derek Hohls wrote: Derek i like flow and i use it but in simple cases it no pretty to have this GUID in url and in a site completlty drived by flow you are not able to copy-paste url to add it in a email ps I notice that i'm not complain about flow -- stavros > Stavros

[CForms]: JXPath not able to add element?

2004-09-10 Thread Sjur Nørstebø Moshagen
Hello, I was playing around with the XML binding sample (form2xml.flow), when I got the following error: "resource://org/apache/cocoon/forms/flow/javascript/Form.js", line 171: uncaught JavaScript exception: at form2xml (file:/Volumes/Data/Users/sjur/redtest/flow/binding_example.js, Line 39) at

Re: when to use XSP ?

2004-09-10 Thread Derek Hohls
Stavros I really don't understand what you're saying; but Cocoon is more than big enough to accomodate our different ways of doing things ;-) Derek >>> [EMAIL PROTECTED] 2004/09/10 02:47:53 PM >>> On Fri, 10 Sep 2004, Derek Hohls wrote: Derek i like flow and i use it but in simple cases it no

Re: when to use XSP ?

2004-09-10 Thread gounis
On Fri, 10 Sep 2004, Derek Hohls wrote: > Stavros > > I really don't understand what you're saying; > but Cocoon is more than big enough to accomodate > our different ways of doing things ;-) that's why we love it! ;-) > > Derek > > >>> [EMAIL PROTECTED] 2004/09/10 02:47:53 PM >>> > On Fri, 1

Re: when to use XSP ?

2004-09-10 Thread Ben Pope
Hi, I think he is referring to continuations. They do not persist forever, and therefore the page the URL points to does not persist forever. The point is that continuations allow a way of traversing between various mid-way states, there should be little use in saving a URL to an intermittant s

Fundamental Cocoon Philosophy Question

2004-09-10 Thread Julian
Hi All, * The basic question here is why not have a webapp framework that supports both xml forms (CForms) and a java framework similiar to Struts? Moreover, is it not true that having a simple Java framework as such would be the building blocks

Re: Advantage using Hibernate with Cocoon

2004-09-10 Thread Johannes Textor
Derek, I created a wiki page that wants to grow up to be a new Tutorial about Cocoon and Hibernate. [CocoonAndHibernateTutorial]. As time allows I will add (resp. *create*) content, check back from time to time and add your comments. Hope we can shrink the Elephant :-) Greetings, Johannes Derek Hoh

Re: Advantage using Hibernate with Cocoon

2004-09-10 Thread Derek Hohls
Great - I will watch with interest! >>> [EMAIL PROTECTED] 2004/09/10 04:28:26 PM >>> Derek, I created a wiki page that wants to grow up to be a new Tutorial about Cocoon and Hibernate. [CocoonAndHibernateTutorial]. As time allows I will add (resp. *create*) content, check back from time to time a

Re: Fundamental Cocoon Philosophy Question

2004-09-10 Thread Derek Hohls
Julian A quick question here before the debate goes further; what do you mean by "standards" ?? Cocoon is based on Java and XML; the former an "industry standard" (of sorts) and the latter an open standard. In other words, Cocoon *is* built on a Java framework - maybe a different one from Strut

AW: portal-html-eventlink transformer

2004-09-10 Thread Hans Thomas Nordeck
The 'mailto:' link is still rendered as portal link, even if there is an external="true" attribute. On the other hand: It detects external links perfectly, if there is an http:// in the beginning of the href attribute value. Then it stays an external link. Is there any more trick, I miss? Tfh,

Re: Fundamental Cocoon Philosophy Question

2004-09-10 Thread Julian
Hi, As far as standards are concerned, I am speaking of the forms implementation. I remember at one point it was being built around XForms before that was scrapped. Now however groups are working on adopting that as a standard for webapps: http://www.mozilla.org/press/mozilla-2004-08-10.html On

RE: [cocoon] Re: Advantage using Hibernate with Cocoon

2004-09-10 Thread Ernesto Echeverría
My 2 cents: Hibernate: A Developer's Notebook by James Elliot, an O'Reilly Book is a fast read that will put you up to knowledge regarding Hibernate. You can even try it as part of the Safari Bookshelf trial. A must after this would be James Elliot article on O'Reilly net regarding use of Hiberna

Re: java problem in XSP

2004-09-10 Thread Antonio Fiol Bonnín
p.getErrorStream() On Thu, 9 Sep 2004 23:49:06 -0700 (PDT), sreenivas reddy <[EMAIL PROTECTED]> wrote: > Hi > > Process p=Runtime.getRuntime().exec(arg); > //in linux > BufferedReader br =new BufferedReader(new > InputStreamReader(p.getInputStream())); > while ((line = br.readLine())

Re: Writing files with cocoon

2004-09-10 Thread David Verdin
OK, I finally used the binding framework and I must say : It works very well ! Thanks everybody ! David Verdin a écrit : 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.

xinclude and cinclude

2004-09-10 Thread Lionel Crine
Hi there, I'm really annoying because I facing a problem I do not understand. I have three computer with the same cocoon, tomcat, java application. I'm trying to load a pipeline with an xinclude. This pipeline works fine on 2 Computer. The last computer send nullpointerexception : here is the excep

Dynamic forms with Cforms

2004-09-10 Thread David Verdin
Hi ! Well, after having spent a long time crawling through cocoon doc, I have to ask you for help again. Well, so I'm now interested in the cocoon forms template generator. I saw it's a call to a jx file which replaces the meaning of the widget declarations in the template file by macros which

CForms - nested repeater-widgets

2004-09-10 Thread Richard Schmid
Hi, i'm quite new to Cocoon and CForms. I'm checking out Forms-related-technologies and having a question on CForms about editing "deep" structures (lists containing lists, etc) now - i'm using 2.2-dev (i've first checked 2.1.51 and then switched to dev), Win2k, JRE 1.4.2_02. In my first test i

CForms - editing mixed-content in input-fields

2004-09-10 Thread Richard Schmid
Hi, i'm quite new to Cocoon and CForms. I'm checking out Forms-related-technologies and having a question on CForms about editing mixed-content structures - i'm using 2.2-dev, Win2k, JRE 1.4.2_02. I didn't find a way to specify that mixed-content gets preserved, when the form is rendered, i wou

validation: repeater must have at least one row

2004-09-10 Thread Binkley, Peter
Is there a way to set a validation rule to ensure that a repeater has at least one row? According to the documentation, "... a repeater widget does not implement ValidationErrorAware. However, a validator attached to a repeater could perform inter-row checks on the fields in the different rows of

Cocoon and file i/o?

2004-09-10 Thread Hiral Parikh
Title: Cocoon and file i/o? Hi, I am new to Cocoon and trying to set up the following scenario: 1. a webform holds some admin configuration values that are read from an xsl file. 2. user changes the values and submits the page. 2. on submitting, the app should update the xsl file with the

RE: portal-html-eventlink transformer

2004-09-10 Thread Carsten Ziegeler
Which version of Cocoon are you using? The latest source code "should" detect mailto: links as well. HTH Carsten > -Original Message- > From: Hans Thomas Nordeck [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 5:13 PM > To: [EMAIL PROTECTED] > Subject: AW: portal-html-even

Re: validation: repeater must have at least one row

2004-09-10 Thread Carlos Chávez
Binkley, Peter Escribio :-) > Is there a way to set a validation rule to ensure that a repeater has at > least one row? According to the documentation, > > "... a repeater widget does not implement ValidationErrorAware. However, a > validator attached to a repeater could perform inter-row checks o

Re: Fundamental Cocoon Philosophy Question

2004-09-10 Thread Ralph Goers
See my comments below. Julian said: > Hi, > > As far as standards are concerned, I am speaking of > the forms implementation. I remember at one point it > was being built around XForms before that was > scrapped. Now however groups are working on adopting > that as a standard for webapps: > htt

Re: CForm bind JXPathContext

2004-09-10 Thread oceatoon
Well thanks for your help Marc, sorry for wasting your time with such nonsense ;) the solution was just there but I just was simply stuck one level to low and convinced of it too. it was just ../../../@id Thanks, I'll go hang myself now ;) Tibor Marc Portier wrote: --

[SOLVED] "no control flows defined", but there are!?

2004-09-10 Thread Lars Huttar
Hi all, Found the problem: I had inside (that's what I meant by "under" in my email -- not "below"!) whereas I should have had it below . http://cocoon.apache.org/2.1/userdocs/forms/sample.html didn't say where should go, and I must have misread one of the samples. Oops! Perhaps the error mess

AW: portal-html-eventlink transformer

2004-09-10 Thread Hans Thomas Nordeck
I'm using 2.1.5.1. I can see it in the sources, but it doesn't work for me. Neither the external="true" nor the "mailto". I wonder why the 'http://"; links are correct. Is there any previous processing of the link before the "isExternalLink" method takes effect? Does it work for you? Hans Tho

Re: Fundamental Cocoon Philosophy Question

2004-09-10 Thread Tony Collen
Comments inline... Julian Wrote: I think in order to feel comfortable adopting these implementations, I need to believe they won't be scrapped and that there is unifying model/philosophy behind where/what Cocoon will become as it further matures. Perhaps many of these projects should be spun out

CForms: Binding to Array Objects, is it possible?

2004-09-10 Thread Shanthi Vikas
Hi! Is it possible to bind one form to array of objects? Example: I have a DB table top_picknic_spots with two foreign key columns: frn_country_id frn_pickic_location_id In Cforms I can display country as drop down select box and two multi valued select boxes(all available and top list) , one lists

RE: CForms: Binding to Array Objects, is it possible?

2004-09-10 Thread Shanthi Vikas
In some places I mentioned country as state, please read all state references as country. Sorry for the confusion. From: "Shanthi Vikas" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: CForms: Binding to Array Objects, is it possible? Date: Fri, 10 Sep 2004 16:59:

Out of Memory error base64 encoded to SVG to JPG

2004-09-10 Thread Lincoln Mitchell
I need to convert multiple wordml images (base64 encoded) to JPG. I am currently using the following code but get an "Out of Memory" error. If I am lucky I get 2 images appear on screen. I will try importing low quality JPEG into word to see if that helps and also thinking of upgrading RAM or PC cu