Re: R: newbie has problems installing cocoon

2004-02-03 Thread Guy Worthington
Joerg Heinicke wrote: Guy Worthington wrote: And was hoping that such a beginner's resource existed either in the documentation or in the Wiki. Maybe it's not that obvious but you didn't started with the most simple thing we have. In general you should first start with the User Guide at

Re: R: newbie has problems installing cocoon

2004-02-03 Thread Guy Worthington
Derek Hohls wrote: There are a number of introductory tutorials out there... herewith a dump of a few: http://webreference.com/xml/column52/ http://www.developer.com/java/ent/article.php/3098661 http://www.idealliance.org/europe/03/call/xmlpapers/02-01-05.14/.02-01-05.html

Re: [Woody] Union XML binding

2004-02-03 Thread Jan Hoskens
You're right about the 'X' and 'X_value: something went wrong while I replaced the actual values to X and Y. I'm sorry for that! If I replace my output widget with a field widget, the example does work (with the correct X's of course, again my apologies for not replacing them correctly!) I

Re: Subsitemaps and resources

2004-02-03 Thread John L. Webber
OK, thanks Joerg -- I'll keep an eye open for this feature. It would certainly be nice to have John Joerg Heinicke wrote: On 02.02.2004 15:35, John L. Webber wrote: I've Googled about everything possible, but can't seem to find a definitive answer to this question (though I fear the

Re: Avalon-Component and pooling

2004-02-03 Thread Jorg Heymans
Another idea is to implement the interfaces Initializable and Recyclable and creating in method initialize() the connection and returning it back to the pool in recycle(). What do you think about that? But there is one problem: What happens if an exception occures which was not catched? Like a

Woody: DynamicSelectionList

2004-02-03 Thread Gunter D'Hondt
Title: Message Hello, I'm using a dynamic selection list (another cocoon pipeline) in my woody form definition. Now I would also like to add another "static" entry in the selection list. The problem I'm having is that I'm displaying it as a dropdownlistbox but I would also like to have an

RE: [HELP]Unable to get transformer handler for factium/.xsl

2004-02-03 Thread hepabolu
Title: Message Dames en heren, U hebt per ongeluk een email gestuurd naar een mailinglijst voor Cocoon, de software waarin de applicatie is geschreven die u gebruikt. Dit geeft overlast op de lijst, waar men u bovendien niet kan helpen. Wij verzoeken u om contact op te nemen met het

RE: Woody: DynamicSelectionList

2004-02-03 Thread Gunter D'Hondt
Title: Message Solved it already by changing the xsl of the cocoon pipeline for the data of the dynamic selection list. Gunter. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gunter D'HondtSent: dinsdag 3 februari 2004 9:10To:

Re: problem with getxml

2004-02-03 Thread Flavio Palumbo
Hi Joerg, thank you for the hint ;-) I have already looked at the java code but i am too young in cocoon stuff to completely understand what's wrong in the original session:getxml. I wrote the code i send, looking at some mails by Antonio Gallardo of August 2003. If i have understood

[woody] repeater row sorting

2004-02-03 Thread Jan Hoskens
Hi, Is it possible to do a sort on a particular widget(one or more) of a row of a repeater? Greetings, Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: cocoon authentication and database access

2004-02-03 Thread Flavio Palumbo
Hi JD, could you please send the same samples to me (or maybe to the list) ? I have just depeloped something like this founding some problems not completely solved ; i'd like to compare my code with yours. Thanks a lot Flavio I know exactly what you mean :-) I'll send you a sample xsp file

Re: Openoffice generator

2004-02-03 Thread Zamek
Hello, On Monday 02 February 2004 13.02, Reinhard Poetz wrote: Have a look at the scratchpad (CVS or wait for 2.1.4). You'll find some ZIP-Source samples and one is an Openoffice.org one. It is a good idea, and works well, but :-) If my Openoffice document has some images I cannot retrieve

Re: Using existing jsp file

2004-02-03 Thread Upayavira
Anna Bikkina wrote: This must be a basic question. I have a JSP generator and JSP reader in my sitemap. I understand that if I use the JSPReader it can read non xml jsp pages. How can I make cocoon use jspreader instead of the generator.Correct me if my understanding is wrong. map:match

Re: Openoffice generator

2004-02-03 Thread Upayavira
Zamek wrote: Hello, On Monday 02 February 2004 13.02, Reinhard Poetz wrote: Have a look at the scratchpad (CVS or wait for 2.1.4). You'll find some ZIP-Source samples and one is an Openoffice.org one. It is a good idea, and works well, but :-) If my Openoffice document has some images I

Re: problem with getxml

2004-02-03 Thread Antonio Gallardo
Hi Flavio: sorry, I tought you was not using xsp. Please check: http://wiki.cocoondev.org/Wiki.jsp?page=XspSessionFw Best Regards, Antonio Gallardo Flavio Palumbo dijo: Hi Joerg, thank you for the hint ;-) I have already looked at the java code but i am too young in cocoon stuff to

Re: Woody and links

2004-02-03 Thread Vasyl Stashuk
Joerg Heinicke wrote: On 31.01.2004 15:44, Vasyl Stashuk wrote: Hi! How do i render a link using Woody widgets? A link is not a form widget and has nothing to do with Woody. Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED]

A notebook for Cocoon development

2004-02-03 Thread mirko
Hi, I just need a notebook that will be sufficient to make my work in Cocoon (besides of my primary desktop computer) when I'm outside (spring is comming :) ). Will a PIII 500, 128MB notebook be OK for this? Regards, mirko - To

Re: A notebook for Cocoon development

2004-02-03 Thread Nicolas Toper
What's the OS? The RAM seems a little bit just Le Mardi 03 Février 2004 12:12, mirko a écrit : Hi, I just need a notebook that will be sufficient to make my work in Cocoon (besides of my primary desktop computer) when I'm outside (spring is comming :) ). Will a PIII 500, 128MB notebook be OK

Re: A notebook for Cocoon development

2004-02-03 Thread mirko
Nicolas Toper wrote: What's the OS? The RAM seems a little bit just Sorry, I forgot to write. I'll run Linux on it. Regards, mirko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: A notebook for Cocoon development

2004-02-03 Thread John L. Webber
Hi Mirko, That'll probably work, but I'd advise going to at least 256 MB if possible. I updated my old Celeron 433 notebook running SuSE 8.2 from 64 MB to 256 MB and it made a huge difference. mirko wrote: Hi, I just need a notebook that will be sufficient to make my work in Cocoon (besides

RE: ComponentFactory decommissioning instance

2004-02-03 Thread Leszek Gawron
But if it does not implement Poolable - what does it mean then ? Nothing bad :) It just means that everytime your action is used a new instance of your action class is created. Now if you make your action implement Poolable (which is just a marker interface) then cocoon will manage a pool

Re: A notebook for Cocoon development

2004-02-03 Thread Nicolas Toper
Well, the JVM takes at least 64 Mo to run normally and 256 Mo means 128 Mo for the servlet so yes it'll work but definitely not for production :=) But don't use Tomcat 4 with it:=) Le Mardi 03 Février 2004 12:16, John L. Webber a écrit : Hi Mirko, That'll probably work, but I'd advise going

Re: A notebook for Cocoon development

2004-02-03 Thread Upayavira
mirko wrote: Nicolas Toper wrote: What's the OS? The RAM seems a little bit just Sorry, I forgot to write. I'll run Linux on it. It'd probably work, but 256Mb would be much better. I'm running on a 512Mb 700MHz Pentium, which is okay for me, and has been for the last three years (but a

Re: Woody and links

2004-02-03 Thread Upayavira
Vasyl Stashuk wrote: Joerg Heinicke wrote: On 31.01.2004 15:44, Vasyl Stashuk wrote: Hi! How do i render a link using Woody widgets? A link is not a form widget and has nothing to do with Woody. Joerg - To unsubscribe,

Re: A notebook for Cocoon development

2004-02-03 Thread Andreas Hartmann
mirko wrote: Hi, I just need a notebook that will be sufficient to make my work in Cocoon (besides of my primary desktop computer) when I'm outside (spring is comming :) ). Will a PIII 500, 128MB notebook be OK for this? If you don't persist on a PC - here are some Cocoon-Devs discussing their

Re: A notebook for Cocoon development

2004-02-03 Thread Antonio Gallardo
mirko dijo: Hi, I just need a notebook that will be sufficient to make my work in Cocoon (besides of my primary desktop computer) when I'm outside (spring is comming :) ). Will a PIII 500, 128MB notebook be OK for this? Hi mirko: My experience is: I had a PIV 2.0 GHz. with 256 MB of RAM.

Re: Openoffice generator

2004-02-03 Thread Zamek
On Tuesday 03 February 2004 10.33, Upayavira wrote: Zamek wrote: How can I translate #Pictures/nnn.png to document_name/nnn.png in xsl? img src=document_name/{substring-after(@xlink:href,'#Pictures/')}/ As you can see I am not an xml expert :-( Its result is: img

Re: Openoffice generator

2004-02-03 Thread Upayavira
Zamek wrote: On Tuesday 03 February 2004 10.33, Upayavira wrote: Zamek wrote: How can I translate #Pictures/nnn.png to document_name/nnn.png in xsl? img src=document_name/{substring-after(@xlink:href,'#Pictures/')}/ As you can see I am not an xml expert :-( Its result is:

Re: WebServiceProxyGenerator error

2004-02-03 Thread Anna Afonchenko
I downloaded the newest version (from December) from CVS, but I still get the java.lang.IllegalArgumentException: host must not be null Is there something else I'm missing here? Thank you very much for help - Original Message - From: Joerg Heinicke [EMAIL PROTECTED] To:

Re: Openoffice generator

2004-02-03 Thread Zamek
Hello, On Tuesday 03 February 2004 12.59, Upayavira wrote: Zamek wrote: On Tuesday 03 February 2004 10.33, Upayavira wrote: Zamek wrote: How can I translate #Pictures/nnn.png to document_name/nnn.png in xsl? img src=document_name/{substring-after(@xlink:href,'#Pictures/')}/ As you can

Re: Openoffice generator

2004-02-03 Thread Upayavira
Zamek wrote: Hello, On Tuesday 03 February 2004 12.59, Upayavira wrote: Zamek wrote: On Tuesday 03 February 2004 10.33, Upayavira wrote: Zamek wrote: How can I translate #Pictures/nnn.png to document_name/nnn.png in xsl? img

Re: Openoffice generator

2004-02-03 Thread Zamek
Hello, Ye! It works fine! Many thanks to you! On Tuesday 03 February 2004 13.47, Upayavira wrote: So you need to pass the name of the document from the sitemap to the XSLT: map:match pattern=*.xsw ... map:transform src=ooo2html.xsl map:parameter name=doc_name value={1}/

Re: newbie has problems installing cocoon

2004-02-03 Thread Daniel Smith
Guy Worthington wrote: And was hoping that such a beginner's resource existed either in the documentation or in the Wiki. Hi Guy. I don't know if you are aware of it, but there has also just recently been what seems to me (ie--a beginner) a very good book come out from Wrox on developing with

New book including Cocoon (post 2.1 version).

2004-02-03 Thread Daniel Smith
and just to make sure all saw it, I send this again with the more specific subject line: http://wrox.com/books/0764543555.shtml Looks pretty good. Good day, all. Thanks again. Daniel _ There are now three new levels of MSN

Equation in Openoffice

2004-02-03 Thread Zamek
Hello All, My last (I promice :-) ) question is, are there any method to display equation from Openoffice.org? I searched and found ( via google ) an Jeuclide project ( inside cocoon ), but I cannot find any reference in my cocoon source :-( Openoffice stored equation in MathML 1.01. formula

Re: JDBC-Driver and web.xml

2004-02-03 Thread julien bloit
Hi Stephan, Did you finally get your database connection running? I'd be interested to know how to do this, since I'm running Cocoon on a server over Tomcat, but I don't have user rights to shutdown/restart Tomcat for new database driver configuration in the web.xml file and in the cocoon.xconf

XSP Question

2004-02-03 Thread Nicolas Toper
Hi, How could I store a variable that comes from a logicsheet? I want to put an XML string (unparsed, just the string with the tags) in a variable. But the XML data comes from a XMLDB Request. How could I do that? Here is my try (of course it doesn't compile :=)) String xml = (String)

Re: XSP Question

2004-02-03 Thread Olivier Billard
did you try with CDATA section ? On 03/02/2004 15:21, Nicolas Toper wrote: Hi, How could I store a variable that comes from a logicsheet? I want to put an XML string (unparsed, just the string with the tags) in a variable. But the XML data comes from a XMLDB Request. How could I do that?

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-03 Thread Geoff Howard
Geoff Howard wrote: Phil Blake wrote: By the way, it's important that people know the basic reason Cocoon doesn't give you an HTTP session. Cocoon abstracts the environment so that it can be run from many different environments, not just http/servlet. Currently the command line interface is

Accessing Hibernate Class + Session Issues

2004-02-03 Thread beyaNet Consultancy
Hi, I have 2 related questions which I would like to throw into the arena if I may. 1. I have created a user class in Hibernate which I return into XSP as an object like so: public Object getUserdetails (int user_id) { Integer userID = new Integer(user_id); Object userDetails; try {

Re: Accessing Hibernate Class + Session Issues

2004-02-03 Thread Nuno Santos
You need to type cast to access the methods. Try : ((UserDetail)userDetails).getFirstName() On Tue, 2004-02-03 at 15:14, beyaNet Consultancy wrote: Hi, I have 2 related questions which I would like to throw into the arena if I may. 1. I have created a user class in Hibernate

Re: Using existing jsp file

2004-02-03 Thread Anna Bikkina
Thanks for the explanation. I understand it better now, but I still have a problem accessing my jsp page. I am using map:read in map:matches(*.jsp) instead of generate When I use read or generate I am getting the below error . The error is not descriptive. I got the latest code from cocoon and

Problems using map:redirect-to uri=

2004-02-03 Thread Wouter . DERUYCK
Title: Problems using map:redirect-to uri= Hello, I'm trying to use the redirect tag inside a sitemap but I experience some problems. I'm using cocoon 2.1.3. , Tomcat 4.0 Part of my sitemap looks as: The first pipeline calls an action which stores the next-page-to-go in the variable

Re: Make an item selected in woody selection-list

2004-02-03 Thread Tim Larson
On Tue, Feb 03, 2004 at 05:50:03PM +, Simon Hutchinson wrote: I am populating a woody selection-list dynamically but have been unable to find a way of making a particular item in the list the initial selected item . Could someone please point a beginner in the right direction ? Set the

Re: A notebook for Cocoon development

2004-02-03 Thread Johan Kok
Doing much the same on an 800Mhz 256Mb Running apache, mysql, cocoon, mail server etc. on windows XP. A little heavy on swapping - typically around 400-600 Mb of swap space used. Outside of that it works perfectly and keep me mobile. Upayavira wrote: mirko wrote: Nicolas Toper wrote:

Re: Woody and links

2004-02-03 Thread Bruno Dumon
On Tue, 2004-02-03 at 14:24, Vasyl Stashuk wrote: Upayavira wrote: Vasyl Stashuk wrote: Joerg Heinicke wrote: On 31.01.2004 15:44, Vasyl Stashuk wrote: Hi! How do i render a link using Woody widgets? A link is not a form widget and has nothing to do with Woody.

[woody] access formdata from flowscript

2004-02-03 Thread Ulrich, Dominik
Hi I had a look at the woody binding example, and its very nice! but how can I access the data, the user enters in the form? I want to do this, to save the form, to an unique filename, i.e. there is: function makeTargetURI(path) { var sfx = .xml; var newSfx = -result.xml; --- I want to

AW: [authentication] session context

2004-02-03 Thread Ulrich, Dominik
Hello Since I'rather new to cocoon and have absolutely no idea about using flowscript: It would be really nice, if someone has an example. btw. Is there any wiki, where I can learn the syntax for flow? I have no idea, where I can find out something about the ID... Dominik -Ursprüngliche

RE: cocoon authentication and database access

2004-02-03 Thread JD Daniels
I believe the list frowns upon attachments :-) It doesn't matter what you use to generate your user xml. As long as it has the required authentication and ID elements, the auth-fw can use it. The sample uses xsl transformations, and i use a simple xsp with esql. This makes a bunch of

Flow response.setHeader problem

2004-02-03 Thread Stefan Dehnert
Hi, I want to set the header-variable Expires=0 and try it with cocoon.response.addHeader(Expires,0); or cocoon.response.setHeader(Expires,0); but have no success, what is the trick? thanks for help stefan dehnert - To

Re: Accessing Hibernate Class + Session Issues

2004-02-03 Thread beyaNet Consultancy
Nino, all is fine now. thanks for your help ;-) On 3 Feb 2004, at 15:25, Nuno Santos wrote: You need to type cast to access the methods. Try : ((UserDetail)userDetails).getFirstName() On Tue, 2004-02-03 at 15:14, beyaNet Consultancy wrote: Hi, I have 2 related questions which I would like

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-03 Thread Geoff Howard
Geoff Howard wrote: Phil Blake wrote: By the way, it's important that people know the basic reason Cocoon doesn't give you an HTTP session. Cocoon abstracts the environment so that it can be run from many different environments, not just http/servlet. Currently the command line interface is

Batik Block in cocoon 2.1.3 broken?

2004-02-03 Thread Markus Vaterlaus
Hi all, I'm using cocoon 2.1.3 (on tomcat 4.1.29) and the batik block in the samples seems to be broken. Furthermore I can't serialize a SVG image as png or jpeg in my own application. Am I missing something? Cheers! --mv - To

Re: Equation in Openoffice

2004-02-03 Thread Joerg Heinicke
MathML is XML, so just transform it as you like. Jeuclide has nothing to do with Cocoon, so you won't find it here. I even did not find it when searching for Jeuclide using google. Joerg On 03.02.2004 14:47, Zamek wrote: Hello All, My last (I promice :-) ) question is, are there any method

RE: Equation in Openoffice

2004-02-03 Thread Konstantinidis, Greg
I think he must mean. http://jeuclid.sourceforge.net/ -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 February 2004 11:07 To: [EMAIL PROTECTED] Subject: Re: Equation in Openoffice MathML is XML, so just transform it as you like. Jeuclide has

Re: Using existing jsp file

2004-02-03 Thread Joerg Heinicke
On 03.02.2004 16:33, Anna Bikkina wrote: Thanks for the explanation. I understand it better now, but I still have a problem accessing my jsp page. I am using map:read in map:matches(*.jsp) instead of generate When I use read or generate I am getting the below error . The error is not

Re: Batik Block in cocoon 2.1.3 broken?

2004-02-03 Thread Mark Leicester
You issue is probably related to this: http://cocoon.apache.org/2.1/installing/index.html#UNIX+with+X+server and, http://cocoon.apache.org/2.1/installing/index.html#Headless+UNIX+and+PJA Specifically, use this option: -Djava.awt.headless=true I hope this helps, Mark On 3 Feb 2004, at 22:23,

Re: [woody] access formdata from flowscript

2004-02-03 Thread Joerg Heinicke
Maybe you are searching for something like form.getWidget('widgetid').value (written from head) Just use it after showForm() to access the value, pass them to your makeTargetURI() function. Joerg On 03.02.2004 09:42, Ulrich, Dominik wrote: Hi I had a look at the woody binding example, and its

Re: Equation in Openoffice

2004-02-03 Thread Joerg Heinicke
Thanks for the hint. I had a typo in mind, but not a particular one. I had a look into the downloadable sources and it should be easy to use it. The build seems to be somewhat old and unflexible, but you can at least use it to get a jeuclid.jar. Deploy all the JARs you need for JEuclid into

Re: WebServiceProxyGenerator error

2004-02-03 Thread Joerg Heinicke
I didn't expect any changes on the behaviour as there was no fix on this particular problem. But you seem to refer to a patch which was maybe missed on the list and not applied into the CVS. BTW, how does ** or {1} in the map:generate look like? Joerg On 03.02.2004 13:01, Anna Afonchenko

FileGenerator making two HTTP requests

2004-02-03 Thread Teator, Michael
I have an issue with my cocoon where I have a url specified in the generate source (type=file) like: src=http://localhost/whatever.xml; For some reason it makes TWO requests to this file every time. Any ideas? If I change the generate type to html then it only makes one request, but the

Need help w/ authentication resource

2004-02-03 Thread Mark Lundquist
OK, I am stumped. I'm using the Cocoon (2.1.3) authentication framework, and I can't figure out why I'm failing authentication. Here's what's in my pipeline now: !-- This is the authentication resource -- map:match pattern=authenticate/user map:act type=request

Re: Need help w/ authentication resource

2004-02-03 Thread Mark Lundquist
On Feb 3, 2004, at 8:23 PM, Mark Lundquist wrote: OK, I am stumped. I'm using the Cocoon (2.1.3) authentication framework, and I can't figure out why I'm failing authentication. ..snip.. Bah. Never mind! I figured out the problem... :-) ~ml