Re: Using the directory generator

2005-12-12 Thread Joerg Heinicke
On 12.12.2005 17:22, [EMAIL PROTECTED] wrote: xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:sql=http://apache.org/cocoon/SQL/2.0; xmlns:dir=http://apache.org/cocoon/directory/2.0.; Don't know if it is only a typo in the mail, but the namespace

Re: Cocoon 2.1.8 and JSP

2005-11-27 Thread Joerg Heinicke
On 23.11.2005 08:23, Gmail User wrote: In the samples it states that I have to configure something to make JSP examples to work. Can someone tell me what and where I should configure? Your question is to unspecific, that's probably the reason you did not get any answer up to now. What you

Re: CForms error: Invalid submit id (no such widget)

2005-11-27 Thread Joerg Heinicke
On 27.11.2005 15:24, Andreas Deininger wrote: Since I'm considering an upgrade to 2.1.8 I would like to ask whether the bug you mentioned is fixed in 2.1.8 already? Or in SVN only? Unfortunately only in SVN as Sylvain fixed the bug just a few minutes ago. Jörg

Re: Error in org.apache.cocoon.xml.dom.DOMStreamer.NamespaceNormalizingDOMStreamer or xerces DocumentImpl

2005-11-25 Thread Joerg Heinicke
On 25.11.2005 12:11, Michael Wirz wrote: I didnt find an answer as well: the data can be of zero length it is stated there but the technically possible null value is not mentioned. I could not find any place stating that null is not allowed except elsewhere mentioned... Why not just add the

Re: cocoon dependencies (was 'Distributing stand alone Cocoon apps')

2005-11-25 Thread Joerg Heinicke
On 24.11.2005 00:23, Bruyn Bill wrote: Actually, I was wondering about this just the other day - I just built a 2.1.8 distribution where exclude.all.blocks=true include.block.ajax=true include.block.forms=true But find 16.7MB worth of JAR files in my WEB-INF/lib. Surely I don't need

Re: xspAttr cannot be resolved in Cocoon 2.1.8

2005-11-22 Thread Joerg Heinicke
Alessandro Vincelli a.vincelli at w4b.it writes: I' am trying to pass to version 2.1.8 but I receive this error. xspAttr cannot be resolved I' m just viewed this new setting parameter name=attr-interpolation value=true/ parameter name=text-interpolation value=true/ is

Re: components not as factory or pooled

2005-11-21 Thread Joerg Heinicke
On 21.11.2005 13:17, Iacturus wrote: As the NonThreadSafeComponent uses some API which cannot be made threadsafe, there can only be one method of NonThreadSafeComponent executed at one time. I cannot change this API and it really has to be used exclusively. Why don't you make your

Re: Jetty and pgjdbc2.jar

2005-11-13 Thread Joerg Heinicke
On 13.11.2005 13:45, Yves Vindevogel wrote: I had put them in /webapp/WEB-INF/lib. That did not work. However, putting them in /tools/jetty/lib, did. When Jetty starts, it takes all the files from there by default. Ah yes, makes sense. It is the analogy to the way you wrote you did it with

Re: Jetty and pgjdbc2.jar

2005-11-12 Thread Joerg Heinicke
On 11.11.2005 18:59, Yves Vindevogel wrote: I need to connect Cocoon to a Postgresql db. Under Tomcat, I just put my jar in the lib dir of Tomcat. Is it the same under Jetty ? I put it in /lib/optional, but Jetty does not use it. Jetty does not load the files from lib/optional as this is

Re: Help with Component Configuration

2005-11-12 Thread Joerg Heinicke
On 12.11.2005 00:15, Matt Kendall wrote: I'm trying to write a component that will connect to CVS. I'm using a component because I need to interact with it from several different sitemap components, so I figured that this was easiest. The problem I'm having is that Cocoon doesn't seem to pick

Re: ConcurrentModificationException during auth-logout

2005-11-12 Thread Joerg Heinicke
Forwarding to dev list ... http://marc.theaimsgroup.com/?t=11302412582r=1w=4 Jörg On 25.10.2005 13:51, Fabrizio Sitzia wrote: Hello I'm using Cocoon's (2.1.7 flavour) authentication framework in my webapps. The webapps are heavily dynamic: Web requests are dispatched to the flow

Re: LinkTranslatorMapAction is now available anymore

2005-11-10 Thread Joerg Heinicke
On 10.11.2005 16:39, Jean-Christophe Kermagoret wrote: Hi, I want to use the webmail application provided in the mail block but the LinkTranslatorMapAction is not available anymore. Does anyone know where I could find this class ? Or maybe it has been replaced by another class or module

Re: Passing variables between XSL and JavaScript

2005-11-09 Thread Joerg Heinicke
On 08.11.2005 08:06, Derek Hohls wrote: axsl:attribute name=hrefcustdata_popup?bunit_num= xsl:value-of select='sql:row[2]/sql:param1'/xsl:attribute/a (be careful to avoid extra spaces and lines when using this approach) Above the extra spaces are only important infront and after the text

Re: Strange caching issue: need to reload twice

2005-11-03 Thread Joerg Heinicke
On 03.11.2005 20:42, Antonio Fiol Bonnín wrote: Hmm... could this be related to the refresh delay of the directory generator[1]? I also don't think that it is an issue of the delay. This would prevent checking the validness completely IIRC. - The logs show that the cached response *is*

Re: Problem with xercesImpl.jar in XALAN 2.7.0

2005-10-25 Thread Joerg Heinicke
On 25.10.2005 17:05, Andrew Le Quesne wrote: Hi, Thanks for your reply. I am running cocoon 2.1.6. At the cocoon get together there was a talk about Xalan 2.7.0 being more efficient. What does AFAICT mean? I am not sure what As Far As I Can Think. you are suggesting - that I should upgrade

Re: Question about XSLTC

2005-10-23 Thread Joerg Heinicke
On 20.10.2005 15:49, MAHE Vincent RD-TECH-REN wrote: Hello, I try to use XSLTC to have better performances with my Cocoon webapp. In my file sitemap.xmap, I have replaced : xslt-processor-rolexalan/xslt-processor-role By xslt-processor-rolexsltc/xslt-processor-role It works fine but I would

Re: Comfortable way to include only 2 blocks?

2005-10-23 Thread Joerg Heinicke
On 23.10.2005 20:42, Sandor Spruit wrote: Is there a comfortable way to include only a few blocks in a build? I see 'Exclude all', 'include all'. Is there a neat trick for 'ok, exclude them all, but'? That's exactly how it works I was told. You need a recent checkout for this behaviour -

Re: VelocityGenerator: error when sending string containing ampersand

2005-10-23 Thread Joerg Heinicke
On 21.10.2005 11:30, Andreas Deininger wrote: Hi, I wrote the following, very simple flowscript: function velotest() { cocoon.sendPage(abstract.vm, { test : vmvm } ); } With abstract.vm being an velocity template processed by the Velocity Generator: ?xml version ? data$test/data I

Re: Setup OK, ad new user error

2005-10-23 Thread Joerg Heinicke
On 22.10.2005 22:47, Jim Douglas wrote: I set up Lenya and Cocoon and when adding a new user in Lenya, I get an error page returned with the info down below. This seems to be a Lenya specific question, so it is more likely you will get an answer on their users list:

Re: Dynamic Selection List in a Repeater

2005-10-19 Thread Joerg Heinicke
(CCing Daniel as the original thread started 4 months ago.) On 22.06.2005 05:26, Daniel Curran wrote: I have a dynamic selection list that queries a database for its values. I now put the selection list into a repeater and I am having issues with load (imagine that). Is there a way to cache

Re: [Fwd: RE: Unintentional Caching with Tomcat 5.5.x]

2005-10-16 Thread Joerg Heinicke
On 15.10.2005 19:07, Carsten Ziegeler wrote: The uri is used as a default for the cache key. You can include parameters and any additional information in the key if you need to. You can define your own cache key by setting a parameter on the pipeline: map:pipeline type=expires map:parameter

Re: WebDAV issue in 2.1.8

2005-10-14 Thread Joerg Heinicke
On 13.10.2005 17:06, Jean-Baptiste Quenot wrote: map:generate type=xpathtraverse src=webdav://management2/toc-repo/ What is xpathtraverse? XPathTraversableGenerator Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Groovy and CForms / Flowscript

2005-10-12 Thread Joerg Heinicke
On 04.10.2005 10:26, Derek Hohls wrote: I was wondering if anyone had any experience - and therefore samples! - of working with Groovy - for backend logic and database interaction (CRUD), and accessing CForms / Flowscript - in an application environment... any hints or shared code would be

Re: Can caching be forced?

2005-10-04 Thread Joerg Heinicke
AFAIR scratchpad block[1] from Cocoon 2.1.6 makes it possible, unfortunately it has been removed in 2.1.7. I think the only solution is to do a checkout from 2.1.6 for this block and patch some files (blocks.properties and any other?). I guess it is easier to checkout the scratchpad block

Re: Checking all keys are translated - done before ?

2005-10-04 Thread Joerg Heinicke
Thomas Lutz mattom at gmx.at writes: Maybe it's possible to create some sort of file crawler, that applies the I18N transformer to the files when deploying ? That's not possible neither. Imagine an XML that contains the i18n keys not in i18n namespace, an XSLT converts them to i18n. Or even

Re: (SOLVED) handle-errors losing HTTP Session?

2005-09-30 Thread Joerg Heinicke
On 30.09.2005 23:18, Dustin N. Jenkins wrote: I wasted twenty-six hours trying to get this straightened out, so here's the solution so nobody else will have to. Instead of using ${cocoon.session.blah}, I had to change it to ${session.getAttribute('blah')}. For some reason the cocoon.session

Re: (SOLVED) handle-errors losing HTTP Session?

2005-09-30 Thread Joerg Heinicke
On 30.09.2005 23:48, Dustin N. Jenkins wrote: Really? I thought that was just for developers of Cocoon, I didn't know if anybody could subscribe to it. Thanks Yes, really :) Anybody can subscribe to the dev list and follow the development of Cocoon. What you described below seems to be a

Re: Cocoon 2.1.t: is it still difficult to embed a CForm into legacy pages?

2005-09-18 Thread Joerg Heinicke
On 13.05.2005 14:59, Enrico Migliore wrote: I think that Cocoon should not introduce tags like html or body in the process. Those tags should be introduced by the user. You can't imagine how many hours I spent in modifying those XSL stylesheet. This is not the case since really a long time.

Re: CookieCreatorAction in 2.1.7

2005-09-17 Thread Joerg Heinicke
On 10.05.2005 22:09, Silvela, Jaime (Exchange) wrote: I've just started using Cocoon 2.1.7 and have to port to it a website that was built using 2.1.6 I can build the website just fine, but when I go to it from my browser, it complains Could not load class

Re: File checking in the sitemap

2005-09-08 Thread Joerg Heinicke
On 08.09.2005 11:44, Bart Molenkamp wrote: I don't think that this selector will always work. Maybe for files, but other sources (such as cocoon://) always return true on Source.exists(). Derek only wants to check for file existence, so that's no problem. He only wants to react with

Re: AW: CLI - command line interface

2005-09-01 Thread Joerg Heinicke
On 01.09.2005 18:38, service wrote: Thank you Jeroen, It looks to me that you are missing the servletapi jar file. Name should be something like: servletapi-2.3.jar Yes, it is located in the tomcat common/lib directory: servlet-api.jar. But why is it relevant for the CLI? I thought it

Re: [ANN] Forwarding Servlet Generator/Transformer

2005-09-01 Thread Joerg Heinicke
On 01.09.2005 02:49, Jon Merriman wrote: I have been sitting on this code for some time now and I would like to get some feedback on it. In a nutshell, it allows servlets to be invoked using the container's RequestDispatcher method and the result parsed as SAX events. My motivation was

Re: aplet, images and fragment extractor

2005-09-01 Thread Joerg Heinicke
On 01.09.2005 06:46, Andres Taborda wrote: I have this source in an page html, the images is an file jpg. applet codebase=/java/jBox archive=jBox.jar code=jBox.class width=500 height=350 name=jBox MAYSCRIPT

Re: [ANN] Forwarding Servlet Generator/Transformer

2005-08-31 Thread Joerg Heinicke
On 31.08.2005 00:44, Jon Merriman wrote: I have been sitting on this code for some time now and I would like to get some feedback on it. In a nutshell, it allows servlets to be invoked using the container's RequestDispatcher method and the result parsed as SAX events. My motivation was to

Re: HttpUtils.getRequestURL

2005-08-31 Thread Joerg Heinicke
On 28.08.2005 23:08, [EMAIL PROTECTED] wrote: I'm trying to call this from an XSP logicsheet : StringBuffer URL = HttpUtils.getRequestURL(request); ... but I get this error : / start error (lines 195-195) The method getRequestURL(HttpServletRequest) in the type HttpUtils is not applicable

Re: Missing classes building 2.1.7

2005-08-30 Thread Joerg Heinicke
On 30.08.2005 02:08, Peter Flynn wrote: (Actually I meant, when the .war file was distributed ducking :-) ;-) Just did that. I was hoping it would work when I hit up localhost:8080 for the tomcat home page prior to trying localhost:8080/cocoon and the disk light went on solid and I could

Re: directory generator depth 2 (sort + regexp)

2005-08-30 Thread Joerg Heinicke
On 30.08.2005 11:57, Reinhard Haller wrote: Hi, I want to collect a set of the newest news snippets out of a nested directory structure like maindir --+--subdir1--+--file1.xml | +--file2.xml +--subdir2-file3.xml +--subdir3--+--file4.xml

Re: What happen to swf block ?

2005-08-30 Thread Joerg Heinicke
On 30.08.2005 21:07, Marc Salvetti wrote: All this discussion about laszlo reminded me that there is a swf (thats for shockwave flash i guess) block that is deprecated. Does anyone know if another block has replaced it ? http://marc.theaimsgroup.com/?t=10862662007r=1w=4

Re: Missing classes building 2.1.7

2005-08-30 Thread Joerg Heinicke
On 30.08.2005 23:57, Peter Flynn wrote: Having tracked down the tomcat logs to /var/log/tomcat5 (thank you Red Hat), we see: (this was the day before, when I did a build webapp) INFO: Installing web application at context path /cocoon from URL file:/var/lib/tomcat5/webapps/cocoon - Reading

Re: Missing classes building 2.1.7

2005-08-29 Thread Joerg Heinicke
On 29.08.2005 01:12, Peter Flynn wrote: Umm...now that it's built OK, I moved webapps to tomcat/webapps/cocoon and copied the xalan etc, and restarted tomcat, but tomcat says Servlet Cocoon is not available. sigh/ It was sooo much easier with a .war file. Why don't you do it that way the?

Re: Missing classes building 2.1.7

2005-08-28 Thread Joerg Heinicke
On 28.08.2005 21:54, Peter Flynn wrote: I downloaded 2.1.7 on a fresh installation of FC4 with the Tomcat 5.0 RPM and Sun's JDK 1.5.0_04. When I tried ./build.sh it went through the motions, but came up with two errors: java.lang.ClassNotFoundException:

Re: Missing classes building 2.1.7

2005-08-28 Thread Joerg Heinicke
On 28.08.2005 23:55, Peter Flynn wrote: Aha. Grrr. Thank you...OK, soft links to their binaries removed, and I updated the Wiki page at http://wiki.apache.org/cocoon/Installing to reflect the changes for FC4. Thanks. I wasn't seeing the Could not create task or type of type: if. error so I

Re: BUILD FAILED: Could not create task... : if

2005-08-22 Thread Joerg Heinicke
On 22.08.2005 22:42, Martin Brüggebors wrote: First: Use the ant that was shipped with cocoon (in cocoon-2.1.7/tools) by setting ANT_HOME=./cocoon--2.1.7/tools. I did not try that, but it should work. Cocoon actually sets ANT_HOME to its ant, but there is an option in the ant scripts

Re: ant echo problem in cocoon tutorial

2005-08-21 Thread Joerg Heinicke
On 21.08.2005 07:02, Ron Wheeler wrote: http://cocoon.zones.apache.org/daisy/cocooninaction/14.html is the URL of the tutorial that I am trying to follow. The file that is part of the tutorial does not have CDATA in it and I assume that the author has tested it That is why I suspect that

Re: ant echo problem in cocoon tutorial

2005-08-21 Thread Joerg Heinicke
On 21.08.2005 07:02, Ron Wheeler wrote: I am reluctant to start correcting a tutorial when I am just starting out using Cocoon. I guess you viewed the file at http://cocoon.zones.apache.org/daisy/cocooninaction/17/version/1/part/4/data/build-cocoon-targets.xml?branch=mainlanguage=default

Re: ant echo problem in cocoon tutorial

2005-08-21 Thread Joerg Heinicke
On 21.08.2005 21:07, Ron Wheeler wrote: The light just came on. When I clicked on the link to the file, Firefox opened it in browser window and I just copied and pasted it. Probably Firefox removed the CDATA. How should I have picked up the file? Right click and Save link target as

Re: Mo: BUILD FAILED: Could not create task...

2005-08-19 Thread Joerg Heinicke
On 19.08.2005 17:27, AD Marshall wrote: thanks ivan. i'm going to try JD's suggestions first (similar BUILD FAILED thread) and, if they don't work, i've downloaded the ant tarball already. I don't know if it's the same issue as with my Fedora Core 4, but I wasn't able to build cocoon until

Re: distribute Cocoon via Java Web Start

2005-08-14 Thread Joerg Heinicke
On 15.08.2005 00:51, THUFIR HAWAT wrote: I know that the developers have reasons for deciding not to distribute binaries, but as someone just coming to Cocoon I'd rather deal with binaries. It seems out of sync with the rest of the world. With Cocoon 2.2 based on OSGi we will most probably

Re: target release 1.3 conflicts with default source release 1.5 (on daily snapshot)

2005-08-04 Thread Joerg Heinicke
On 04.08.2005 21:13, Ray Allis wrote: Compiling 268 source files to /export/home/ray/cocoon-2.1/build/cocoon-2.2.0-dev/blocks/forms/dest /export/home/ray/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/event/ProcessingPhase.java:22: as of release 1.5, 'enum' is a keyword, and may not

snapshot releases (was: target release 1.3 conflicts with default source release 1.5 (on daily snapshot))

2005-08-04 Thread Joerg Heinicke
On 04.08.2005 22:20, Joerg Heinicke wrote: Compiling 268 source files to /export/home/ray/cocoon-2.1/build/cocoon-2.2.0-dev/blocks/forms/dest /export/home/ray/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/event/ProcessingPhase.java:22: as of release 1.5, 'enum' is a keyword, and may

Re: sitemap error

2005-08-03 Thread Joerg Heinicke
On 03.08.2005 19:37, Pokuru, Rao wrote: After i changed sitemap.xmap, i rebooted the tomcat and tried to access URL. At this point it should generated new sitemap_xmap.java and corresponding class files in the WORK folder, but it doesn't. Sometimes, i am getting NO MORE DTM IDs available

Re: Dynamic SVG with XSL

2005-07-28 Thread Joerg Heinicke
On 28.07.2005 01:16, Andres Taborda wrote: hello list, I are generate an document xml and display an part html + image svg. my source code have an fragment of svg (svg.. /svg) the browser display none 0 result. only the content html (tables, fonts,etc). the image svg not show the plugins of

Re: Build error using Eclipse

2005-07-27 Thread Joerg Heinicke
On 27.07.2005 21:14, Ron Wheeler wrote: [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found. You obviously need ant-contrib.jar. Joerg - To unsubscribe, e-mail:

Re: Javadoc buld error in Eclipse

2005-07-27 Thread Joerg Heinicke
On 27.07.2005 22:49, Ron Wheeler wrote: The build failed while trying to generate the javadocs. It looks like the command line is truncated but I am not sure if this is the problem or just a coincidence. Is there an obvious error in my setup? I don't think so. We have the same problem with

Re: document(...) broken when using xsltc

2005-07-27 Thread Joerg Heinicke
On 27.07.2005 15:54, Antonio Fiol Bonnín wrote: I have been changing my transforms to execute with XSLTC instead of interpreted Xalan. However, some of them did not work properly, showing erratic behaviour, or even throwing NullPointerException. In most cases (if not all), I have tracked the

Re: Error in forms-field-styling.xsl in svn

2005-07-27 Thread Joerg Heinicke
On 26.07.2005 13:54, Christoph Hermann wrote: input type=button id=[EMAIL PROTECTED] name=[EMAIL PROTECTED] value=... onclick=forms_submitForm(this)/ where it should be input type=button id=[EMAIL PROTECTED] name=[EMAIL PROTECTED] value=... ^^

Re: html -2- xhtml - 2- xsl - fo

2005-07-26 Thread Joerg Heinicke
On 26.07.2005 02:39, Michael Thermos wrote: Hallo ! I'm a new student of cocoon and i needed to convert a cform to pdf. I asked help for a friend who suggested i should read http://www.mail-archive.com/cocoon-users@xml.apache.org/msg17073.html where it is suggested to use a double transform

Re: html -2- xhtml - 2- xsl - fo

2005-07-26 Thread Joerg Heinicke
On 26.07.2005 16:10, Michael Thermos wrote: The problem with your suggestion is that it is throwing an exception map:call function did not send a response, at file:/C:/apache_tomcat/Tomcat%205.5/webapps/cocoon/test/sitemap.xmap:93:40 . which is has related to handleForm function inside

Re: Dynamic SVG bar graph

2005-07-26 Thread Joerg Heinicke
On 26.07.2005 18:55, Jarry Liu wrote: I am very interested with this topic. Can you give me more information about this SVG and Fragment Extractor? The FragmentExtractor{Generator|Transformer} can be found in the batik block in 2.1.7 or in the core since a few days (as it is not really tied

Re: Dynamic SVG bar graph

2005-07-26 Thread Joerg Heinicke
On 26.07.2005 19:50, Jarry Liu wrote: Yes, I can also add some html stuff in svg file to reach my goal. What I mostly concern is how I can output html and svg in the same page. Is there any other serializer I can use to show svg except svgxml? From what I see FragmentExtractor* is really the

Re: html -2- xhtml - 2- xsl - fo

2005-07-26 Thread Joerg Heinicke
On 26.07.2005 19:55, Michael Thermos wrote: I just found a new html2xhtml(from docbook project) file which seems to be working. The problem i stated previously i believed was dued to calling a new pipeline before finishing the application control flow with

Re: cinclude doesn't cinclude, only garbles its input

2005-07-26 Thread Joerg Heinicke
On 26.07.2005 22:06, Lars Huttar wrote: More data: The above weird behavior with cinclude seems to be tied to Java 1.5. In the following environments, the weird behavior occurs: ... So... anybody know why cinclude would misbehave under Java 1.5? If I were to run Cocoon in a Java debugger

Re: DatabaseReader problem with 2.1.7, help needed

2005-07-16 Thread Joerg Heinicke
On 17.07.2005 00:36, Tuomo L wrote: Thanks, I tested the sample, and it does work with HSQLDB. But when I tested it against SQL Server with similar results I got before: Upload works but reading the file with DatabaseReader returns 0 bytes. :( So, my guess is, something has changed between

Re: Problems wirh HSSF/XLS-Serializer(Styles)

2005-07-13 Thread Joerg Heinicke
The HSSF/XLSSerializer does not support that much functionality, but it supports at least some stylings. If you have a look into the samples delivered with Cocoon you can see samples for formatting dates and for alignment. For the NPE I don't know, I never came across it. And I guess the

Re: Problems to generate Date format in Excel

2005-07-08 Thread Joerg Heinicke
On 31.03.2005 11:40, Mirko Freisleben wrote: Hi all, I´m trying to generate an Excel-Sheet from an xml-File here is what I´m doing xsl:when test=position()=40 gmr:Cell ValueType=-1 xsl:attribute name=Row

Re: TDD with Cocoon?

2005-06-25 Thread Joerg Heinicke
On 23.06.2005 21:25, Berin Loritsch wrote: b) JUnit test cases which run in a Generator, for higher-level tests which need access to more of the application's environment Now, how does this work? Do you have an example of that? Another approach for inserver JUnit testing:

Re: JSPReader + JSTL import locking up Tomcat

2005-05-23 Thread Joerg Heinicke
On 12.08.2004 15:04, Morley Howell wrote: Hi all, I'm using the JSPReader to execute a JSP page that uses the JSTL. If I use a c:import tag in the JSP file with a relative URL, Tomcat spikes to 100% CPU usage, consumes all available memory, and never returns a page. The exact same page executed

Re: XMLReader question

2005-05-23 Thread Joerg Heinicke
On 01.10.2004 15:03, JACOB, ERIC wrote: Hi, I use the XMLReader class into a custom transformer to parse an XML string like the following: this.sendStartElementEvent( ROOT_ELEMENT ); XMLReader xmlReader = XMLReaderFactory.createXMLReader(); xmlReader.setContentHandler( super.xmlConsumer );

Re: i18n-transformer questions

2005-05-23 Thread Joerg Heinicke
On 04.08.2004 15:15, Gerald Aichholzer wrote: Hi all, I have just read much information about the i18n-transformer, but some things are still unclear: - I have two message catalogues named message.xml and message_fr.xml. Do I have to supply a translation for each key in message_fr.xml or

Re: Struts with cocoon problem

2005-05-23 Thread Joerg Heinicke
On 04.01.2005 07:42, Siva wrote: Hi , I am new to cocoon and I am using cocoon with struts using Struts- cocoon plugin.In this, i am getting XML output from the action class(making form bean,request and session objects as XML),now I want to process that XML with xsl using cocoon

Re: Creative Ideas on How to Cache Pipelines Containing Non-Cacheable Generator?

2005-05-23 Thread Joerg Heinicke
On 19.01.2005 16:19, David Swearingen wrote: I store all my content for a Cocoon site in xml files. This means I make a lot of use of the DirectoryGenerator. It works great, but I've got now some legacy .pdf files from another project, sometimes hundreds per directory, sometimes on another

Re: Redirector

2005-05-23 Thread Joerg Heinicke
On 06.01.2005 12:39, Ben Anderson wrote: The reason I wrote this is because I have a pipeline which I want to execute some db updates via the sqltransformer. But then I want to redirect that pipeline to another pipeline based on a hidden parameter I've kept in a form. The problem I'm having

Re: CForms sharing definition files

2005-05-23 Thread Joerg Heinicke
On 23.02.2005 05:22, Marc Salvetti wrote: If you have access to the required data for the required fields, i think the easy way is to hide/disable theses fields in the template, if you don't, well, sharing the definition file seems to be paradoxal :-) No, it is not. It's exactly what the

Re: Best practice for conditionally displaying widgets?

2005-05-23 Thread Joerg Heinicke
On 23.02.2005 23:04, Linden H van der (MI) wrote: Can anyone give ideas on the best practice for displaying/hiding widgets based on some external condition? I need to build an order form that needs extra widgets in the English version and the selection list of another widget has more options

Re: i18n-transformer questions

2005-05-23 Thread Joerg Heinicke
have no internet access yet on my new residence I did it offline and sent them today collectively. Joerg On 23.05.2005 14:27, Gerald Aichholzer wrote: Hi Joerg, Joerg Heinicke wrote: On 04.08.2004 15:15, Gerald Aichholzer wrote: ^^ I'm quite surprised to read an answer

Re: DList in flow script

2005-03-19 Thread Joerg Heinicke
On 18.03.2005 02:02, Johnson wrote: I try var abean = new Packages.org.odmg.Implementation.newDList(); new is to be used with constructors like in Java. newDList() is no constructor I assume, but a static method. So what about var abean = Packages.org.odmg.Implementation.newDList(); ?? Joerg

Re: DList in flow script

2005-03-17 Thread Joerg Heinicke
On 17.03.2005 17:20, Johnson wrote: Hi! How to define a DList in flow script. I try a=new org.odmg.DList() or a=new net.sf.hibernate.odmg.Implementation.newDList() both error. I don't know how much has changed since the last time I tried it out (2.1.6, still with old Rhino), but at

Re: wml serialize

2005-03-06 Thread Joerg Heinicke
On 05.08.2004 06:03, Adriano Smith wrote: If i have to use a transform for generating wml content...then, what is the exact use of a wml serializer ? The serializers are transforming the SAX events into bytes, which are sent back to the clients. But the serializers must be fed with the correct

Re: CForms: collapsing repeaters

2005-03-06 Thread Joerg Heinicke
On 04.08.2004 05:40, Scott Yeadon wrote: Hello, Is there a facility via the Java API to be able to make widgets hidden on redisplay of a page, e.g. for providing a facility for collapsing repeaters or treeview-type structures in a form? Although I could remove rows and keep the repeater info

Re: encoding problem

2005-02-05 Thread Joerg Heinicke
On 28.07.2004 12:03, Jan Hoskens wrote: Hi, I'm currently facing the following problem: I've set the encoding in my serializers to ISO-8859-1 and checked the web.xml file (utf-8 is in comment, defaults to the ISO-8859-1) Everything is ok (special chars in cforms offer no problem, saving the

Re: xsl:processing-instruction name=php question

2005-02-05 Thread Joerg Heinicke
On 04.02.2005 15:40, anthony herve wrote: Hello, I try to include in a xsl document a php tag but I get an error I can't solve. My xsl:processing-instruction is as follows : xsl:processing-instruction name=php xsl:text $url = http://spy1.spywords.com/?; . sid= . . url= .

Re: Adding date and time to a xml file

2005-01-17 Thread Joerg Heinicke
In the mail http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=110583089425658w=4 I wrote it's just the proof of principle. Using form.getWidget(myDate).value = new Packages.java.util.Date(); in the flowscript makes your flowscript dependent on the form - what it should not be. The correct

Re: Adding date and time to a xml file

2005-01-15 Thread Joerg Heinicke
On 15.01.2005 14:28, lincoln wrote: I have a form that once submitted will append data to the end of an XML file. I also need to append the date and time that this data was added. eg: root data dateTimeThur.../dateTime x.../x y.../y z../z /data data

Re: Adding date and time to a xml file

2005-01-15 Thread Joerg Heinicke
On 15.01.2005 23:27, Lincoln Mitchell wrote: I will need a bit more guidance on how to set the value of the field to new Packages.java.util.Date(). As there appears to be a few locations that relate to saving the form and I have only little Java experience. My binding file is: That's not the

Re: Adding date and time to a xml file

2005-01-15 Thread Joerg Heinicke
On 16.01.2005 00:38, Lincoln Mitchell wrote: Almost there now get error: --- Tried to set value of output widget data.dateTime with an object of an incorrect type: expected class java.util.Date, received class java.lang.String. Sounds good :-) ...but datatype base=date: fd:output id=dateTime

Re: TransformerException Invalid element name

2005-01-09 Thread Joerg Heinicke
On 09.01.2005 11:35, Anna Afonchenko wrote: Hello all. I have an xsl stylesheet that has the following template: xsl:template match=node()[not(name()='br' or name()='area' or name()='img' or local-name()='meta' or name()='link' or name()='input' or

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

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

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: jsp:include and JSP-Reader (IllegalStateExc.)

2004-12-09 Thread Joerg Heinicke
On 09.12.2004 10:08, Kees van Dieren wrote: I've been trying to make dynamic includes work in JSP work, for more than a day. Sadly it seems to be impossible to dynamicly include another JSP in a JSP. I also tried the c:import tag, which is from the JSTL spec, but it doesn't work also. The only way

Re: 2.1.6 build fails looking for TraXLiaison

2004-12-08 Thread Joerg Heinicke
On 08.12.2004 20:24, gregster wrote: I'm trying to run a build of 2.1.6 and I'm getting a failure like this: BUILD FAILED /home/myHomeFolder/cocoon-2.1.6/tools/targets/compile-build.xml:223: java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.TraXLiaison Never heard of

adding personal blocks to Cocoon build (was: 2.1.6 build fails looking for TraXLiaison)

2004-12-08 Thread Joerg Heinicke
On 08.12.2004 23:01, Greg Newton wrote: I want to incorporate the eXist xml database (http://exist-db.org/) into my builds of Cocoon and I'd like to do it as a block (unless there are compelling reasons to do it another way). Are there good (read no assumptions made about my competence level)

Re: 2.1.6 build fails looking for TraXLiaison

2004-12-08 Thread Joerg Heinicke
On 08.12.2004 23:13, Antonio Gallardo wrote: Greg: I found on cocoon wiki some links to exists: http://wiki.apache.org/cocoon/ Some of them: http://wiki.apache.org/cocoon/EXistAsBlock http://wiki.apache.org/cocoon/EXistInCocoon But you can search for other links inside the wiki. :-D I'm impressed!

Re: 2.1.6 build fails looking for TraXLiaison

2004-12-08 Thread Joerg Heinicke
On 08.12.2004 23:46, Bruce Robertson wrote: I'm impressed! What a community :-) Unfortunately the main link to http://heml.mta.ca/releases/exist_as_block/ is broken. Odd. I'm sitting at that machine right now, and it works locally and when I ssh into a machine at virginia.edu Strange, yes, it

Re: [CForms] booleanfield, on-value-change = display form fields

2004-12-07 Thread Joerg Heinicke
Don't know about this sample, but it should be similar. Referencing the boolean field as case widget should work IIRC. I have done it myself, I could have a look at latest at monday. The rest should be the same like the selection list sample. I promised something, but did not make it to send it

Re: AW: [SPAM] saxon:while suuport xslt cocoon

2004-12-02 Thread Joerg Heinicke
On 02.12.2004 09:40, Merico Raffaele wrote: PS: In the wiki it says: Add saxon8.jar to lib/local/. What does lib/local mean? In Tomcat there is not a lib/local. lib/local is in Cocoon source home directory. Joerg - To unsubscribe,

Re: [CForms] Losing identity values in repeater. Please help!

2004-12-01 Thread Joerg Heinicke
On 01.12.2004 08:46, [EMAIL PROTECTED] wrote: fb:repeater id=appointments parent-path=. row-path=lists/appointments fb:identity fb:value id=ID path=id/ Additionally I have added direction=save to my ID fields, ?? Shouldn't this be direction=load ? Of course. Sorry. so that they

Re: [Cforms] Correct syntax for binding bean in repeater?

2004-11-30 Thread Joerg Heinicke
On 30.11.2004 18:57, [EMAIL PROTECTED] wrote: Hi guys (and gals), Please help, I'm fiddling with this for the last week and I cannot get it to work properly. Situation: I have a bean (it's rather complicated for a bean) that holds a map of lists that I want to edit in a repeater. I either get

Re: [Cforms] Correct syntax for binding bean in repeater?

2004-11-30 Thread Joerg Heinicke
On 30.11.2004 21:57, [EMAIL PROTECTED] wrote: This method adds the new AppointmentBean to the list of appointments, something like: public void add(AppointmentBean ab) { this.lists.appointments.add(ab); } I know this is how the add method should work then, but the problem is that I have a

Re: [CForms] Losing identity values in repeater. Please help!

2004-11-30 Thread Joerg Heinicke
On 01.12.2004 00:25, [EMAIL PROTECTED] wrote: I finally have my repeater working, but now something odd happens: I loose the value of the widget that is defined as identity, which results in all existing rows being added as new. I suppose I'm doing something wrong, but I cannot figure out what.

<    1   2   3   4   5   6   7   8   9   10   >