SessionAttributeSelector

2004-04-29 Thread bremerj
I have problems using the SessionAttributeSelector. I have tried basically any syntax I have found in the various documents, but none worked. The when test is never successful. Has anybody managed to use this selector successfully? And what do I have to do to make the selector work? Thanks for

Re: LDAP transformer - insert, delete, update

2004-04-29 Thread grofcik.lan
Hello, I have red it. I red a source of the LDAPTransformer too. In the java doc api for 2.1.4 is description of the LDAP xml ... !ELEMENT execute-replace replace attribute on a directory-server (ldap) !ELEMENT execute-add add attribute on a directory-server (ldap) ... How could I use

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]

RE: Accessing repeater in xsp Using V2 woody

2004-04-29 Thread Bruno Dumon
On Thu, 2004-04-29 at 00:44, JD Daniels wrote: hmmm... i am confused again.. xsp:logic Form form = (Form)request.getAttribute(woody-form); Field field = (Field)form.getWidget(customerId); /xsp:logic The field customerId is there and has a value.. but it gives me

cocoon forms - flow custom validator

2004-04-29 Thread Jakob Schwendner
Hi there, I am using cocoon 2.1.5-dev (CVS 28/04/2004) to perform form handling with the Cocoon Forms framework. Everything works fine and the widgets get validated nicely, however, when I try to add custom validation to the flowscript by setting the form.validator it gets completely

Re: serialize without namespace

2004-04-29 Thread [EMAIL PROTECTED]
Joerg Heinicke wrote: [...] How can I remove namespaces from my xml files? The Cocoon FAQ say in: http://cocoon.apache.org/2.1/faq/faq-serializers.html#faq-N1004C ... You could generalize this approach by using the serializer's configuration method to declare namespaces to be excluded. [...] What

Re: serialize without namespace

2004-04-29 Thread [EMAIL PROTECTED]
Peter Lerche wrote: [...] Make an extra serializer step in your pipeline and put this XSLT script into it. [...] Hi Peter, thanks for your hint. To work with an extra stylesheet is what I am presently doing. But my intention was to get rid of that intermediate step and to understand the FAQ's

Re: cocoon forms - flow custom validator

2004-04-29 Thread Bruno Dumon
On Thu, 2004-04-29 at 09:52, Jakob Schwendner wrote: Hi there, I am using cocoon 2.1.5-dev (CVS 28/04/2004) to perform form handling with the Cocoon Forms framework. Everything works fine and the widgets get validated nicely, however, when I try to add custom validation to the flowscript

Re: Removing non-xhtml tags from a string ???

2004-04-29 Thread Ugo Cei
Il giorno 28/apr/04, alle 17:20, Marcin Okraszewski ha scritto: Hi, I'm building a webapp which allows to enter XHTML via forms. The problem is that I the entered XHTML *must* be valid XML. I use JTidy to correct any errors that may accure. So far so good. But it turns out that if JTidy gets

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

Re: Removing non-xhtml tags from a string ???

2004-04-29 Thread Marcin Okraszewski
The empty string points probably to a thrown exception, doesn't it? Maybe you should first look for jTidy options for getting the error message to see, ignoring errors or even remove unknown tags. On a first sight at http://www.w3.org/People/Raggett/tidy/ I found an option word-2000: bool for

how to pass XSL param to stylesheet from sitemap

2004-04-29 Thread Terence Kearns
Basically I want to pass the matched pattern in {1} as the content of an XSL parameter to whatever stylesheet I am using. Is this possible? Thanks for any help. -- Terence Kearns ph: +61 2 6201 5516 Enterprise Applications Developer Enterprise Systems Support and Development Information and

[woody / cforms] woody-lib.js causes delay

2004-04-29 Thread Niels van Kampenhout
Hello list, In the case of a very large Woody form, it takes a lot of time (up to seconds) before a check (dis)appears in a checkbox after the user clicks in it. The same happens with radio buttons. It seems that this is caused by Woody's javascript code in woody-lib.js, since the problem does

Re: how to pass XSL param to stylesheet from sitemap

2004-04-29 Thread Joerg Heinicke
On 29.04.2004 11:18, Terence Kearns wrote: Basically I want to pass the matched pattern in {1} as the content of an XSL parameter to whatever stylesheet I am using. Is this possible? Of course: map:match pattern=*.html map:generate src={1}.xml/ map:transform src=whatever.xsl

Re: Comparison Axkit and Cocoon ?

2004-04-29 Thread Upayavira
[EMAIL PROTECTED] wrote: Dear members, While browsing, I came on this project also supported by Apache ? http://axkit.org/ This is another XML publishing framework AXKit is written in Perl. I've never used it, nor noted its capabilities. Is there someone who compare it ? What is best ? Why

Re: Removing non-xhtml tags from a string ???

2004-04-29 Thread Marcin Okraszewski
I don't know if it would really help, but you might try using CyberNeko [1] instead of JTidy. I've found it gives better results on average, particularly when dealing with [so-called] HTML pasted from Word. Ugo [1] http://www.apache.org/~andyc/neko/doc/html/ I must admit, that CyberNeko

Some Flow functions not found

2004-04-29 Thread John L. Webber
We're using Cocoon 2.1.3, and have been integrating Flowscript into our project over the last several weeks. Today, when trying to use the functions cocoon.createPageLocal(), cocoon.createWebContinuation() and cocoon.sendStatus () I get an exception because the functions are unknown. The

RegexpURIMatcher problem

2004-04-29 Thread Jakob Fix
Hi, I cannot find any examples for using regular expressions in a map:match section of the sitemap. I want to match three types of URLs that are different only by one fragment, i.e.: map:match pattern=db/*/*/toc/*.xml map:match pattern=db/*/*/lot/*.xml map:match pattern=db/*/*/lof/*.xml There

sitemap-v06.rng

2004-04-29 Thread Carmona Perez, David
Hi all, I propose to change the RelaxNG validation file sitemap-v06.rng in this way: Component declaration like map:generator, map:transformer, map:serializer, and similars would need to be: define name=map.generator element name=map:generator

ant static generation - class not found DOMError

2004-04-29 Thread Stefan Klein
Hi, I am trying to use the cocoon ant task to generate a static website. The error I am getting is: NoClassDefFound: org.w3c.dom.DOMError. Guessing that it should be in xml-apis.jar and checking, I found that the class, indeed, doesn't exist. Not in the lastest xml-apis.jar from CVS, either,

Re: RegexpURIMatcher problem

2004-04-29 Thread Bruno Dumon
On Thu, 2004-04-29 at 12:37, Jakob Fix wrote: Hi, I cannot find any examples for using regular expressions in a map:match section of the sitemap. I want to match three types of URLs that are different only by one fragment, i.e.: map:match pattern=db/*/*/toc/*.xml map:match

Re: Some Flow functions not found

2004-04-29 Thread Bruno Dumon
On Thu, 2004-04-29 at 12:14, John L. Webber wrote: We're using Cocoon 2.1.3, and have been integrating Flowscript into our project over the last several weeks. Today, when trying to use the functions cocoon.createPageLocal(), cocoon.createWebContinuation() and cocoon.sendStatus () I get an

Re: Some Flow functions not found

2004-04-29 Thread Upayavira
John L. Webber wrote: We're using Cocoon 2.1.3, and have been integrating Flowscript into our project over the last several weeks. Today, when trying to use the functions cocoon.createPageLocal(), cocoon.createWebContinuation() and cocoon.sendStatus () I get an exception because the functions

Re: Removing non-xhtml tags from a string ???

2004-04-29 Thread Peter Velychko
I use nekoHTML for parsing HTML and building DOM from HTML input instead of JTidy for about six months. It allows to set a chain of filters which are performed on the document after parsing. One of the filters is the filter ElementRemover that removes from document or keeps elements specified.

sitemap.java

2004-04-29 Thread Carmona Perez, David
Hi all, Where can I find the generated sitemap.java in order to debug some problems I have? In Cocoon 2.0.4 I could find it in the configured work directory of my servlet. Thanks for any help. David. * Este correo ha sido procesado

Re: ant static generation - class not found DOMError

2004-04-29 Thread Upayavira
Stefan Klein wrote: Hi, I am trying to use the cocoon ant task to generate a static website. The error I am getting is: NoClassDefFound: org.w3c.dom.DOMError. Guessing that it should be in xml-apis.jar and checking, I found that the class, indeed, doesn't exist. Not in the lastest xml-apis.jar

Re: RegexpURIMatcher problem

2004-04-29 Thread Jakob
Thanks Bruno, that did the trick. A little trial and error showed also that the {1} ... placeholders can be used in the same way as for the wildcard matcher. This is logical, but wasn't explicited anywhere I looked. thanks again, Jakob. Bruno Dumon said: On Thu, 2004-04-29 at 12:37, Jakob

Re: Some Flow functions not found

2004-04-29 Thread John L. Webber
OK, thanks Bruno -- we're in the midst of a final deployment phase, so I guess I'll have to wait till after we've gone live and we can update to 2.1.4 (or whatever the current version by then is ;-) ). John Bruno Dumon wrote: On Thu, 2004-04-29 at 12:14, John L. Webber wrote: We're using

Antw: Re: ant static generation - class not found DOMError

2004-04-29 Thread Martin Geissler
Hello Stefan, I think I had a similar problem while using cocoon as a Ant task. Form my Ant(1.6.1) installation I copied the ant.bat file to myant.bat and inserted the following line somwhere at the beginning ot this bat-file SET

LDAPTransformer error.

2004-04-29 Thread grofcik.lan
Hello, When I use LDAPTransformer (cocoon 2.1.4), I obtained ClassCastException when I try to pass byte array to recodeFromLDAPEncoding((String) vals.nextElement()). Attribute password was represented as a byte array. I changed the code in the LDAPTransformer to recodeFromLDAPEncoding((String)

RE: RegexpURIMatcher problem

2004-04-29 Thread Carmona Perez, David
Have you looked at the Cocoon wiki? There is a lot of useful documentation. -Mensaje original- De: Jakob [mailto:[EMAIL PROTECTED] Enviado el: jueves, 29 de abril de 2004 14:14 Para: [EMAIL PROTECTED] Asunto: Re: RegexpURIMatcher problem Thanks Bruno, that did the trick. A little

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

continuation question

2004-04-29 Thread Vlad Ali
Hi all! Who can to explain to me continuation life cycle. What happend after form performing finished? Continuation cashed? For example: after filing form validation failed and cocoon return form page (http://xyz.12312.count) and user put it bookmark and closed session. After some days he

Re: RegexpURIMatcher problem

2004-04-29 Thread Jakob Fix
Carmona Perez, David DPerezCar at fcc.es writes: Have you looked at the Cocoon wiki? There is a lot of useful documentation. you bet I did. a search for RegexpURIMatcher [1] found one hit, the page about Matcher [2], where there's just one example. it seems to me that people rarely use

RE: RegexpURIMatcher problem

2004-04-29 Thread Carmona Perez, David
I use it a lot, and is quite powerful, but sometimes the expressions can become quite complicated. Me myself often add or complete content to the wiki, when something important is missing. It's very easy to do so. Another resource I use it's the source code. With tools like Eclipse is very

Re: sitemap-v06.rng

2004-04-29 Thread Martin Holz
Hi, Carmona Perez, David [EMAIL PROTECTED] writes: I propose to change the RelaxNG validation file sitemap-v06.rng in this way: Component declaration like map:generator, map:transformer, map:serializer, and similars would need to be: [Snipped concrete implementation] That is, to allow any

Re: sitemap.java

2004-04-29 Thread Christian Haul
Carmona Perez, David wrote: Hi all, Where can I find the generated sitemap.java in order to debug some problems I have? In Cocoon 2.0.4 I could find it in the configured work directory of my servlet. You won't -- in 2.1.x the sitemap is not compiled to java code anymore. Instead, the result of

RE: sitemap-v06.rng

2004-04-29 Thread Carmona Perez, David
Hi, I also use it for editing and validating with XMLBuddy and Eclipse. At least there should be some extension mechanism for custom components. -Mensaje original- De: news [mailto:[EMAIL PROTECTED] nombre de Martin Holz Enviado el: jueves, 29 de abril de 2004 16:17 Para: [EMAIL

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

cache question

2004-04-29 Thread Mark Lundquist
Hi, I have a map:transform in a map:resource. I made a change to the stylesheet named in the transform's @src, but it had no effect I would refresh the page in my browser and see no difference. Finally I figured out that my change was not the problem... apparently something is getting

Aggregation problem in subsitemap

2004-04-29 Thread Christian Rosenberger
Hello! I have a problem with the map:aggregate using a subsitemap. My subsitemap contains this section: map:match pattern=testagg.html map:aggregate element=merged map:part src=cocoon:/getA/ map:part src=cocoon:/getB/ /map:aggregate map:serialize type=xml/ /map:match

RE: Aggregation problem in subsitemap

2004-04-29 Thread Jeroen Reijn
Hi, If i understand your problem correct you should use map:mount to your work folder like: map:match pattern=work/** map:mount src=work/sitemap.xmap uri-prefix=work/ /map:match Greetz, Jeroen Reijn -Original Message- From: Christian Rosenberger [mailto:[EMAIL PROTECTED]

Re: Aggregation problem in subsitemap

2004-04-29 Thread Christian Rosenberger
Hi Jeroen! No, the mounting of the subsitemap works quite good. Can call every page in subsitemap within http://localhost/cocoon/work/ mountpoint. The problem is in the content aggregation of the subsitemap. It cannot find the matcher. I tried to use map:part src=cocoon://getA/ but also without

RE: Aggregation problem in subsitemap

2004-04-29 Thread Jeroen Reijn
Hi, looking at it again. I see something else: map:match pattern=getB map:generate src=http://localhost/testfileB.xml/ /map:match You need to define your serializer. What happens if your request the getB or getA directly. Does this give you any content? Jeroen -Original

Re: Woody - Submit widget - ConfirmationBox

2004-04-29 Thread Joerg Heinicke
On 29.04.2004 15:02, [EMAIL PROTECTED] wrote: 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 ?

JSP Generator question

2004-04-29 Thread Eddy Fras
Hi, Is it possible to avoid a JSP page to be reloaded and recompiled using the JSPGenerator in Cocoon when the file has been changed on filesystem ? The Tomcat settings seem to be ignored but perhaps it is normal because the JSPEngine object is created by Cocoon. Any ideas ? Thanks a lot, Eddy

Re: JSP Generator question

2004-04-29 Thread Joerg Heinicke
On 29.04.2004 19:50, Eddy Fras wrote: Is it possible to avoid a JSP page to be reloaded and recompiled using the JSPGenerator in Cocoon when the file has been changed on filesystem ? Don't you mean until the file has been changed on filesystem? The Tomcat settings seem to be ignored but perhaps

flowscript iterator JXT

2004-04-29 Thread beyaNet Consultancy
Hi, I have some java iteration code which I wish to convert into flowscript. I have imported the Iterator: importClass(Packages.java.util.Iterator); and the java code I want to convert is: Iterator i = OrderItems.iterator(); while (i.hasNext()) { OrderItem item = (OrderItem) i.next(); } Any

Re: flowscript iterator JXT

2004-04-29 Thread Upayavira
beyaNet Consultancy wrote: Hi, I have some java iteration code which I wish to convert into flowscript. I have imported the Iterator: importClass(Packages.java.util.Iterator); and the java code I want to convert is: Iterator i = OrderItems.iterator(); while (i.hasNext()) { OrderItem item =

Re: JSP Generator question

2004-04-29 Thread Eddy Fras
On 29.04.2004 19:50, Eddy Fras wrote: Is it possible to avoid a JSP page to be reloaded and recompiled using the JSPGenerator in Cocoon when the file has been changed on filesystem ? Don't you mean until the file has been changed on filesystem? No, I'd like to completely avoid having the

Re: JSP Generator question

2004-04-29 Thread Joerg Heinicke
On 29.04.2004 21:29, Eddy Fras wrote: Is it possible to avoid a JSP page to be reloaded and recompiled using the JSPGenerator in Cocoon when the file has been changed on filesystem ? Don't you mean until the file has been changed on filesystem? No, I'd like to completely avoid having the

Re: JSP Generator question

2004-04-29 Thread Eddy Fras
On 29.04.2004 21:29, Eddy Fras wrote: Is it possible to avoid a JSP page to be reloaded and recompiled using the JSPGenerator in Cocoon when the file has been changed on filesystem ? Don't you mean until the file has been changed on filesystem? No, I'd like to completely avoid

Re: Woody - Submit widget - ConfirmationBox

2004-04-29 Thread Bruno Dumon
On Thu, 2004-04-29 at 19:37, Joerg Heinicke wrote: On 29.04.2004 15:02, [EMAIL PROTECTED] wrote: 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

Re: Aggregation problem in subsitemap

2004-04-29 Thread Christian Rosenberger
Thanks, the serializer was missing. Stupid mistake... ;-) No, direct content. Regards, Christian - Original Message - From: Jeroen Reijn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 29, 2004 7:19 PM Subject: RE: Aggregation problem in subsitemap Hi, looking at it

usage statistics

2004-04-29 Thread Jasper Michalczik
Hello, can anyone tell me how to get statistics about the usage of a cocoon webapp running on tomcat? I couldnt find any hint on google, Thank you, Jasper Michalczik

Re: Woody - Submit widget - ConfirmationBox

2004-04-29 Thread Tim Larson
On Thu, Apr 29, 2004 at 10:19:32PM +0200, Bruno Dumon wrote: On Thu, 2004-04-29 at 19:37, Joerg Heinicke wrote: On 29.04.2004 15:02, [EMAIL PROTECTED] wrote: 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

RE: usage statistics

2004-04-29 Thread Ralph Goers
I don't know that there are any. I recently submitted a patch that allows you to register a RequestListener. I am using it to capture statistics and present them via JMX as Open MBeans. Unfortunately, this is done through our own proprietary framework that sits on top of the MBean spec so

Re: usage statistics

2004-04-29 Thread Yves Vindevogel
I use Apache together with Webalizer to get my statistics, even from a Cocoon site. I use ProxyPass and ProxyPassReverse to pass from Apache to Cocoon. Eg. Look at www.belgium-explorer.be - complete site in cocoon look at www.belgium-explorer.be/stats/index.html - stats on this using webalizer

Deli version

2004-04-29 Thread Eddy Fras
Hi all, Does anyone knows the difference between the 0.9.8b release of DELI available on the project website and the 0.9.8 release packaged with Cocoon 2.1.4 ? There is no note about the 0.9.8 build on the sourceforge page. Thanks, Eddy

Hibernate logging in cocoon?

2004-04-29 Thread Joel McConaughy
Is there a way to enable hibernate logging within cocoon? I've tried putting log4j.properties in the classpath but get nothing. THanks. joel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Hibernate logging in cocoon?

2004-04-29 Thread beyaNet Consultancy
Yep, i have log4j-1.2.7.jar in both web-inf/lib and web-inf/classes Peter On 29 Apr 2004, at 23:53, Joel McConaughy wrote: Is there a way to enable hibernate logging within cocoon? I've tried putting log4j.properties in the classpath but get nothing. THanks. joel

Re: Problems displaying image on the browser

2004-04-29 Thread Joerg Heinicke
On 29.04.2004 18:16, [EMAIL PROTECTED] wrote: We are trying to display image on the IE. The problem is that we are forced to specify the absolute path of the image, whereas the requirement is to specify the relative path. On the browser the the foll URL is typed for displaying the html page.

Re: How to do that with XSP ?

2004-04-29 Thread Joerg Heinicke
On 29.04.2004 17:10, [EMAIL PROTECTED] wrote: 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

Re: continuation question

2004-04-29 Thread Joerg Heinicke
On 29.04.2004 15:40, Vlad Ali wrote: Hi all! Who can to explain to me continuation life cycle. What happend after form performing finished? Continuation cashed? For example: after filing form validation failed and cocoon return form page (http://xyz.12312.count) and user put it bookmark

Re: LDAPTransformer error.

2004-04-29 Thread Joerg Heinicke
On 29.04.2004 15:05, grofcik.lan wrote: Hello, When I use LDAPTransformer (cocoon 2.1.4), I obtained ClassCastException when I try to pass byte array to recodeFromLDAPEncoding((String) vals.nextElement()). Attribute password was represented as a byte array. I changed the code in the

Re: sitemap.java

2004-04-29 Thread Joerg Heinicke
On 29.04.2004 16:51, Christian Haul wrote: Hi all, Where can I find the generated sitemap.java in order to debug some problems I have? In Cocoon 2.0.4 I could find it in the configured work directory of my servlet. You won't -- in 2.1.x the sitemap is not compiled to java code anymore. Äh,

Re: sitemap-v06.rng

2004-04-29 Thread Joerg Heinicke
On 29.04.2004 17:00, Carmona Perez, David wrote: Hi, I also use it for editing and validating with XMLBuddy and Eclipse. At least there should be some extension mechanism for custom components. Not only custom components, but all Configurable components need this non-restrictive validation. I

Re: [woody / cforms] woody-lib.js causes delay

2004-04-29 Thread Joerg Heinicke
On 29.04.2004 11:16, Niels van Kampenhout wrote: Hello list, In the case of a very large Woody form, it takes a lot of time (up to seconds) before a check (dis)appears in a checkbox after the user clicks in it. The same happens with radio buttons. It seems that this is caused by Woody's

Re: Cocoon, XML:DB and custom generator problem

2004-04-29 Thread Joerg Heinicke
On 28.04.2004 17:58, Christian Rosenberger wrote: The result is in a XMLResource instance. Part of my custom generator code: this.contentHandler.startDocument(); for (long i = 0; i result.getSize(); i++) { resource = (XMLResource)

can woody form definition be dynamically created from another pipeline new form(Url/to/another/pipleine) ??

2004-04-29 Thread lechael
I want to create a woody form whose definition iscreated dynamicly by another pipeline. the following sentencein woody2.jsreads form definition from a static file. var form=new Form(cocoon.paprameters["form-definition"]); Itried tochange the value of"form-defnition" to a url matched by

Best way to merge two xml files

2004-04-29 Thread David Swearingen
(Subject line of my post may be misleading.) What I'm trying to do is, when XSL processing of foo.xml is taking place, when a certain element is encountered in foo.xml, I want to insert content from someotherdocument.xml. It appears that the XSLT function document() does this. Is this the best

Re: cocoon forms - flow custom validator

2004-04-29 Thread Jakob Schwendner
Thanks very much for your help there. This is exactly what I was looking for. However, the snippets you have provided don't seem to work on my installation. this is what I have: form.getWidget().addValidator(newValidator(function(widget) { var loginWidget = widget.getWidget(login); if(

Re: sitemap-v06.rng

2004-04-29 Thread David Crossley
Martin Holz wrote: I use sitemap-v06.rng for editing the sitemap with oxygen and I like it to be very restrictive. So I do not always have to look into the docu to see how a configuration looks exactly. I do change the sitemap quite often but do not write new components very often, especially

Cocoon 2.1.5 And Hibernate : startup issues

2004-04-29 Thread iyy
Hi, I was successful in using Hibernate 2.1 under Cocoon 2.1.3. But when I try to start Hibernate 2.1 under Cocoon 2.1.5 . Hibernate fails when it tries to set up cache. I think that it is an issue with either commons-*.jar or x*.jar files. If any one knows how to solve this problem,

Silly Questions NO1: what does woodybinding do?

2004-04-29 Thread lechael
I read the documentation of woody forms and now I am reading the inbuilt sample: woody form GUI, I am confused. this sample seems to be quite different from those in the documentation. I have some silly questions. what does woodybinding do? in the documentation, it is saidbinding is for

Silly Question NO2: difference between row-path and row-path-insert

2004-04-29 Thread lechael
following is extracted from an inbuilt sample from cocoon's woody form. I don't quite understand what is the story. it seems: 1.wb:context matches with the root element "/wd:form"ofa woody form definition file. Is this right? 2. a class "widgets-class" is defined in "/wd:form/wd:widgets".

Silly Question NO3: wb:on-bind

2004-04-29 Thread lechael
I searched in google, it seems wb:on-bind is executed when an existing repeater row is updated or after inserting a new row, is it right? if it is,let'ssayit is invoked by updating an existing row, does this mean an new rowobject is created and the old one is discarded? wb:class

Silly Question NO4: jxpathPointer.getNode().getFirstChild()

2004-04-29 Thread lechael
4. in the "widget-row-class" definition, it seems that the path is still "/wd:form/wd:widgets". There are many nodes under this context, what does the following two line do? Why only the first Child? what is its localname? var node = jxpathPointer.getNode().getFirstChild();

Silly Question NO5: wb:case

2004-04-29 Thread lechael
There is a wb:case in "action-class", whatare the two values it compareswith? here, it inserts a node: wd:action/, which has a namespace of "wd" where is this node inserted, what does the following wb:struct do? wb:class id="action-class" wb:case id="action" path="." wb:insert-node

Silly Question NO5: wb:case

2004-04-29 Thread lechael
There is a wb:case in "action-class", whatare the two values it compareswith? here, it inserts a node: wd:action/, which has a namespace of "wd", thenwhere is this node inserted? to the form definition file? what does the following wb:struct do with this node? wb:class

Silly Question NO6: widget definition:

2004-04-29 Thread lechael
following is extracted from a form defnition file: 1.why should each itembe wrapped by wd:label in " wd:item value="action"wd:labelAction/wd:label/wd:item "? 2. does"" in'value=""'refer to"@id" inwd:struct? 3. what does 'case="type" ' mean? wd:class id="widget-row-class"