Re: Cocoon GetTogehter in Ghent

2002-11-21 Thread Christian Haul
A big hand to Steven and all that helped organize this wonderful event! Thank you! It was great meeting you all. Hope to see you all soon again in real life. (Gosh, did you know real life does exist?! ;-) Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0

Re: Output to file/ replace file

2002-11-21 Thread Ludovic de Beaurepaire
Hi Rob, 1. How can I manipulate files using cocoon, I have some xml data I want to be able to change without storing it in a database. You can store your xml generated data in a stylesheet : ?xml version=1.0 encoding=ISO-8859-1? xsl:stylesheet version=1.0

RE: XMLForm: dynamic content listbox

2002-11-21 Thread Sylvain.Thevoz
Thanks Alonso. I have read userIdentity.xml and UserBean.java files from Cocoon Wizard sample. In UserBean.java, I have found a method called initHobbies(). This method simply init all hobbies. If I have well understood, I could replace the hard-coded values of allHobbies by a query to a

RE: XMLForm: dynamic content listbox

2002-11-21 Thread Josema Alonso
If I have well understood, I could replace the hard-coded values of allHobbies by a query to a database. isn't it? Yes. Just fill the appropriate Java structure of your choice with the database values after querying it. What would be the solution if I want to retrieve the allHobbies values from

Use of SessionAttributeSelector

2002-11-21 Thread Christian Joelly
Hello! can anybody plz give me an example on how to use the SessionAttributeSelector to check if an attribute exists in the actual session? I always see the message: DEBUG (2002-11-21) 10:37.55:492 [sitemap.selector.session-attribute] (/knapp/images/icon-folder-open.gif)

Re: Antwort: Retrieving init parameters via HttpContext in Cocoon2

2002-11-21 Thread Peter Smink
Yes, thanks it works (if you put it before the servlet tag). Peter - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 21, 2002 8:30 AM Subject: Antwort: Retrieving init parameters via HttpContext in Cocoon2 Hello,

Newbie advice for Mac OS X install?

2002-11-21 Thread Daniel Smith
Hi all. My first post here. Thanks much for the existence of this project and list. I checked the archives and there was some documentation on OS X, but I wondered if anyone could give me any update who is currently running on any versions of this? Would any particular version be better to use?

Re: Newbie advice for Mac OS X install?

2002-11-21 Thread Deepak Mehta
Daniel, both versions of MacOS X work perfectly. Used any Tomcat/Cocoon combination that is supported. I personally use Tomcat 4.0.6/Cocoon 2.0.3 as a webservice on an EJB container. As long as you stick to the JavaVM 1.3.1 which is standard on MacOS X Server and Client 10.1 or 10.2. I have

RE: URI parts extraction

2002-11-21 Thread Alten, Jelle Paul (uto)
Hi everybody and Yatin, As my first contribution to this list I thought I'd help someone... I included a simple stylesheet that does what you want. Hope it helps. Jelle PS I was there in Nazareth, and now I'm here too! Woo hoo! --- here is the xsl ?xml version=1.0 encoding=UTF-8?

FW: [donation] user communication system

2002-11-21 Thread Giuseppe Di Pierri
Hi everybody, we are working with Cocoon as Users for a year, but this is the first time we develop something for it. We would like to donate this couple of classes that serves as 'standard' User Communication System (don't let you deceive by the name, it is a simple stuff). The aim is to

Re: Cocoon Portal Sample - Failed to execute pipeline error

2002-11-21 Thread Franck Lumpe
I was referring to the current 2.1 CVS version too! I could not find any bug in Bugzilla reporting this problem. Is the Portal Sample is supposed to work already, or is it still work in progress? Anyone has a clue? Thanks in advance, Franck - Original Message - From: Gabriele

RE: Cocoon Portal Sample - Failed to execute pipeline error

2002-11-21 Thread Matthew Langham
I was referring to the current 2.1 CVS version too! I could not find any bug in Bugzilla reporting this problem. Is the Portal Sample is supposed to work already, or is it still work in progress? An over the desk shout at Carsten reveals that the Portal is working in the current CVS version -

Re: pipeline result through SOAP?

2002-11-21 Thread Marcus Crafter
Hi Josema, On Tue, Nov 19, 2002 at 11:59:00AM +0100, Josema Alonso wrote: I've just took a look. It is using the AxisRPCReader. I thought a reader was something like a complete pipeline. I mean, it gets the request, and makes the needed steps to generate, transform and serialze. Yes,

Re: Cocoon Portal Sample - Failed to execute pipeline error

2002-11-21 Thread Franck Lumpe
An over the desk shout at Carsten reveals that the Portal is working in the current CVS version - so I am not sure what your problem is exactly. Can you repost the exact error and stack trace again. Matthew Here comes the repost. TIA Regards, Franck ___

RE: newbie

2002-11-21 Thread José Moreira
Hello, thank you for your attention. Im not a genious but i develop with php,asp and mysql/postgre for more than 2 years now ... thant's almost nothing compared to most people but it's something. i learned pretty fast. now im interested in cocoon and xml for the obvious reasons. i read lot's of

RE: Cocoon Portal Sample - Failed to execute pipeline error

2002-11-21 Thread Carsten Ziegeler
The only thing I changed from the CVS is the default xslt transformer from xslt to xalan, because I think that there are too many problems with xsltc right now. Carsten -Original Message- From: Franck Lumpe [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 1:24 PM To:

Javascript problems in XSP

2002-11-21 Thread Anna Afonchenko
Hi All. This is my first post, so don't be angry with me if I do something wrong. I am using XSP on Cocoon 2.0.3, and I want to do the following: given a name of the htmlfile that contains javascript, I want to get the result of this javascript and put it inside some element in XSP. But

RE: XMLForm: dynamic content listbox

2002-11-21 Thread Josema Alonso
Yes I'm interested for your complete example! Ok, I'll send the example later this evening. I think that the access to Xindice or to a XML file are nearly the same?!? Well, mostly...let's say you can get XML documents from Xindice. Think about it as a XML documents repository that are stored in

Re: duplicate definition of variable when using esql in xsp and own l ogicsheet

2002-11-21 Thread Antonio Gallardo
Hi! I think you can make use of esql transformation. I guess you are using xsp:esql in you XSP file, because you need to get new data from the database with the base of the first data you got from your own logicsheet. I am correct? If this is the problem, then is generated because Cocoon cannot

Re: Cocoon Portal Sample - Failed to execute pipeline error

2002-11-21 Thread Jeremy Quinn
On Thursday, Nov 21, 2002, at 12:09 Europe/London, Matthew Langham wrote: An over the desk shout at Carsten reveals that the Portal is working in the current CVS version - so I am not sure what your problem is exactly. Well give him another shout ;) *Nothing* works in the current CVS ATM

XSL Element testing whether empty, or not!

2002-11-21 Thread Scherler, Thorsten
Hello group, newbie question: How can you test whether a Element contain information or not? I mean something like the DB command is not Null // is null. Example: data.xml case 1) departmentElektro/department case 2) department / I want to have the word Department in front of the value as

RE: pipeline result through SOAP?

2002-11-21 Thread Josema Alonso
Hello. Ok, the AxisRPCReader essentially wraps an Axis SOAP server, and makes it available in the sitemap to handle incoming requests. ... Ok, I understand this. You should also be able to access pipelines from within an Axis webservice by making an internal request via the cocoon:/ protocol.

RE: JavaScript problems in XSP

2002-11-21 Thread Ryan Agler
Hi Anna, Client-side (in your web browser) JavaScript is a completely different beast than server-side (on your web server) JavaScript. In server-side JavaScript, there are no windows, DHTML, or much any other properties or methods you would use to manipulate a browser for dynamic content. To

RE: XSL Element testing whether empty, or not!

2002-11-21 Thread Kazmír, Jaroslav
TRY THIS: xsl:variable name=xtest xsl:value-of select=department/ /xsl:variable xsl:choose xsl:when test=string($xtest)!='' NON EMPTY /xsl:when xsl:otherwise EMPTY /xsl:otherwise /xsl:choose Jaykay -Original Message- From: Scherler, Thorsten [mailto:[EMAIL PROTECTED]] Sent:

Re: pipeline result through SOAP?

2002-11-21 Thread Marcus Crafter
Hi Josema, On Thu, Nov 21, 2002 at 03:00:44PM +0100, Josema Alonso wrote: Ouch...Avalon again. When I try to do this kind of 'advanced' things with Cocoon I always find the Avalon wall. I think I should get into it the sooner the better if I want to develop powerful things. Yes,

RE: Cocoon Portal Sample - Failed to execute pipeline error

2002-11-21 Thread Carsten Ziegeler
Sorry to say this - but I just did a clean checkout and build the webapp with JKD 1.4 and run this with JDK 1.4 and Tomcat 3.3 using w2k - and what should I say: without any problems. So I guess it's rather something with your setup. Carsten -Original Message- From: Jeremy Quinn

Re: Cocoon Portal Sample - Failed to execute pipeline error

2002-11-21 Thread Jeremy Quinn
On Thursday, Nov 21, 2002, at 14:59 Europe/London, Carsten Ziegeler wrote: Sorry to say this - I am glad you did ;) but I just did a clean checkout and build the webapp with JKD 1.4 and run this with JDK 1.4 and Tomcat 3.3 using w2k - and what should I say: without any problems. So I guess

cocoon with IE and Netscape

2002-11-21 Thread Kavitha Ramesh
Hi, I have a problem with my webpages(running with cocoon 2.0) produces different result in Netscape and Internet Explorer.The position of the pixels in IE and Netscape(as well as in Mozilla 1.1) are quite different.If someone knows the solution please help me,,, Kavitha Ramesh.

Re: cocoon with IE and Netscape

2002-11-21 Thread Antonio Gallardo
Try to use some standard in the generated pages. I got the same pages using HTML 4.0.1 Transitional More info at: http://www.w3c.org Antonio Gallardo Kavitha Ramesh dijo: Hi, I have a problem with my webpages(running with cocoon 2.0) produces different result in Netscape and Internet

RE: cocoon with IE and Netscape

2002-11-21 Thread Alten, Jelle Paul (uto)
Hi Kavitha, This will not be a cocoon problem, just browser differences. The same HTML (and CSS) will be presented differently by different browsers. If you use (generate) as much standard (X)HTML as possible, you'll have the least problems. You can check this by saving the source HTML

RE: cocoon with IE and Netscape

2002-11-21 Thread conrad . crampton
detect the browser in your pipeline, then use an appropriate xsl for the browser Conrad Crampton J Software Solutions Kent Police FHQ 11 Edinburgh Square Sutton Road Maidstone Kent ME15 9BZ (01622 652869 19 2869 -- From: cocoon-users[SMTP:[EMAIL PROTECTED]] Sent: 21 November

Re: Output to file/ replace file

2002-11-21 Thread Alex McLintock
Someone asked: 1. How can I manipulate files using cocoon, I have some xml data I want to be able to change without storing it in a database. You might want to look at XOpus which is essentially an easy XML editor. You might want to use it with Wyona which is a Cocoon based CMS.

Re: Output to file/ replace file

2002-11-21 Thread Alex McLintock
1. How can I manipulate files using cocoon, I have some xml data I want to be able to change without storing it in a database. To ask a slightly different question - I'd like to use XMLForms as a simple survey / questionaire software - and have it drop the results as a text / xml file on

Re: Javascript problems in XSP

2002-11-21 Thread Jacob L E Blain Christen
I may be mistaken but I thought the only valid code inside of xsp:logic tags was java: not javascript, not perl, just java. - Please check that your question has not already been answered in the FAQ before posting.

java.lang.IndexOutOfBoundsException

2002-11-21 Thread Gernot Koller
Hi! Trying to use the current cvs version of cocoon with tomcat version 4.1.12 I experience the following problem After building and installing cocoon (./build.bat -Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true webapp ; ./build.bat - Dinclude.webapp.libs=true

Re: java.lang.IndexOutOfBoundsException

2002-11-21 Thread Marcus Crafter
Hi Gernot, I've located the problem but aren't 100% sure about what the proper fix is as I think Carsten is still working on the code. I've already contacted him about the problem so I'm sure it will be fixed soon. In the meantime you can change the

Re: Cocoon Portal Sample - Failed to execute pipeline error

2002-11-21 Thread Gabriele Domenichini
On Thu, 21 Nov 2002 15:14:52 +, Jeremy Quinn [EMAIL PROTECTED] said: On Thursday, Nov 21, 2002, at 14:59 Europe/London, Carsten Ziegeler wrote: Sorry to say this - I am glad you did ;) but I just did a clean checkout and build the webapp with JKD 1.4 and run this with JDK 1.4

Re: cocoon to oracle ?

2002-11-21 Thread Gabriele Domenichini
On Thu, 14 Nov 2002 17:17:37 +0530, Dhiman Paul [EMAIL PROTECTED] said: Dear All, Is it possible to communicate with oracle via cocoon ? Please say me the way to do that ? I'm very proud to say that: 1) I do it at work 2) Is simple 3) I have created a wiki page on specific database

Re: pipeline result through SOAP?

2002-11-21 Thread Josema Alonso
I'd recommend getting the soap-server sample working in the Cocoon webapp (remember to use the -Dinclude.scratchpad.libs=yes directive) and then start modifying it to do what you need. Ok, I'll try it. I need to think about writing a CocoonProvider or similar for the AxisRPCReader to allow

UTF-8 character encoding

2002-11-21 Thread Artur Bialecki
It seems that the only way to output request parameters encoded with UTF-8 is to call request.setCharacterEncoding(utf-8); on **every** request. Is there a better (simpler) way of achieving end-to-end UTF-8 for the whole site? Also, setting encoding will call the decode() method on every access

Re: URI parts extraction

2002-11-21 Thread Joerg Heinicke
This is the solution I would prefer. To complete it a bit: In the sitemap 2 solutions are possible: map:match pattern=**/* map:generate src={2}.xml/ map:transform src={2}.xsl map:parameter name=uri value={0}/ /map:transform map:serialize/ /map:match This would pass only the part of

Re: XSL Element testing whether empty, or not!

2002-11-21 Thread Joerg Heinicke
It's better to do it without the Result Tree Fragment as intermediate step: xsl:variable name=xtest select=department/ Is the variable needed? You can of course directly test on the element: xsl:if test=string(department) is true if any character is contained in department/ /xsl:if xsl:if

RE: cant create pdfs

2002-11-21 Thread Anton Hughes
Hi Thorsten Thanks for the reply! The code I used is the exact code from the tutorial which can be found at http://xml.apache.org/cocoon/howto/howto-html-pdf-publishing.htmld I cut and pasted the code several times and each time got the same results. I've also cut and pasted the code for

Cocoon/Servlet/JSP and same session-object

2002-11-21 Thread Dirk Reiss
Hello, our problem is to integrate some JSPs who are *controlled* by a servlet with cocoon. Integrate in our sense means that the servlet which in some way invokes the JSPs runs in the same context so that cocoon and the servlet/JSPs share the same session-object to communicate over it. Just

Re: [Wyonacms-users] XOpus

2002-11-21 Thread Thorsten Scherler
This is an open appeal to the XML Open Source Community. Please support this appeal to keep an Open Source Project alive! How can we keep the following project Open Source? Please post this message to people who may help! Xopus is a browser based in-place wysiwyg XML editor. Xopus allows

Re: Cocoon GetTogehter in Ghent

2002-11-21 Thread Michael Melhem
On Wed, Nov 20, 2002 at 01:50:10PM +0100, Steven Noels wrote: Matthew Langham wrote: Hi, I have my pictures from the Cocoon GetTogether up here: http://sunshine.s-und-n.de/events/ghent/index.html A great event and many thanks go out to Steven Noels and the rest of the team for

AW: XMLForm: dynamic content listbox

2002-11-21 Thread Kirchhoff, Lars
Hello, I'm trying the same and did manage to create a dynamic list of checkboxes from a database. But I still don't get it completely. Where is the ref=/hobby defined? I looked in the UserBean and the userIdentity.xml, but found nothing. Can somebody give me a hint. I would like to change this

RE: java.lang.IndexOutOfBoundsException

2002-11-21 Thread Carsten Ziegeler
Ok, sorry for this - I just committed the missing line. I don't know why, but my IDE didn't commit the changes yesterday, although it says that it did. Wired. So, don't rely on tools and always make sure that everything went as it should have been. Sorry Carsten -Original Message-

Re: cant create pdfs

2002-11-21 Thread Thorsten Scherler
Hi Anton, you're welcome! If you use the code of the tutorial the problem will be the plugin of the client. Do you know anyone of this 1%? Ask her/him to setup the A.Reader again. I expect they then see your page. King Regards Thorsten Anton Hughes wrote: Hi Thorsten Thanks for the reply!

XSP caching with 2.1-dev

2002-11-21 Thread neil
Hi cocooners, I'm just trying the CVS HEAD and have a problem with some of my old 2.0.3 XSP's which used to be cached for 30mins. generateValidity() now has to return a org.apache.excalibur.source.SourceValidity instead of a org.apache.cocoon.caching.CacheValidity. I used to return

Re: java.lang.IndexOutOfBoundsException

2002-11-21 Thread Bertrand Delacretaz
On Friday 22 November 2002 07:44, Carsten Ziegeler wrote: . . . I don't know why, but my IDE didn't commit the changes yesterday, although it says that it did FYI yesterday morning when I did a CVS update (from the command line ;-) to check the batik.jar, CVS said waiting on lock from