Re: Browser-based XML document editing tool?

2004-12-13 Thread Bertrand Delacretaz
Le 14 déc. 04, à 03:07, David a écrit : ...don't want to have to 'manually' build a bunch of forms and form processing and file i/o code to create these interfaces for the half dozen different xml data structures I have The forms processing and file i/o code is very simple if using CForms, a

Re: Browser-based XML document editing tool?

2004-12-13 Thread Derek Hohls
The only "tool" I have been able to find is, indeed, CForms... with the htmlArea for "embedded" formatting/styling (problem is that, as shipped, the htmlArea "tags" are not stored as XML but that's another issue...) I doubt there is an "instant" fix, but it would be interesting to hear what other

RE: Browser-based XML document editing tool?

2004-12-13 Thread Lincoln Mitchell
Maybe this 2.1.6 block will help. It's a CFORM HTML editor widget: http://localhost:/samples/blocks/forms/htmlarea Have no used it myself though. Linc -Original Message- From: David [mailto:[EMAIL PROTECTED] Sent: Tuesday, 14 December 2004 10:08 AM To: [EMAIL PROTECTED] Subject: Bro

RE: BXE editor

2004-12-13 Thread Krunal Shimpi
You can try Daisy CMS which is built on top of COcoon. I am going to evaluate same for my proj. -Original Message- From: Christian Stocker [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 10:50 PM To: [EMAIL PROTECTED] Subject: Re: BXE editor On 13.12.2004 17:53 Uhr, [EMAIL PR

Browser-based XML document editing tool?

2004-12-13 Thread David
I've built a Cocoon site and all the content is in xml files. I created content using an Eclipse XML plugin, which is fine for me as a technical person, but now I need to allow a couple dozen non-technical people to be able to create/edit/delete these xml files themselves, using a browser. I don'

[HELP] COCOON-EHCACH-1CACHE - Professional help needed

2004-12-13 Thread Daniela Innerwinkler
Hi! I`ve got the following problem with cocoon 2.1.6 (build with jdk 1.4.2_03) on tomcat 5.0.28 I deploy cocoon and the first one or two times stop and start are working well. Then i get the following error when starting tomcat: trying to register database IOException reading index. Creating n

Re: BXE editor

2004-12-13 Thread Brent Johnson
I just got done integrating Kupu into my Cocoon CMS application. It seems to work very well (at least for Firefox). The only problem I'm having with it right now is that you cant work with custom tags. I use some of my own shortcut tags which get converted to valid HTML with a stylesheet before

multiple forms (was: Usage of "form.createBinding" compared with "form.load")

2004-12-13 Thread Joerg Heinicke
On 13.12.2004 14:29, Philipp Rech wrote: hello, thanks you Joerg that helped me a lot. And you are rigth about the default way, but i wasn't aware of the function Form.js in this case. Good to know where this file is, thanks! my question remaning is how to bind several forms. do i have to call the

Re: Cocoon Foms help needed!!!

2004-12-13 Thread Bertrand Delacretaz
Le 14 déc. 04, à 10:06, Lincoln Mitchell a écrit : ...There are s many files related to this sample which confuses the hell out of me and I long for a barebones version that is not tied into all the other cform examples... The tour block samples might help, these are more "barebones". The bea

printing jclass

2004-12-13 Thread Craig Christophersen
Has anyone any experience integrating jclass(from quest) with cocoon to utilize the jclass printing capabilities?   Craig Christophersen(406)496-6421[EMAIL PROTECTED]

Re: Cocoon Foms help needed!!!

2004-12-13 Thread Johannes Textor
Hi Lincoln, Any how my current problem is that moving the files (and I think I got them all) causes the form to disappear - I just get an blank white page - however the source is there. Getting a blank white page is quite strange. There are two explanations I can think of: - Is one of the defa

Re: Cocoon portal tabs

2004-12-13 Thread Anna Bikkina
In portal.xml in copletdata I have the following Security Quote History: URICoplet uri http://www.w3.org/2001/XMLSchema-instance";>cocoon:/coplets/search/quotehistory.xsp Is the id mentioned here the id we can use for pageLabel in redirect-to ur

Re: Cocoon Foms help needed!!!

2004-12-13 Thread Roberto
Hi hope that this can help you, but I don't have idea why the form disappear. I send you 4 files (sorry but the label are in italian) one is the definition form, one is the template form one is the binding with the xmldata and one is the xmldata. Cheers ROb - Original Message - From: "Li

Re: Cocoon portal tabs

2004-12-13 Thread Ralph Goers
1. With the url you should be going to is "portal?pageLabel=QuoteHistory". 2. You do not have PageLabels configured. Please look at http://wiki.apache.org/cocoon/PortalPageLabels. The link should not contain cocoon-portal-action unless you specifically do not want the back button to work. It also

Re: Cocoon portal tabs

2004-12-13 Thread Anna Bikkina
In layout/portal.xml I have quotehistory defined like this quotehistory-1

Re: Cocoon portal tabs

2004-12-13 Thread Ralph Goers
What do you have in layout/portal.xml? When you your portal is displayed and you manually select the tab that that you want login to go to, what url shows in the address bar? Ralph Anna Bikkina said: > I am using pageLabels. > > Here is my sitemap . I tried id and pageLabel=quotehistory in the

Re: Cocoon portal tabs

2004-12-13 Thread Philippe Guillard
The most important thing (just a suggestion because you didn't show it here), is that you have "quotehistory" as a tab name in your layout, not the name of the coplet : quotehistory-1

Re: Cocoon portal tabs

2004-12-13 Thread Anna Bikkina
I am using pageLabels. Here is my sitemap . I tried id and pageLabel=quotehistory in the redirect-to uri none of them worked.

BXE editor

2004-12-13 Thread javascript
I am trying to integrate BXE like XML editor in my pages and I choiced BXE because I prefer Mozilla... however BXE does not save with the last version of Mozilla (1.7.3) but also with Firefox 1.0 (while the documentation indicates the same problem only with Firefox 0.8 and 0.9). In this case I w

Re: BXE editor

2004-12-13 Thread Christian Stocker
On 13.12.2004 17:53 Uhr, [EMAIL PROTECTED] wrote: I am trying to integrate BXE like XML editor in my pages and I choiced BXE because I prefer Mozilla... however BXE does not save with the last version of Mozilla (1.7.3) but also with Firefox 1.0 (while the documentation indicates the same proble

Re: Portal stylesheets and sitemap parameters

2004-12-13 Thread Philippe Guillard
I'll check, thanks. Ralph Goers wrote: portal-page.xsl is invoked in the portal pipeline, so passing sitemap parameters is easy. The "tab" stylesheets are configured in cocoon.xconf and are invoked via the XSLTAspect during portal processing. The sitemap is not involved in that. However, you can

RE: Basic Session and encode-url example

2004-12-13 Thread Julien, Heryk
No problem I don't think it will be much use to you but here is part of my sitemap where urlEncode is used (snippet of the component and pipeline sections of my sitemap): false false .*/@href|.*/@action|frame/@src img/@src|(a/

Re: Portal stylesheets and sitemap parameters

2004-12-13 Thread Ralph Goers
portal-page.xsl is invoked in the portal pipeline, so passing sitemap parameters is easy. The "tab" stylesheets are configured in cocoon.xconf and are invoked via the XSLTAspect during portal processing. The sitemap is not involved in that. However, you can pass parameters to these stylesheets. T

Re: Portal stylesheets and sitemap parameters

2004-12-13 Thread Philippe Guillard
I get my response there so in case somebody need this too : http://archives.real-time.com/pipermail/cocoon-devel/2004-October/037227.html Philippe Guillard wrote: Hi all, I can get a sitemap parameter in portal-page.xsl, but can't find a way to get it in other stylesheets like linktab.xsl. Any ide

Re: Usage of "form.createBinding" compared with "form.load"

2004-12-13 Thread Joerg Heinicke
On 13.12.2004 13:26, Philipp Rech wrote: You need both. createBinding with the binding file name tells the forms framework how to bind, load and save tells what to bind to. but it is still not clear since i don't use form.createBinding in my example which is working. I just call load and save and

RE: Cocoon session context load URIs -- Need help!

2004-12-13 Thread Julien, Heryk
It worked! Thanks ;-) Héryk Julien -Message d'origine- De : Adam Ratcliffe [mailto:[EMAIL PROTECTED] Envoyé : dimanche 12 décembre 2004 18:36 À : [EMAIL PROTECTED] Objet : RE: Cocoon session context load URIs -- Need help! Hi Julien ! In your stylesheet you overlooked a step, it should

RE: Basic Session and encode-url example

2004-12-13 Thread Julien, Heryk
Hi, I've been using urlEncode without authentication with success. However, I'm currently implementing authentication and I hope I won't be getting the bugs you are having. I guess someone else will be able to help you. Cheers Héryk -Message d'origine- De : Christoph Hermann [mailto:[EM

Re: Basic Session and encode-url example

2004-12-13 Thread Christoph Hermann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julien, Heryk schrieb: Hello, > I've been using urlEncode without authentication with success. > However, I'm currently implementing authentication and I hope I won't > be getting the bugs you are having. > I guess someone else will be able to help y

Re: Usage of "form.createBinding" compared with "form.load"

2004-12-13 Thread Philipp Rech
hello, thanks you Joerg that helped me a lot. And you are rigth about the default way, but i wasn't aware of the function Form.js in this case. Good to know where this file is, thanks! my question remaning is how to bind several forms. do i have to call the handleForm function seperatly for

Re: Basic Session and encode-url example

2004-12-13 Thread Christoph Hermann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julien, Heryk schrieb: Hello, >> i'm trying to get a very simple session example working with cocoon, >> but when i turn cookies off my session is lost even when i use >> in my sitemap. >> Can you give me any hints why this (encodeurl) is not worki

RE: Basic Session and encode-url example

2004-12-13 Thread Julien, Heryk
H! You could try this: 1. Did you add the transformer declaration in the sitemap? .*/@href|.*/@action|frame/@src img/@src|(a/@href|iframe/@src)=.*adserver 2. Restart your browser once you turned your cookies off? Hopes this help. Héryk -Message d'origine- De : Christoph He

Basic Session and encode-url example

2004-12-13 Thread Christoph Hermann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello List, i'm trying to get a very simple session example working with cocoon, but when i turn cookies off my session is lost even when i use in my sitemap. Can you give me any hints why this (encodeurl) is not working? The Coocoon examples (po

Re: Usage of "form.createBinding" compared with "form.load"

2004-12-13 Thread Philipp Rech
> You need both. createBinding with the binding file name tells the forms > framework how to bind, load and save tells what to bind to. > > Joerg Thank you Jeorg, but it is still not clear since i don't use form.createBinding in my example which is working. I just call load and save and

Re: Usage of "form.createBinding" compared with "form.load"

2004-12-13 Thread Joerg Heinicke
On 13.12.2004 12:34, Philipp Rech wrote: function myBinding(form) { var bean = new Packages.foo.bar.cocoonBean(); form.load(bean); form.showForm("registration-display-pipeline"); form.save(bean); cocoon.sendPage("registration-success-pipeline", {"model": bean}); } how does " form.cr

calling xReporter from flowscript

2004-12-13 Thread Paul Joseph
Hi, I have been trying to call the xReporter reports from Flowscript, (so that later on, once I get it going, I can inject a variable into the pipeline.) I added the following to my sitemap, to make the call to the flowscript: The

Usage of "form.createBinding" compared with "form.load"

2004-12-13 Thread Philipp Rech
Hello Cocooners, [Cocoon Version 2.1.6] i have a question about the binding-framework. right know i use it like this: -Sitemap--- --- -Flowscript function myBinding(form) {

Re: Invalid Continuation ID

2004-12-13 Thread Jan Hoskens
Upayavira wrote: Jan Hoskens wrote: I've let him log out of the system (even restart the browser) but he still got the same error on that one form, but not on the other forms. I cannot reproduce this error, but I guided the person through some basic tests by phone conversation. This way I could

Re: Invalid Continuation ID

2004-12-13 Thread Upayavira
Jan Hoskens wrote: I've let him log out of the system (even restart the browser) but he still got the same error on that one form, but not on the other forms. I cannot reproduce this error, but I guided the person through some basic tests by phone conversation. This way I could let him edit othe

Portal stylesheets and sitemap parameters

2004-12-13 Thread Philippe Guillard
Hi all, I can get a sitemap parameter in portal-page.xsl, but can't find a way to get it in other stylesheets like linktab.xsl. Any idea? In the main portal sitemap i have :

RE: Cocoon hosting in Australia

2004-12-13 Thread Thomas . Zirnsack
Return Receipt Your RE: Cocoon hosting in Australia document :

Re: Rép. : Forms in Cocoon

2004-12-13 Thread Derek Hohls
My 2c re disadvantage of use of Cforms in DB projects: * "Ease of implementation" - this is relative; the disadvantage of learning someone's approach is quickly balanced by the extra support you get for it; large-scale "handmade" applications are notoriously quirky and difficult to debug. An esta

Rép. : Forms in Cocoon

2004-12-13 Thread Willy Reinhardt
Hi, Forms were a long discussion on our project. Questions were should we use the Cocoon framework (Cforms, Flowscript, JXTemplate) or should we use a simplest process like: define forms in XML and use XSL*€™s to transform and display the form. In our project we need to: - Read and write d

Re: FlowScript: cocoon.createSession() is not a function

2004-12-13 Thread Bertrand Delacretaz
Le 13 déc. 04, à 09:46, <[EMAIL PROTECTED]> a écrit : ...    cocoon.createSession();   and the the following error: org.apache.avalon.framework.CascadingRuntimeException: createSession is not a function cause: TypeError: createSession is not a function   Why i cant use the createSession function?

Re: FlowScript: cocoon.createSession() is not a function

2004-12-13 Thread george georgovassilis
I can't see the createSession method in the documentation (http://localhost:/docs/userdocs/flow/api.html#session) so I guess it's not there. I think you don't need to call it anyway, just setting an attribute (cocoon.session.setAttribute) should automatically create it, if it has not alread

FlowScript: cocoon.createSession() is not a function

2004-12-13 Thread reto.peter
I am using Cocoon 2.1.5.1 and got the following problem:   FlowScript: search cocoon.load("resource://org/apache/cocoon/forms/flow/_javascript_/Form.js");   function search() {    var form = new Form("forms/search_definition.xml");     form.showForm("search-display");     var collection =