RE: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Josema Alonso
Ouch...I forgot to include the URL. I'm sorry. http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormXindice Thanks :) -Mensaje original- De: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 23 de enero de 2003 4:24 Para: [EMAIL PROTECTED] Asunto: Re: XMLForm Xindice Howto added to

RE: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Antonio Gallardo
Hi! I strongly believe in XForms, but the sample you pointed show that the use with Java Beans for DB connectivity and data validation is currently too complex. I am thinking in what will happen if every form will be code like the example in a huge application? What about changes in the large DB

cinclude element????

2003-01-23 Thread Hong Gia Dinh
Title: cinclude element Hi all, I am using cinclude, i want to include all of the elements of an xsp file into other one!!! how can i include all element?? how to declare in include ?? i just can include one element like this : cinclude:include src="" HREF=""

Re: Antwort: i18n more!!!!!!!!! :(

2003-01-23 Thread Konstantin Piroumian
RE: Antwort: i18n more! :(Take a look at the i18n samples XSP page (/samples/i18n/simple.xsp) source. There is a form field where you can enter text in any (supported by Java/Xalan) encoding and then get it back on the same page (see Hello Tomcat! message). I've checked that for all the

Re: Xindice in Cocoon

2003-01-23 Thread Boris Althaus
Hallo Leona, you could try to use eXist, which is based on Xindice and has a logicsheet für inserting and retrieving xml-documents and there is a quit good documentation, how to integrate into cocoon. Boris - Original Message - From: leona s To: [EMAIL PROTECTED]

Xindice or eXist

2003-01-23 Thread conrad
Hi As in topic which of this two do you recommend to use with Cocoon I'm interested in stability and performance The plans are to use a lot of rather docs about 20-50 kb each and about 50 concurent users. -- Best Regards Conrad [EMAIL PROTECTED]

Problem with an xsp-java transformation

2003-01-23 Thread Ducrocq, Henri
Hi, I'm currently trying to run Cocoon 2.0.3 under Weblogic 6.0sp1, with Xalan 2.3.1 and Xerces 2.0, and I have the exception shown below when I try to display any XSP page. The problem apparently occurs when trying to transform the .xsp file using the transformation defined in the following xsl

xindice XMLObject and cocoon

2003-01-23 Thread Yury Mikhienko
Hi all! How I can use the xindice XMLObject in cocoon2.0.4 XMLDBSource reader (may be via #query)? Thanx for advise. -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - Please check that your question has

Castor Transformer

2003-01-23 Thread Harald Wehr
I am using a Cocoon-Developer-Snapshot from October this year. The Castor Transformer i fetched from CVS. Unfortunately this class uses a lot of deprecated stuff. Additionally i have to serialize a java-object stored in my xmlform. So i tried to write my own transformer. The code is attached

RE: Castor Transformer

2003-01-23 Thread Michael Homeijer
Hi Harald, Have a look at: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12993 it contains a pretty nasty workaround for the problem and works with castor-0.9.4. If you find a better solution please let us know. Right now I am working on a new version of the transformer that can use input

.Net port of Cocoon

2003-01-23 Thread arjen stolk
I have heard some rumours about a .Net port of Cocoon. What about it? One of the reasons that our company has decided not to use Cocoon is the fact that we have an existing webapplication with MS COM+ components running on IIS. We didn't see any possibility to incorporate a java application

RE: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Josema Alonso
Hello. First of all, thanks for commenting on this. Comments inline... I strongly believe in XForms, but the sample you pointed show that the use with Java Beans for DB connectivity and data validation is currently too complex. I am thinking in what will happen if every form will be code like

Re: .Net port of Cocoon

2003-01-23 Thread Andreas Bednarz
Hi There, I would completely enjoy using a port of cocoon for .NET. Following the newsgroup since 6 month there are many topics inside cocoon that could be mastered by .NET easilly without the overhead you have in java. Hope that somebody will start such a project and gives us a framework

Is FileGenerator doing URL encoding?

2003-01-23 Thread Rui Leal
Hello !! I'm using cocoon 2.0.4 to develop a prototype of a small webapp which has Tamino XML Server as data repository. Tamino allows me to pass a HTTP xquery (using x-machine) to the database.. like this http://databasehost/tamino/databasename/col?_xquery=input()/* So .. with cocoon i'm

RE: Portal bug? - Using SessionTransformer inside coplets

2003-01-23 Thread Alex Romayev
Hi Matthew, I'm using cocoon:/ protocol. -Alex --- Matthew Langham [EMAIL PROTECTED] wrote: Which protocol are you using to call the coplets? a) cocoon:/ b) cocoon:raw:/ If you want to pass request parameters on to the coplet then you need to make sure you are using a). See also:

RE: Xindice in Cocoon

2003-01-23 Thread Josema Alonso
I'd say current docs on eXist are better than the ones on Xindice. Anyway, I'd also say Xindice is much more powerful. For example, I think eXist does not have XUpdate support yet. In case you want to use Xindice in XSPs, I adapted the logicsheet so you can use it with Xindice. you can find a

Re: .Net port of Cocoon

2003-01-23 Thread Derek Hohls
An interesting concept that, "too open-source"...? Is this perhaps the opposite of Microsoft't "too closed-source"?? And, all due respect here, Andreas, but what you are saying is that your programming team (a) does not know Java and (b) does not want to learn it - which is fine, of course, but

Different stylesheets called on runtime?

2003-01-23 Thread Johannes . Becker
Hi, I have for example an XSP and various XSLs for the output (of the data from that XSP). In the xsp:logic-part it should/is deceided on runtime, which one of the XSLs to use for the output. Where do I have to manage that? I mean, how/where do I tell cocoon which XSL to use(In the sitemap?Can

RE: Portal bug? - Using SessionTransformer inside coplets

2003-01-23 Thread Carsten Ziegeler
Hi, did you test the latest cvs version, because line 380 in my source code cannot cause your problem? Carsten -Original Message- From: Alex Romayev [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 1:38 AM To: [EMAIL PROTECTED] Subject: Portal bug? - Using

Re: Different stylesheets called on runtime?

2003-01-23 Thread Christian Haul
On 23.Jan.2003 -- 02:36 PM, [EMAIL PROTECTED] wrote: Hi, I have for example an XSP and various XSLs for the output (of the data from that XSP). In the xsp:logic-part it should/is deceided on runtime, which one of the XSLs to use for the output. Where do I have to manage that? I mean,

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Ivelin Ivanov
Hi! I strongly believe in XForms, but the sample you pointed show that the use with Java Beans for DB connectivity and data validation is currently too complex. I would argue that it is no more complex than doing the same with Struts. Let alone plain JSP and classic controller Servlets.

Re: .Net port of Cocoon

2003-01-23 Thread Andreas Bednarz
Hi Derek, thank you very much for your comment. Yes, it is all true and I am not a friend of MS closed sources in any way. We know Java very well but you hardly get peoply who can do the real thinks with Cocoon and can develop a real application ... not just some test cases and handler forms. In

calculate freememory and heapsize for given value of -Xmx

2003-01-23 Thread Peter Smink
Hello, what is the best formula to use for calculating the value of freememory and heapsize in cocoon.xconf for a given value of -Xmx in order to achieve the best performance? Peter Smink [EMAIL PROTECTED] - Please check that

RE: Portal bug? - Using SessionTransformer inside coplets

2003-01-23 Thread Alex Romayev
Hi Carsten, I'm using a version from a couple of months ago. I'll get the latest and try it again and let you know. While I have your attention, I've asked another question a couple of days ago about getting parameter values from the request. Could you take a look at it, I'm pasting it below:

Re: .Net port of Cocoon

2003-01-23 Thread Steven Noels
Andreas Bednarz wrote: thank you very much for your comment. Yes, it is all true and I am not a friend of MS closed sources in any way. We know Java very well but you hardly get peoply who can do the real thinks with Cocoon and can develop a real application ... not just some test cases and

RE: .Net port of Cocoon

2003-01-23 Thread Luca Morandini
Andreas, wait a second: I mean no memory leaks in the VM Memory leaks ? I've got applications in operation for months without having a single hiccup... aren't you confusing the Servlet container (say, a buggy verisone of Tomcat) with Cocoon ? no complicated superlong configration files

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Ivelin Ivanov
Excelent document. I would like to suggest a slight improvement. The Model part can be improved quite a bit if you use a DOM object directly instead of a JavaBean wrapper. more specificly: 1) You can remove ArtistBean altogether 2) Store the empty id structure in a static file or local constant

Re: .Net port of Cocoon

2003-01-23 Thread Konstantin Piroumian
From: Andreas Bednarz [EMAIL PROTECTED] Hi Derek, snip why=dont want to argue/ no VM restarting for debugging etc My advice won't help you much if you decided not to use Cocoon, but I hope it would be helpful for other users. (Would be also fine if somebody could write an this on Wiki). To

RE: .Net port of Cocoon

2003-01-23 Thread Sylvain.Thevoz
Hi Luca, Hmm I never restart the Servlet container (not the VM) for debugging. Could you explain how you debug your Cocoon app? Regards Sylvain -Message d'origine- De: Luca Morandini [mailto:[EMAIL PROTECTED]] Date: jeudi, 23. janvier 2003 15:41 À: [EMAIL PROTECTED] Objet: RE:

Re: Different stylesheets called on runtime?

2003-01-23 Thread Konstantin Piroumian
From: Christian Haul [EMAIL PROTECTED] On 23.Jan.2003 -- 02:36 PM, [EMAIL PROTECTED] wrote: Hi, I have for example an XSP and various XSLs for the output (of the data from that XSP). In the xsp:logic-part it should/is deceided on runtime, which one of the XSLs to use for the output.

Re: Different stylesheets called on runtime?

2003-01-23 Thread Christian Haul
On 23.Jan.2003 -- 05:57 PM, Konstantin Piroumian wrote: From: Christian Haul [EMAIL PROTECTED] On 23.Jan.2003 -- 02:36 PM, [EMAIL PROTECTED] wrote: input module. Chris, how could you forget about it? ;) Dear me! But it looks like I successfully missionated so far ;-) Cheers.

RE: .Net port of Cocoon

2003-01-23 Thread Luca Morandini
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 3:55 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: .Net port of Cocoon Hi Luca, Hmm I never restart the Servlet container (not the VM) for debugging. Could you

RE: Portal bug? - Using SessionTransformer inside coplets

2003-01-23 Thread Carsten Ziegeler
Alex Romayev wrote: I'm using a version from a couple of months ago. I'll get the latest and try it again and let you know. Ok! While I have your attention, I've asked another question a couple of days ago about getting parameter values from the request. Could you take a look at it,

Re: Xindice in Cocoon

2003-01-23 Thread Perry Molendijk
It appears to me that what you are trying to do is transform an XML file to HTML and use information in 'gs.xml' to apply display rules. Currently you use the document() function to import gs.xml, to replace this you could do this in the sitemap map:match pattern=gs map:aggregate element=page

RE: Different stylesheets called on runtime?

2003-01-23 Thread Geoff Howard
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 9:47 AM To: [EMAIL PROTECTED] Subject: Re: Different stylesheets called on runtime? Thanks for the quick and helpfull response. Thats the answer I kind of expected and feared

change output header in view or reader

2003-01-23 Thread Juraj Misovych
I have app like e-mails , have stored message attachments as files with name from md5() when user want to tore attachment , need to set original name of file can i set values in response headers in view or reader ??? thanks -

Cocoon Portal Framework for production use?

2003-01-23 Thread Martin Schimak
I have a new Intranet project (In July 2003, a very first release should be ready) and would like to use Cocoon 2.1 with Portal Framework to implement it. I would like to know your personal opinions: Is it safe now to use 2.1 for production? I understand that End of February 2003 2.1 Beta 1 is

Re: .Net port of Cocoon

2003-01-23 Thread Vadim Gritsenko
Luca Morandini wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 3:55 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: .Net port of Cocoon Hi Luca, Hmm I never restart the Servlet container (not the

RE: .Net port of Cocoon

2003-01-23 Thread Sylvain.Thevoz
Hi Vadim, ... and shoud not be: all IDEs as well as JDK has debuggers. Use them remotely or start your servlet engine from under it - in either case you can put breakpoints and debug your Java. Do you include Eclipse? Sylvain -Message d'origine- De: Vadim Gritsenko [mailto:[EMAIL

wiki update mails

2003-01-23 Thread Steven Noels
(already announced on cocoon-dev/-docs) The Cocoon Wiki: http://wiki.cocoondev.org/ Hourly Cocoon wiki diff mails are being sent now to the cocoon-docs mailing lists, so people who have a particular interest in Wiki updates should subscribe to that list ([EMAIL PROTECTED]). Of course, if no

cli interface

2003-01-23 Thread jim
This is my first attempt at using Cocoon and I am trying to run it using the command line interface. I am using the command from my WEB-INF/lib directory with tomcat 4.0 running: java -jar cocoon-2.0.4.jar org.apache.cocoon.Main -c c:\JBuilder7\jakarta-tomcat-4.0.3\webapps\cocoon -u DEBUG -C

Administrator in need of help on new install

2003-01-23 Thread Gerstel, Rachel
Hello All, Apologies if this has already been covered, but I have not been able to find a similar problem in the archives. I have no experience with xml whatsoever and have a brand-new developer with no experience whatsoever wanting to start playing around with cocoon. I have installed: Tomcat

Re: Administrator in need of help on new install

2003-01-23 Thread Jim McCullough
Have you setup a JkMount in your httpd.conf file for cocoon? JkMount /cocoon/* ajp13 Jim McCullough Risk Analytics Inc. - Las Vegas Software Engineering [EMAIL PROTECTED] [EMAIL PROTECTED] (702) 407-1814 (voice) (702) 407-1824 (fax) - Original Message - From: Gerstel, Rachel [EMAIL

Re: .Net port of Cocoon

2003-01-23 Thread Joerg Heinicke
Very cool, Konstantin. I added the information to http://wiki.cocoondev.org/Wiki.jsp?page=HotDeploy. Hey, my first Wiki page ;-) Did I forget anything? Regards, Joerg Konstantin Piroumian wrote: From: Andreas Bednarz [EMAIL PROTECTED] Hi Derek, snip why=dont want to argue/ no VM

Re: .Net port of Cocoon

2003-01-23 Thread Vadim Gritsenko
[EMAIL PROTECTED] wrote: Hi Vadim, ... and shoud not be: all IDEs as well as JDK has debuggers. Use them remotely or start your servlet engine from under it - in either case you can put breakpoints and debug your Java. Do you include Eclipse? I'm using IDEA, and have not worked

Re: Administrator in need of help on new install

2003-01-23 Thread SAXESS - Hussayn Dabbous
Hy, can you send your tomcat/apache/cocoon config files ? That should be a solvable problem ... If the mailing list agent refuses your email (due to size limitations) you can send it directly to my personal email adress if you like... regards, hussayn Jim McCullough wrote: Have you setup a

RE: Different stylesheets called on runtime?

2003-01-23 Thread Johannes . Becker
Hi Geff, thanks for your help. Ok. Example: _ My XSP, that should choose which XSL to use.: ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp;

RE: cli interface

2003-01-23 Thread Geoff Howard
you don't have any classpath set up. isn't there is a run.bat and run.sh in the main directory used for running from the command line - that would handle the classpath for you. Geoff Howard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January

Re: cli interface

2003-01-23 Thread jim
Geoff, I looked through the Main source and it is building the classpath from the context directory by looking in the WEB-INF/lib and WEB-INF/classes directories to build the classpath. So I don't think that is it. James - Original Message - From: Geoff Howard [EMAIL PROTECTED] To:

Re: Administrator in need of help on new install

2003-01-23 Thread Jim McCullough
Perhaps I also should have asked it you are able to access Cocoon by specifying the Tomcat port: http://mymachine.com:8080/cocoon or whatever port Tomcat is listening on, usually 8080. If the cocoon welcom page is displaying properly when accessing Tomcat directly - then there is really only

RE: cli interface

2003-01-23 Thread Geoff Howard
then why does run.* go to the trouble of setting up a classpath? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 11:50 AM To: [EMAIL PROTECTED] Subject: Re: cli interface Geoff, I looked through the Main source and it is

error:use Xalan in incremental processing mode

2003-01-23 Thread Cyril Vidal
Hi, I'm sorry if this question has already been asked before. I've checked out in the archives, but these seem to be available for the moment... I'm under Windows 2000, j2sdk1.4.1, and Cocoon 2.0.4 I just would like to perform an XSLT transformation. In this aim, I use the very simple

Xindice1.1b and Pseudo-Protocol: HELP NEEDED

2003-01-23 Thread Julian Klein
HI, I am trying to implement the psuedo-protocol for xindice 1.1 beta in cocoon cvs version. My previous code however no longer works to access the database. I used to use xindice 1.0 as a standalone, but now I have it mounted in Tomcat as a webapp running on port 8080. I am running on red hat

RE: .Net port of Cocoon

2003-01-23 Thread Luca Morandini
-Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 5:05 PM To: [EMAIL PROTECTED] Subject: Re: .Net port of Cocoon Granted, there is no debugger in Cocoon, ... and shoud not be: all IDEs as well as JDK has debuggers. Use them

Re: Different stylesheets called on runtime?

2003-01-23 Thread Christian Haul
On 23.Jan.2003 -- 05:42 PM, [EMAIL PROTECTED] wrote: int whichXSL; String report_id = request.getParameter(report_id); String service_id = request.getParameter(service_id); String nbt_pattern_id = request.getParameter(nbt_pattern_id); String search_txt =

Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Christian Haul
On 23.Jan.2003 -- 06:02 PM, Cyril Vidal wrote: Hi, I'm sorry if this question has already been asked before. I've checked out in the archives, but these seem to be available for the moment... I'm under Windows 2000, j2sdk1.4.1, and Cocoon 2.0.4 I just would like to perform an XSLT

Re: .Net port of Cocoon

2003-01-23 Thread Vadim Gritsenko
Luca Morandini wrote: -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 5:05 PM To: [EMAIL PROTECTED] Subject: Re: .Net port of Cocoon Granted, there is no debugger in Cocoon, ... and shoud not be: all IDEs as well as

Re: Different stylesheets called on runtime?

2003-01-23 Thread Johannes . Becker
Unfortunately, you've skipped the crucial part i.e. how the xsl is chosen :-| I think I don't understand you right., but this should be just an dummy example. So if(whichXSL == 1) then the number1.xsl should be choosen for output, else if(whichXSL == 2) then the number2.xsl should be choosen

Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Cyril Vidal
Hi Chrisitian Thanks for your answer. My default generator was the 'file' one. ?xml version=1.0? !-- minimal sitemap for Cocoon 2 test -- map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; !-- === Components === -- map:components map:generators default=file/

Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Christian Haul
On 23.Jan.2003 -- 06:38 PM, Cyril Vidal wrote: Hi Chrisitian Thanks for your answer. My default generator was the 'file' one. that does not make sense (at least to me): map:generator type=file src=participants.xml/ but org.apache.cocoon.ProcessingException: Failed to generate program

Re: Different stylesheets called on runtime?

2003-01-23 Thread Christian Haul
On 23.Jan.2003 -- 06:35 PM, [EMAIL PROTECTED] wrote: Unfortunately, you've skipped the crucial part i.e. how the xsl is chosen :-| I think I don't understand you right., but this should be just an dummy example. So if(whichXSL == 1) then the number1.xsl should be choosen for output,

Re: Different stylesheets called on runtime?

2003-01-23 Thread Johannes . Becker
OK, now I have to think of an other way, how to choose my XSLs. or The different XSLs are choosen from request parameters and an resulting database query. Is there a way to do that in an action or somewhere else? Cheers Jonny

Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Cyril Vidal
For simplicity, I'm using Cocoon's mount directory. I've created inside directory tuto with the sitemap.xmap I've sent to you, particpants.xml and participants.xsl and I call http://localhost:8080/cocoon/mount/tuto/ (so Tomcat/webapps/cocoon/mount/tuto with inside sitemap.xmap, participants.xml

Re: cli interface eomThank you!/eom

2003-01-23 Thread jim
- Original Message - From: Geoff Howard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 23, 2003 9:10 AM Subject: RE: cli interface then why does run.* go to the trouble of setting up a classpath? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Christian Haul
On 23.Jan.2003 -- 07:08 PM, Cyril Vidal wrote: In the console, I've got the following: Errors in XSLT Transformation: Warning: File jar:file:/C:/tomcat/webapps/cocoon/WEB-INF/lib/Cocoon-2.0.4.jar/org/apache/c ocoon/components/language/markup/sitemap/java/sitemap.xsl; Line1817; Column34;

Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Cyril Vidal
It's working much better! Thanks Christian for your attention!! Cyril. - Original Message - From: Christian Haul [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 23, 2003 8:03 PM Subject: Re: error:use Xalan in incremental processing mode On 23.Jan.2003 -- 07:08 PM,

RE: Different stylesheets called on runtime?

2003-01-23 Thread Geoff Howard
yes, absolutely - an action can do that. The easiest way (IMO) is to just code the java, although they apparently can be written in xsp. I'd get the concept first in java, though and then try doing it in xsp if you want. I'll mark up your original email with some examples of how it would be

embedded dtd

2003-01-23 Thread Eduardo Zurita
Hello, The XML file I am retrieving from server has a embedded dtd. I would like to know if cocoon can support embedded dtd. The problem is: When I try to use "nbsp" in my XSL file, cocoon generates a exception with the message "The entity "nbsp" was referenced, but not declared".

Re: java.lang.IllegalStateException: can't reset buffer after writing toclient

2003-01-23 Thread dfeather
Well, To answer my own question, I removed Tomcat 3.3.1 Final and installed Tomcat 4.1.18, and set everything up in that, and my error went away. Not sure why, but it is gone now. Just in case anyone wonders, later on down the road. Yeah. Dan Feather dfeather.at.oreillyauto.com

RE: Different stylesheets called on runtime?

2003-01-23 Thread Geoff Howard
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 11:42 AM To: [EMAIL PROTECTED] Subject: RE: Different stylesheets called on runtime? Hi Geff, thanks for your help. Ok. Sure. Ok, Example:

RE: java.lang.IllegalStateException: can't reset buffer after writing to client

2003-01-23 Thread Geoff Howard
Actually, believe it or not I had a similar error but not in the exact circumstance, fixed in the same way. Since I didn't know what fixed it either, I wasn't sure it would help you. Sorry, should have spoken up. Geoff Howard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: Different stylesheets called on runtime?

2003-01-23 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: My XSP, that should choose which XSL to use.: Another possibility is to use *one* style sheet containing all the templates and match on the document element to choose the processing path. For example, you want to use 2 style sheets: 1.xsl xsl:stylesheet ...

cvs2.1 snapshot download date jan 22 2003 - gives me out of memory error

2003-01-23 Thread e nio
Anyone else experiencing this OutOfMemory when compiling the development snapshot dated Jan 22 2003 - xml-cocoon2_2003012305238_tar.gz ? I compiled it as such: ./build.sh -Dinclude.webapp.libs=yes -Dinclude.installscratchpadwar.libs=yes webapp Didnt have this problem on a download 1st

XSP All Nodes Even

2003-01-23 Thread Jacob Arnold
Whenever I test for even nodes using XSLT on my serialized XSP, all the nodes are even. For example, I'm trying to make every even table row a different color: xsl:template match=tr xsl:if test=position() mod 2 = 0 tr class=evenrowxsl:apply-templates//tr /xsl:if xsl:if test=position()

Re: XSP All Nodes Even

2003-01-23 Thread Scott Warren
What is the value that position() is returning? Can you move the template into a another template that has a xsl:for-each select=tr I think you may get different results then. Hope this helps Scott Warren Jacob Arnold wrote: Whenever I test for even nodes using XSLT on my serialized XSP, all

Re: XSP All Nodes Even

2003-01-23 Thread Scott Warren
What is the value that position() is returning? Can you move the template into a another template that has a xsl:for-each select=tr I think you may get different results then. Hope this helps Scott Warren Jacob Arnold wrote: Whenever I test for even nodes using XSLT on my serialized XSP, all

RE: XSP All Nodes Even

2003-01-23 Thread Jacob Arnold
If my query returns 56 records (1 per row) then I get 2, 4, 6, 8, 10... through 114. Are you suggesting adding a second stylesheet? Thanks, J -Original Message- From: Scott Warren [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 4:22 PM To: [EMAIL PROTECTED] Subject: Re: XSP

Re: XSP All Nodes Even

2003-01-23 Thread Scott Warren
No not a second stylesheet, Change your stylesheet to be like this xsl:template match="table" xsl:for-each select="tr" xsl:if test="position() mod 2 = 0" tr class="evenrow"xsl:apply-templates//tr /xsl:if xsl:if test="position() mod 2 = 1" tr class="oddrow"xsl:apply-templates//tr

RE: XSP All Nodes Even

2003-01-23 Thread Jacob Arnold
Yep, that works. Thanks for your help. Best Regards, J -Original Message- From: Scott Warren [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 4:33 PM To: [EMAIL PROTECTED] Subject: Re: XSP All Nodes Even No not a second stylesheet, Change your stylesheet to be like this

Re: XSP All Nodes Even

2003-01-23 Thread J.Pietschmann
Jacob Arnold wrote: Whenever I test for even nodes using XSLT on my serialized XSP, all the nodes are even. This is a FAQ. Most probably you are counting whitespace nodes. Either avoid selecting text nodes, for example by explicitely specifying the element you want to match:

HEAD problems

2003-01-23 Thread Leszek Gawron
1. The current HEAD is not compiling as scratchpadwar validate-config: [echo] Conducting validation of core configuration files. [echo] (You can turn validation off if you must, using ./properties.xml) [echo] Validating all cocoon.roles instances ... BUILD FAILED

RE: cvs2.1 snapshot download date jan 22 2003 - gives me out of memory error

2003-01-23 Thread Geoff Howard
There are some changes happening in the build (blocks, validation, etc) that are taking more memory these days. You should search the archives (dev archive will have more I think) for recent postings on the subject. For instance, see http://marc.theaimsgroup.com/?t=10432127333r=1w=2. The

RE: cvs2.1 snapshot download date jan 22 2003 - gives me out of memory error

2003-01-23 Thread Antonio Gallardo
Just for the register: I am using Red Hat Linux 8.0 and Java 1.4.1_01 and dont need to use: ANT_OPTS=-Xms100m -Xmx228m Antonio Gallardo Geoff Howard dijo: There are some changes happening in the build (blocks, validation, etc) that are taking more memory these days. You should search the

Re: embedded dtd

2003-01-23 Thread Joerg Heinicke
Hello Eduardo, Eduardo Zurita wrote: Hello, The XML file I am retrieving from server has a embedded dtd. I would like to know if cocoon can support embedded dtd. yes, of course. It's the task of the parser, by default in Cocoon it's Xerces. The problem is: When I try to

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Josema Alonso
Excelent document. Thank you. I would like to suggest a slight improvement. The Model part can be improved quite a bit if you use a DOM object directly instead of a JavaBean wrapper. more specificly: ... Wow. It sounds very very good. I really need to learn much more about JXPath. I'll try

Re: HEAD problems

2003-01-23 Thread Joerg Heinicke
Hello Leszek, it seems that the Xalan/Xerces version has changed since your last checkout (or you never had one with Java 1.4.x?). So you must update your Tomcat/common/endorsed directory with the currently in Cocoon used xalan-xx.jar, xercesImpl-xx.jar, xml-apis.jar and maybe xsltc.jar.

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Antonio Gallardo
Hi, I think that Xforms will be mainy used for web DB app. I am using this opensource tool that can be extended to build other formats from an database design. His name is Druid you can find it at: http://sourceforge.net/projects/druid I can said that I already build my postgresql database

RE: cvs2.1 snapshot download date jan 22 2003 - gives me out of memory error

2003-01-23 Thread e nio
Thanks for the responses. My compile was getting stuck near the very end, creating the war file. Anyhow, after setting the env varexport ANT_OPTS=-Xms100m -Xmx228m and rerunning same build command i had earlier, worked. Fyi, the war file created is now25245720 Jan 23 17:25

RE: cvs2.1 snapshot download date jan 22 2003 - gives me out of memory error

2003-01-23 Thread Antonio Gallardo
Are you done a: ./build.sh clean before you started? I ask because some sources was changed of place. Antonio Gallardo e nio dijo: Thanks for the responses. My compile was getting stuck near the very end, creating the war file. Anyhow, after setting the env varexport

RE: cvs2.1 snapshot download date jan 22 2003 - gives me out of memory error

2003-01-23 Thread Geoff Howard
Just to clarify, 228 megs is not a magic number - it's just approximately the amount of free memory on my system when most things are shut down. If you have more, you may want to use more and if you have less you can probably get away with less. The war is big, but that now by default I think

RE: cvs2.1 snapshot download date jan 22 2003 - gives me out of memory error

2003-01-23 Thread Antonio Gallardo
Geoff Howard dijo: Antonio, you've hit on an interesting issue. I am still using a 1.4.0x version of java. I have 1.4.1 downloaded but haven't even bothered to extract it yet. I wonder if there's something there? Geoff I think yes, there must be something bacause if you check the

RE: Logicsheet problems - global XSLT variables

2003-01-23 Thread Antonio Gallardo
Mark H dijo: Thanks Antonio, I'll try it out. How does the reload-method=synchron improve things? It will check if there are some changes before serving the request. For development environment it is fine since we are always changing the sources. Antonio Gallardo. -Original Message-

Re: HEAD problems

2003-01-23 Thread Marc Driftmeyer
I have duplicated this via 1-23-2003 HEAD CVS Fetch as well. -Marc --- Leszek Gawron [EMAIL PROTECTED] wrote: 1. The current HEAD is not compiling as scratchpadwar validate-config: [echo] Conducting validation of core configuration files. [echo] (You can turn validation off if you

RE: Portal bug? - Using SessionTransformer inside coplets

2003-01-23 Thread Alex Romayev
I tried today's snapshot and got a java.lang.OutOfMemory exception. I believe someone else got it as well. I'll try again in a couple of days. Cheers, -Alex --- Carsten Ziegeler [EMAIL PROTECTED] wrote: Alex Romayev wrote: I'm using a version from a couple of months ago. I'll get the

Portal - Coplets / Sunlet

2003-01-23 Thread Richard Reyes
Hi Guys, Will it be possible for a coplet to contain an external resource (for example is http://www.google.com)? And this resource that will need no more transformations and can be very independent like its in a another frame? Thanks in advance Richard

Using docbook chunk.xsl with cocoon

2003-01-23 Thread Jerome Paul
Hi, I'm trying to convert xml documents using docbook-xsl-1.58.1\html\chunk.xsl with tomcat 4.0 and cocoon 2.0.4 windows 2000. Anyway the conversion takes a while (it's converting a decent sized xml document) when the conversion stops Internet explorer displays nothing when using the standard

HttpRequest

2003-01-23 Thread Kavita Bansal
Title: HttpRequest Hi I want to access the HttpRequest .getInputStream() method in my custom-made generator class which extends Composer Generator. For this i do the following in my code: Since in the generator we have objectModel available, i get the request obejct from it

RE: Cocoon Portal Framework for production use?

2003-01-23 Thread Carsten Ziegeler
Martin Schimak wrote: I have a new Intranet project (In July 2003, a very first release should be ready) and would like to use Cocoon 2.1 with Portal Framework to implement it. I would like to know your personal opinions: Is it safe now to use 2.1 for production? Personally, I see no

RE: Portal bug? - Using SessionTransformer inside coplets

2003-01-23 Thread Carsten Ziegeler
If you have the OutOfMemory Exception during build, than have a look in the developer list mailing archive. You have to set the maximum memory for the build task to 256m. HTH Carsten Carsten Ziegeler Open Source Group, SN AG -Original Message- From: Alex Romayev [mailto:[EMAIL

Re: Portal - Coplets / Sunlet

2003-01-23 Thread Richard Reyes
Hi Guys, Can I also use a separate cocoon application for my coplet where all its transformation is in a separate sitemap? For example... I have cocoon\myportal as my portal application and i would use a independent cocoon application like cocoon\webapp1 as one of my coplet? Is this

  1   2   >