Re: Manipulating the DOM in flowscript

2004-11-28 Thread Derek Hohls
Ugo I don't understand your reply; I was trying to insert a new node before the first, second-level node... and as I said in the post; I have tried a whole variety of DOM manipulations, none of which worked. So I was concerned that either (a) the document could not be manipulated at all or (b) th

RE: access to xml on msn groups

2004-11-28 Thread Lincoln Mitchell
Also, I can see "http://au.msnusers.com/.../some.xml"; via the browser, just not via cocoon. Linc -Original Message- From: Lincoln Mitchell [mailto:[EMAIL PROTECTED] Sent: Monday, 29 November 2004 2:38 PM To: [EMAIL PROTECTED] Subject: access to xml on msn groups I am trying to point to

access to xml on msn groups

2004-11-28 Thread Lincoln Mitchell
I am trying to point to some xml on my msn account: http://au.msnusers.com/.../some.xml"/> ... However, I get this error: "The content of elements must consist of well-formed character data or markup" Even though I used this simple xml to test: x I works at another

Re: Problem with xmlns in html output (problem is whitespace)

2004-11-28 Thread Derek Hohls
How (please dont forget to post solutions in case some one else faces the same problem...)? >>> [EMAIL PROTECTED] 2004/11/26 03:29:51 PM >>> Ah sorted! On 26 Nov 2004, at 12:24, Andrew M wrote: > Ok, > I have ascertained that the problem I am having is whitespace, so I > have amended my xsl

Re: Forms: how to apply modifications to "forms-page-styling.xsl"

2004-11-28 Thread Derek Hohls
Probably best to setup your own forms processing stylesheet, import the default one, and then write specific code for those templates whose behaviour you want to change. >>> [EMAIL PROTECTED] 2004/11/27 08:50:33 PM >>> Hi guys, I'm using the Cocoon Forms framework. All works well, except I need

Problem validating multivaluefield in cocoon

2004-11-28 Thread baskar.ganesh
Hi all,   I am facing a problem with required attribute with multivalue field in cocoon.I have a multivalue field in my form as               Referring to above definition I have made the required attribute set and in the screen if I press submit

Re: jxpath and forms v2

2004-11-28 Thread Aurélien DEHAY
Andrew M wrote: The getModel function is _not_ defined in v2/Forms. It can't work. I've switched back to v1. Rgds. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: jxpath and forms v2

2004-11-28 Thread Andrew M
That is fine, just substitute the line I gave you with: cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/v2/Form.js"); All should work fine, it does for me! regards Andrew On 28 Nov 2004, at 20:04, Aurélien DEHAY wrote: Andrew M wrote: Hi, make sure that you have the following a

Re: jxpath and forms v2

2004-11-28 Thread Aurélien DEHAY
Andrew M wrote: Hi, make sure that you have the following at the top of your page: 1. cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js"); I'm trying to use cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/v2/Form.js"); Rgds. -

RE: Repeater delete action Setting selected list programaticaly?

2004-11-28 Thread H . vanderLinden
Have you looked at the task tree and the dream team samples? They use row buttons for adding and deleting a row. Bye, Helma > -Original Message- > From: oceatoon [mailto:[EMAIL PROTECTED] > Sent: Sunday, 28 November 2004 18:04 > To: [EMAIL PROTECTED] > Subject: Repeater delete action Set

Re: jxpath and forms v2

2004-11-28 Thread Andrew M
Hi, make sure that you have the following at the top of your page: 1. cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js"); and in your function: var form = new Form("yourWidgetValidation.xml"); so: cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js");

Re: jxpath and forms v2

2004-11-28 Thread Aurélien DEHAY
Andrew M wrote: Hi, try this: var model = form.getModel(); var bizData = {"next" : model.content_type} Andrew Hi. I've got the following error: getModel is not a function. I'm trying to use the v2 forms version, but I'm think I will stay with the v1. Rgds.

Re: jxpath and forms v2

2004-11-28 Thread Andrew M
Hi, try this: var model = form.getModel(); var bizData = {"next" : model.content_type} Andrew On 28 Nov 2004, at 18:32, Aurélien DEHAY wrote: Hello. I'm trying to use jxpath logicsheet with cforms v2. I've got the following in my .js: form.showForm("protected-creer-contenu-0"); cocoon.sendP

jxpath and forms v2

2004-11-28 Thread Aurélien DEHAY
Hello. I'm trying to use jxpath logicsheet with cforms v2. I've got the following in my .js: form.showForm("protected-creer-contenu-0"); cocoon.sendPage("protected-creer-contenu-final", wid); The protected-creer-contenu-final is the pipeline who launch a xsp. When I use in my xsp, It ret

Repeater delete action Setting selected list programaticaly?

2004-11-28 Thread oceatoon
Hi every one I have a repeater when visualised has no checkboxes for selecting specific rows, Therefore I would like to set the list of selected rows through the fd:javascript tag on-action, I didn't see any samples with this, is there a way to do this? I could do this with a Flowscript through

Cacheable static content

2004-11-28 Thread eugene . ivanov
Return Receipt Your Cacheable static content document :

Re: Unable to locate resource: OtherMessages (key [OtherMessages])

2004-11-28 Thread Andrew M
Problem solved, missing folder not in initial build... Andrew On 28 Nov 2004, at 10:55, Andrew M wrote: hi, just installed 1.5.1 and am getting the following error message: Original Exception: org.apache.avalon.framework.component.ComponentException: Unable to locate resource: OtherMessages (key

Re: Forms: how to apply modifications to "forms-page-styling.xsl"

2004-11-28 Thread Markus Heussen
Include the forms-page-styling.xsl and forms-field-styling.xsl in your own forms.xhtml.xsl stylesheet. Now you can overwrite templates in this forms.xhtml.xsl stylesheet. Markus Enrico Migliore schrieb: Hi guys, I'm using the Cocoon Forms framework. All works well, except I need to modify the de

Re: Does cocoon support xslt2.0?

2004-11-28 Thread BURGHARD Éric
> Silly question maybe, but is there any performance benefit using saxon > 8 (XSLT2) over XSLTC? > When you refactor your xslt code with 2.0 features (functions, node-set variables, ...), i was told that your code could be twice as fast as 1.0 version (http://lists.w3.org/Archives/Public/public-q

Unable to locate resource: OtherMessages (key [OtherMessages])

2004-11-28 Thread Andrew M
hi, just installed 1.5.1 and am getting the following error message: Original Exception: org.apache.avalon.framework.component.ComponentException: Unable to locate resource: OtherMessages (key [OtherMessages]) at org.apache.cocoon.i18n.XMLResourceBundleFactory.select(XMLResourceBundleFactory.java: