Re: Cocoon Competence Center Updates

2003-01-30 Thread SAXESS - Hussayn Dabbous
Hy, Robert; Thank you very much for the contributions. I propose to move parts of your contrib into another page. reasons: 1.) this page deals with deploying cocoon. it should not cover essentials of cocoon internals. this is the next story to be covered, once cocoon is deployed. 2.) i

RE: proposal: "The Newbies Competence Center" (XSP?)

2003-01-30 Thread Derek Hohls
Peter   Thanks for the comments; I am still not sure I understand or agree with the "proprietary" code part; my definition (based around ownership) seemingly disagrees with yours - we will then obviously disagree about the implications...   I am perfectly happy at present to stick with XSLT an

2 return values from an action?

2003-01-30 Thread Johannes . Becker
Hi, thanks to you guys I got my action running finally. Now I have another question. For example: I have 1 xml file that could be displayed in 15 xsl-Stylesheets (in various formats: html, pdf, xls). Currently in my first action I choose the corresponding file. package test.acting; import java

Re: Cocoon Competence Center Updates

2003-01-30 Thread Robert Simmons
Fine ... I'm beginning to loose interest to be honest. Right now I cant do anything with XSP with cocoon at all. because of the classpath bug it looks like two weeks of my work are about to explode in my face. Sigh. -- Robert - Original Message - From: "SAXESS - Hussayn Dabbous" <[EMAIL P

Re: Cocoon Competence Center Updates (WhyWiki?)

2003-01-30 Thread Derek Hohls
welcome to the wonderful world of wiki! for a wiki-background on *exactly* this issue, please look at: http://c2.com/cgi/wiki?WhyWikiWorks and http://c2.com/cgi/wiki?WikiWipeout and, for an alternative type of wiki: http://c2.com/cgi/wiki?SecureWiki and, yes, there are probably alternative ways

Re: XML - XSL Editors?

2003-01-30 Thread Alexandru COSTIN
Hi Robert. I have missed your previous answer about commercial tools. I apologize for the double post. Alexandru On Wed, 2003-01-29 at 02:32, Robert Simmons wrote: > What are the best XML and XSLT editors on the market. I'm looking fo

Re: 2 return values from an action?

2003-01-30 Thread Konstantin Piroumian
From: <[EMAIL PROTECTED]> > Hi, > > thanks to you guys I got my action running finally. > Now I have another question. > > For example: I have 1 xml file that could be displayed in 15 > xsl-Stylesheets (in various formats: html, pdf, xls). > > Currently in my first action I choose the correspondi

Re: XML - XSL Editors?

2003-01-30 Thread Alexandru COSTIN
Hello, We have a very powerful IDE called KrysalIDE especially designed to understand the concept of XSP, taglibs and pipelines. Even if visual preview is yet under heavy development (we have recently integrated mozilla in KrysalIDE and drag&drop on the HTML preview "a la Dr

RE: Portal - Coplets / Sunlet

2003-01-30 Thread Carsten Ziegeler
> -Original Message- > From: Richard Reyes [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 9:02 AM > To: [EMAIL PROTECTED] > Subject: Re: Portal - Coplets / Sunlet > > > which error log? the one thats on the browser? > > here it is Exactly! Ok, I can see by the log that

Re: 2 return values from an action?

2003-01-30 Thread Johannes . Becker
Cool. Thanks for the quick response Konstantin. >>This one should work fine. But it'd be even better if you've used input >>modules instead of an action. Something like this: Do I have to place "something extra" in my sitemap for this solution? Cheers Jonny

Re: Cocoon Competence Center Updates (WhyWiki?)

2003-01-30 Thread Steven Noels
Derek Hohls wrote: (FWIW; most people are ornery and try and do things that they are told they *can't* do or that are "impossible" to do... like breaking into DoD computers; being told you *can* delete pages on a wiki is just not attractive enough to make you want to do it!) >>> [EMAIL PROTECTE

Re: Cocoon Competence Center Updates

2003-01-30 Thread SAXESS - Hussayn Dabbous
Hy Robert, I appreciate your honesty. I hope, you keep with us. I think you can really help getting this into the next generation... just a few of my experiences if you don't mind ... 0.) i use to install minimalistic components when i start investigating. in this sense i only needed tom

Re: Cocoon Competence Center Updates

2003-01-30 Thread Robert Simmons
Is not cocoon's power or anything else that I'm arguing with. There is an extremely serious bug in cocoon that is causing me to not be able to use it at all. It is clear that cocoon was developed to be a single solution and to not integrate with technologies such as application servers. The classlo

Re: 2 return values from an action?

2003-01-30 Thread Konstantin Piroumian
From: <[EMAIL PROTECTED]> > > Cool. Thanks for the quick response Konstantin. > > >>This one should work fine. But it'd be even better if you've used input > >>modules instead of an action. Something like this: > > > >="stylesheets/{request-param:report_id}{request-param:service_id

RE: XMLForm problem: PLEASE HELP (att. XMLForm architects and specialists)

2003-01-30 Thread Sylvain.Thevoz
Hi Ivelin, Could you tell me what is the best solution to debug this Java classes at running time? Thanks for your help Sylvain -Message d'origine- De: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] Date: jeudi, 30. janvier 2003 04:53 À: [EMAIL PROTECTED] Objet: Re: XMLForm problem: PLEASE HEL

Re: Aggregating XML

2003-01-30 Thread Cocoon User
i use another one approach i aggregate a some xml files in sitemap then i reorder elements inside the final xml [layout.xsl] and send the result for processing

Apache error on startup

2003-01-30 Thread Richard Cunliffe
Hi, I have installed Apache 2.0.43 and tomcat 4.0.6, using mod_jk 2.0.43. I am following the flash guide produced by Lajos. I am getting the following error after I have started tomcat and then try and start Apache: Sntax error on line 4 of c:/tomcat/conf/auto/mod_jk.conf: LoadModule takes two

How to open 2 windows (again)?

2003-01-30 Thread Johannes . Becker
Hi, I asked this before and I got an good answer. >> I want to open 2 windows on one "event". The xsp (I mean the data) >> would be the same, but the output would be: first window html, second >> window pdf. I was told that I couldn't handle this in the sitemap. I'd rather put an open("thePdf")

Re: Apache error on startup

2003-01-30 Thread SAXESS - Hussayn Dabbous
The error message says, you are missing one parameter. Check, that on your line 4 you have the following content. If you have, check that you are looking at the right file ;-) LoadModule jk_module modules/mod_jk.so regards, hussayn Richard Cunliffe wrote: Hi, I have installed Apache 2.0.

Antwort: How to open 2 windows (again)?

2003-01-30 Thread manfred . weigel
Hi! I think the big problem is not to write out two different outputs from one request, but the real problem is to send these responses on one request. It should be posible to write a pdf from the same request to disk (server), and the html in the browser (the original response) requests this p

Re: convert text in xml wel form

2003-01-30 Thread Oskar Casquero
Hi Angelo, You can convert structured text to XML with "Chaperon" parser generator (a parser because it parses the text and generator because it creates an XML document) which is integrated in cocoon as a generator. See for more details: http://chaperon.sourceforge.net/ http://xml.apache.org/coc

RE: Apache error on startup

2003-01-30 Thread Richard Cunliffe
Hussayn, I have read that the mod_jk.so is for Unix and mod_jk.dll is for windows. I am running windows, and I have the following line already in my auto mod_jk: LoadModule jk_module c:/Program Files/Apache Group/Apache2/modules/mod_jk.dll Is there anything that could wrong? Richard.

Re: Portal - Coplets / Sunlet

2003-01-30 Thread Richard Reyes
thanks. - Original Message - From: "Carsten Ziegeler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 4:40 PM Subject: RE: Portal - Coplets / Sunlet > > > > -Original Message- > > From: Richard Reyes [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, J

RE: Portal - Coplets / Sunlet

2003-01-30 Thread Carsten Ziegeler
Hi Richard, with the latest HEAD CVS your problem is solved. You have to set the mime-type parameter as explained below: http://apache.org/cocoon/include/1.0";> http://www.google.com mime-type text/html This is a little bit verbose, but it does the trick. What do

Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Robert Simmons
I have reluctantly come to the conclusion that cocoon is not ready for professional development. Unlike tomcat, or Ant, this product has serious things blocking its use in production systems. I personally am completely and utterly stopped by the classpath bug indicated here: http://nagoya.apa

Re: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Andreas Bednarz
Hi Robert, I completely agree with your opinion and share your sorrows about the current state. I personally use Resins XTP mechanism, which works fine and fast and is well documented etc. Maybe some days we will change to cocoon, but now ... Andreas Bednarz Am Don, 2003-01-30 um 12.21 schrieb

Re: 2 return values from an action?

2003-01-30 Thread Johannes . Becker
Hi again, >>In your particular case it'd be much better to return two values from the >>action, just you different keys in the HashMap to do it: >>results.put("xsl-choice", "style _16"); >>results.put("format", "fo2pdf"); >>and then use it in your sitemap like this:

Re: Cocoon Competence Center Updates

2003-01-30 Thread Konstantin Piroumian
From: "Robert Simmons" <[EMAIL PROTECTED]> > Is not cocoon's power or anything else that I'm arguing with. There is an > extremely serious bug in cocoon that is causing me to not be able to use it > at all. It is clear that cocoon was developed to be a single solution and to > not integrate with t

Re: 2 return values from an action?

2003-01-30 Thread Konstantin Piroumian
From: <[EMAIL PROTECTED]> > > Hi again, > > >>In your particular case it'd be much better to return two values from the > >>action, just you different keys in the HashMap to do it: > > >>results.put("xsl-choice", "style _16"); > >>results.put("format", "fo2pdf"); > > >>and then use it in your site

Re: Cocoon Competence Center Updates

2003-01-30 Thread Robert Simmons
> From: "Robert Simmons" <[EMAIL PROTECTED]> > > > Is not cocoon's power or anything else that I'm arguing with. There is an > > extremely serious bug in cocoon that is causing me to not be able to use > it > > at all. It is clear that cocoon was developed to be a single solution and > to > > not i

Re: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread SAXESS - Hussayn Dabbous
i agree partially on your opinion. * yes, cocoon is complex to use, we are talking about this since long time now... * yes, cocoons documentation is complex and not complete. * yes, it takes time to get productive on cocoon, maybe too much time * yes, debugging with cocoon is poor. but... in

RE: Cocoon Competence Center Updates

2003-01-30 Thread Luca Morandini
> -Original Message- > From: Robert Simmons [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 1:08 PM > To: [EMAIL PROTECTED] > Subject: Re: Cocoon Competence Center Updates > No no no... you dont get it. Im a consumer. Im a professional programmer. Im > not some guy hackign in

Re: Cocoon Competence Center Updates

2003-01-30 Thread Robert Simmons
my question is how other people can even use cocoon with this bug in it. Certainly if you are just doing SQL to a little database, it will work fine but has none before tried to integrate it with an enterprise development system? -- Robert - Original Message - From: "Luca Morandini" <[EMA

Re: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Steven Noels
Robert Simmons wrote: I have seen a plethora of new people come on this list and then just vanish. Comments are invited. That's a quick decision for someone who has been around here for only 2 weeks: http://marc.theaimsgroup.com/?a=10426232413&r=1&w=2 Then again, we should feel honoure

Create a new thread, if discussions leave off ground

2003-01-30 Thread SAXESS - Hussayn Dabbous
Nowadays threads keep on growing, but the discussions sometimes turn away from the thread title. then it becomes really a problem to guess the content from the title. It would take less time to get hold on personally relevant mails ;-) thank you, Hussayn Luca Morandini wrote: -Original Mes

Re: Create a new thread, if discussions leave off ground

2003-01-30 Thread Steven Noels
SAXESS - Hussayn Dabbous wrote: Nowadays threads keep on growing, but the discussions sometimes turn away from the thread title. then it becomes really a problem to guess the content from the title. Also keep in mind that changing the subject title while replying won't be enough to rethread, s

Re: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Robert Simmons
> Robert Simmons wrote: > > > I have seen a plethora of new people come on this list and then just > > vanish. > > > Comments are invited. > > That's a quick decision for someone who has been around here for only 2 > weeks: http://marc.theaimsgroup.com/?a=10426232413&r=1&w=2 I have put in 14

Re: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread SAXESS - Hussayn Dabbous
Robert, this was NOT POLITE ! stop this attacks! thats useless and distracting! no more words on this. hussayn -- Dr. Hussayn Dabbous SAXESS Software Design GmbH Neuenhöfer Allee 125 50935 Köln Telefon: +49-221-56011-0 Fax: +49-221-56011-20 E-Mail: [EMAIL PROTECTED]

RE: Re: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread robert_hitchins
>Robert Simmons wrote: > >I have put in 14 to 16 hours a day for 2 weeks on this thing. Lets fuckign >add it up shall we. That would be 210 hours averaging at 15 hours a day. >Dividing by 40 hours (the standard workweek) means that i have put in nearly >5 weeks of work time compressed into 2 wee

Re: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Robert Simmons
Neither was his post to me. However, I agree its a waste of time. -- Robert - Original Message - From: "SAXESS - Hussayn Dabbous" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 2:12 PM Subject: Re: Time to go back to JSP. Cocoon just isnt ready. > Robert, >

RE: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Carsten Ziegeler
PLEASE: LET'S NOT TURN THIS INTO A FLAME WAR AGAINST ANYONE! We can discuss everything as long as it does not get personal. If someone does not want to use Cocoon, fine - if someone wants to use Cocoon, it's even better. And if someone is soo happy with Cocoon and can even give back to the immens

Re: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Sorin Marti
Ooooh!! I have not followed the list in the last days and now this. What's going on? If you got a problem with each other why can't you be polite? This list is (AFAIK) NOT to curse at somebody. If you want to vituperate please do it per PM!! Sorin Marti -

Re: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Emmanuil Batsis (Manos)
Robert, 210 hours in two weeks is like a single man-week IMHO (40 hours). Man hours are counted in both quality and quantity. Professionals should be aware of that. We are also professionals, although still hacking in some room between everything, but that shows we love our work. We are also

Antwort: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread manfred . weigel
Hi! I think 2 weeks are definitively not enough time to costumize Cocoon to fit your needs. There is no reason to use Cocoon with all its features (XSP) as it is. I found out that many different ways are possible to find your goal. JSP is not an alternative to cocoon, its just another different

Re: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Robert Simmons
Sorry. To say I've had a bad week would be a massive understatement. Today was just not the right day to flame me. If he had done it yesterday I would have ignored him. But my mail was just as uncalled for as his. -- Robert - Original Message - From: "Sorin Marti" <[EMAIL PROTECTED]> To:

Apache Tomcat/4.0.6 - HTTP Status 404

2003-01-30 Thread Richard Cunliffe
Hi,   I can see there is an argument going on at the moment, but if anyone has time….     I now have installed the following:       JDK 1.3     Cocoon 2.0.4     Tomcat 4.0.6     Apache 2.0.42   And they are all working! J   I had previously had

Re: Cocoon Competence Center Updates

2003-01-30 Thread Irving Salisbury
You know, I have been coding in cocoon for about 2 years now, and have gotten by quite happily without XSP pages at all.  The bug you are referring to only is a bug with XSP.  Maybe you can look at cocoon without using XSP pages?  There may be a reason you have to use XSP, but just wanted to ch

Re: Cocoon Competence Center Updates

2003-01-30 Thread Robert Simmons
My book has nothing to do with cocoon. Its a side issue at best. That's why I was so irritated about spending 2 weeks on it to draw a blank. Nothing like spending 2 weeks on something you consider to be trivial to your main line of work.   -- Robert - Original Message - From:

Accessing session variables in the sitemap.xmap

2003-01-30 Thread Heiko Milke
Hello,   I want my application to work like the following.             1. the serverpages generator accesses a script named "xsp/example.xsp" Withing this script a session variable named "selected_stylesheet" is set.   xsp/example.xsl   2. In the next step i want to transform the g

Re: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Irving Salisbury
Steven, Because people are going to flame you, I thought maybe I'd send an email agreeing with you ;-) When I first started using cocoon, it seemed weird and akward. It took about 2-3 months of really digging in and trying to use it. This was before there were good books out, of which there

AW: Apache Tomcat/4.0.6 - HTTP Status 404

2003-01-30 Thread Jan Harms
Richard,   it seems that your request reaches the Tomcat-Server, but not the Cocoon-Servlet (If Coccon can´t find a certain page it displays something like "Cocoon 2 - Resource not found").   Make sure that your /soundpool URIs are send to the Cocoon-Servlet: Check    TOMCAT_HOME/conf/serv

RE: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Artur Bialecki
Cocoon is ready and it has been for a while. We've been using cocoon for interface to our application for last 2 years and deploying it in *very* large companies. We have 1000+ XSP talking to EJBs and I never encountered the problem described in the bug you pointed out (1.7.3 - 2.0.3 releases). JS

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Andrew Timberlake
Heiko On Thu, 2003-01-30 at 15:56, Heiko Milke wrote: > Hello, > > I want my application to work like the following. > > > > > > > > > > > 1. the serverpages generator accesses a script named "xsp/example.xsp" > Withing this script a session variable named "selected_sty

RE: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Matthew Langham
This type of thing really makes my day. You know actually it does the project more good than harm. It pays to step back from our day to day Cocoon euphoria now and again and look at things through other peoples eyes. And its obvious that some people have difficulties "getting" Cocoon and perhaps ev

AW: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Scherler, Thorsten
Hello, group. I am using cocoon in a professional environment. I am happy with it! So is my boss, ...and his boss! Use yourself whatever you want! Come back in one year - yes I strongly believe cocoon will be still there, because it is the concept behind it that makes so powerful! But pleas

Cocoon hosting - experiences?

2003-01-30 Thread gv
Hello, I am curious about people's experiences with setting up live Cocoon sites with a Web host: Any hosts that seem particularly good (or bad)? How about uptime for the Cocoon servlet and the servlet container? Any controls for restarting if needed? Satisfied with the version of Cocoon, Java,

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Heiko Milke
Hey Andrew, > You probably want to change your pipeline as follows: > > > > > > > > This is an input module which will retrieve the session attribute named > selected_stylesheet. The way you have it written is trying to access a > sitemap parameter named selected_stylesheet. > The

Re: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Stephan Michels
Hi, I found a blog, which fits perfecly ;-) http://blogs.werken.com/people/bob/archives/000146.html Stephan Michels - Please check that your question has not already been answered in the FAQ before posting.

Re: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Sorin Marti
*lol* that reminds me of something ... :-D Stephan Michels wrote: Hi, I found a blog, which fits perfecly ;-) http://blogs.werken.com/people/bob/archives/000146.html Stephan Michels - Please check that your question has no

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Andrew Timberlake
Heiko Have you set the session to be created? In the xsp:page declaration: xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="true" Andrew On Thu, 2003-01-30 at 16:33, Heiko Milke wrote: > Hey Andrew, > > > You probably want to change your pipeline as follows: > > > > >

substring-before()

2003-01-30 Thread Scherler, Thorsten
Hello group, Function: string substring-before ( string, string ) Returns the string part preceding the first occurence of the second passed string inside the first passed string. The return value of substring-before('2000/3/22', '/') would be '2000'. My question: can that first string be a pa

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Heiko Milke
Hey Andrew, > Heiko > > Have you set the session to be created? > > In the xsp:page declaration: > > xmlns:xsp-session="http://apache.org/xsp/session/2.0"; > create-session="true" Yes I did. And if i "echo" the value from "selected_stylesheet" in the xsp page then it is correctly set. The site

AW: substring-before()

2003-01-30 Thread Scherler, Thorsten
Yes it can be: e.g. ... ... -Ursprüngliche Nachricht- Von: Scherler, Thorsten Gesendet: Donnerstag, 30. Januar 2003 16:06 An: Cocoon-Users (E-Mail) Betreff: substring-before() Hello group, Function: string substring-before ( string, string ) Returns the string part preceding the firs

RE: proposal: "The Newbies Competence Center" (XSP?)

2003-01-30 Thread Hunsberger, Peter
Title: Message > Thanks for the comments; I am still not sure I  > understand or agree with the "proprietary" code part;  > my definition (based around ownership) seemingly disagrees  > with yours - we will then obviously disagree about the   > implications...    For purposes of evaluating i

Re: Cocoon hosting - experiences?

2003-01-30 Thread SAXESS - Hussayn Dabbous
i'm using this combination: apache-1.3.26 (mod_jk, SSL) tomcat-4.1.18 cocoon-2.0.4 DB2-UDB-7.1 Secureway-LDAP-3.2.1 i'm serving my companies website with this. My overall Uptime of the site is 100% but that may not say anything, because the site is only running since one month. My site is rather

date translation

2003-01-30 Thread Scherler, Thorsten
Hello group, if anybody need a date translation, here it is: e.g. test.html?date=29.1.2003 (like we write in Germany) will be 1/29/2003. ... // King regards > Mit freundlichem Gruss, > > Thorsten Scherler > Marketing / Telefonmarketing > > Weidmüller GmbH & Co. > P.O. Box 2807 > 33

Re: Cocoon hosting - experiences?

2003-01-30 Thread Steven Noels
gv wrote: I am curious about people's experiences with setting up live Cocoon sites with a Web host: Any hosts that seem particularly good (or bad)? http://www.aoindustries.com/ operates the hardware behind cocoondev.org and does a decent job at it. -- Steven Noels

RE: Cocoon Competence Center Updates

2003-01-30 Thread Hunsberger, Peter
> my question is how other people can even use cocoon with this bug in it. > Certainly if you are just doing SQL to a little database, it will work > fine but has none before tried to integrate it with an enterprise development > system? It's real simple: don't use XSP... You where going along

AW: date translation

2003-01-30 Thread Scherler, Thorsten
it is me again. How can I do it with xsp? -Ursprüngliche Nachricht- Von: Scherler, Thorsten Gesendet: Donnerstag, 30. Januar 2003 16:22 An: Cocoon-Users (E-Mail) Betreff: date translation Hello group, if anybody need a date translation, here it is: e.g. test.html?date=29.1.2003 (like

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Andrew Timberlake
Heiko I through together a quick test which works. Let me know if this works with you? PS. I am using cocoon from CVS as of about 3 nights ago. sitemap.xmap (extract) == xsp/example.xsp === http://apache.org/xsp"; xmlns:xsp-session="http:

Re: date translation

2003-01-30 Thread Konstantin Piroumian
Please tell us what is the final target of your date translation and we'll try to advice something. In XSP you do it just the same way as in pure Java: // perform your date translation using any method you like, e.g. SimpleDateFormat.parse(), etc. -- Konstantin - Original Message -

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Heiko Milke
Hey Andrew, Thanks for all your help! But well, it still aint working :( I tried on several browsers. I tried in the mount directory and i tried from the main sitemap. None if it works. Im using cocoon version 2.0.4 (on Windows 2000). Heiko ---

Re: Cocoon hosting - experiences?

2003-01-30 Thread Cocoon User
tomcat 4.0.1 cocoon 2.0rc2 Apache/1.3.22 (Unix) (Red-Hat/Linux) the server up is from the release date of cocoon 2.0rc2 we are serving 3 sites (24/7) using cocoon (wirtual hosting) without any problem and we are almost satisfied with the performance i notice that in this server are up and runi

AW: date translation

2003-01-30 Thread Scherler, Thorsten
Hello Konstantin, I want to do the following: I produce reports from a database. e.g. select * from info_bericht where Info_datum = ## AND country ='' This is be done from a html form. e.g. France Italy Netherland Swiss The actual date of the has to be in the format e.g. 01/

RE: Cocoon hosting - experiences?

2003-01-30 Thread Geoff Howard
I recently looked into consumer hosting for cocoon for the first time. Because that project was going to have relatively light traffic, I wound up going with a "virtual dedicated" server account for $80USD/month. I've been able to reuse the account for several smallish projects and have room to co

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Christian Haul
On 30.Jan.2003 -- 02:56 PM, Heiko Milke wrote: > Hello, > > I want my application to work like the following. > > > > > > > > > > > 1. the serverpages generator accesses a script named "xsp/example.xsp" > Withing this script a session variable named "selected_stylesheet" is s

RE: Apache Tomcat/4.0.6 - HTTP Status 404

2003-01-30 Thread Geoff Howard
It looks like you requested /soundpool/soundpool.xml but your pipeline is set up to match /soundpool/soundpool -- note also that a trailing slash here will also fail. When you say it's all working, do you meant that /cocoon/ gives you the cocoon output? Also, when you say you've placed your examp

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Heiko Milke
Hello Christian, Thank you very much! It's good to know that it is impossible. I already guessed that. I'll write an action and see how it works out. Bye Heiko :) - Original Message - From: "Christian Haul" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 4:

name an output-file dynamically in cocoon?

2003-01-30 Thread Johannes . Becker
Hi again, is it possible to name an output-file dynamically in cocoon. E.g. a pdf is created that has the name report_31_01_2003.pdf because its the 31 Jan 2003 (or report_GSM.pdf because I got a parameter with the value "GSM"). Is this possible at runntime? To keep up an other question, about

Re: date translation

2003-01-30 Thread Joerg Heinicke
Only a comment: Using is mostly not the optimum. It will create a Result Tree Fragment, where it is not needed. Using is shorter and is of a "normal" data type like node set, string or number. While working with strings it's only a question of conversions the processor has to do. Bu

Using getLastModified() to implement browser caching

2003-01-30 Thread Collin VanDyck
Hi,   I've implemented a custom Reader to read file entities out of my database.  Because these file entities span across multiple tables and are managed thru my J2EE container, I'd like to implement some browser-side caching to prevent excessive generation on the server side.   In my reader

AW: date translation

2003-01-30 Thread Scherler, Thorsten
Thanks! I found: http://xml.apache.org/cocoon1/xsp.html -Ursprüngliche Nachricht- Von: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 30. Januar 2003 17:57 An: [EMAIL PROTECTED] Betreff: Re: date translation Only a comment: Using is mostly not the optimum. I

Re: substring-before()

2003-01-30 Thread Jeremy Quinn
On Thursday, Jan 30, 2003, at 15:06 Europe/London, Scherler, Thorsten wrote: Hello group, Function: string substring-before ( string, string ) Returns the string part preceding the first occurence of the second passed string inside the first passed string. The return value of substring-befor

RE: Apache Tomcat/4.0.6 - HTTP Status 404

2003-01-30 Thread Richard Cunliffe
Geoff, When I say they are all working, I mean that they each show the own page, e.g http://192.168.0.5:8080/cocoon/ or http://192.168.0.5:8080/index.html for tomcat. What's not working: It's not finding soundpool.xml. What do you mean about my pipeline match: "It looks like you reque

i18n translation with attributes: 2 questions

2003-01-30 Thread Cyril Vidal
Hi, If some of you would have some tips for these two questions, I would be very grateful: 1°) Under Cocoon 2.0.4 and Windows 2000: I use a i18n Transformer (with french and english dictionnaries), and all's working fine with elements' translation. But not for attributes. I have basicaly a HTML

Re: substring-before()

2003-01-30 Thread Thorsten Scherler
Jupp, thanks! What would be an appropriate XSLT forum? Any recommendations? Jeremy Quinn wrote: On Thursday, Jan 30, 2003, at 15:06 Europe/London, Scherler, Thorsten wrote: Hello group, Function: string substring-before ( string, string ) Returns the string part preceding the first occuren

Re: substring-before()

2003-01-30 Thread Joerg Heinicke
Thorsten Scherler wrote: Jupp, thanks! What would be an appropriate XSLT forum? Any recommendations? http://www.mulberrytech.com/xsl/xsl-list/ Joerg - Please check that your question has not already been answered in the FA

Re: i18n translation with attributes: 2 questions

2003-01-30 Thread Joerg Heinicke
Hello Cyril, Cyril Vidal wrote: Hi, If some of you would have some tips for these two questions, I would be very grateful: 1°) Under Cocoon 2.0.4 and Windows 2000: I use a i18n Transformer (with french and english dictionnaries), and all's working fine with elements' translation. But not for a

Passing parameters to an XSP

2003-01-30 Thread Mark H
I'm trying to pass parameters to an XSP but I'm getting an exception: unreported exception: org.apache.avalon.framework.parameters.ParameterException; must be caught or declared to be thrown I saw a similar post in the archives but when I tried the recommended solution it still didn't work, any i

Re: Passing parameters to an XSP

2003-01-30 Thread Lajos
Mark - Yup, you do. I use something like: String myparam = ""; try { myparam = parameters.getParameter("myparam"); } catch (Exception e) { } Make sure it comes AFTER the root user tag in your XSP. Regards, Lajos Mark H wrote: I'm trying to pass parameters to an XSP but I'm ge

Re: Passing parameters to an XSP

2003-01-30 Thread leo leonid
On Donnerstag, Januar 30, 2003, at 07:47 Uhr, Mark H wrote: I'm trying to pass parameters to an XSP but I'm getting an exception: unreported exception: org.apache.avalon.framework.parameters.ParameterException; must be caught or declared to be thrown I saw a similar post in the archives but

Im sure its a simple problem!

2003-01-30 Thread Richard Cunliffe
To anyone who can help, I now have installed the following: JDK 1.3 Cocoon 2.0.4 Tomcat 4.0.6 Apache 2.0.42 And they are all working! J When I say they are all working, I mean that they each show the own page, e.g http://192.168.0.5:8080/cocoon/ o

Re: Im sure its a simple problem!

2003-01-30 Thread Tony Collen
On Thu, 30 Jan 2003, Richard Cunliffe wrote: > Apache Tomcat/4.0.6 - HTTP Status 404 - /soundpool/soundpool.xml > type Status report > message /soundpool/soundpool.xml > description The requested resource (/soundpool/soundpool.xml) is not > available. > > > > > >

Re: i18n translation with attributes: 2 questions

2003-01-30 Thread Cyril Vidal
Hello Joerg, Thank you very much for your response. I think I've done what you told me. in my stylesheet: and in my dictionaries french: Soumettre la requête english: Submit the request But unfortunately (I've stopped and restarded Tomcat), I always have the same french message on the butto

Re: Im sure its a simple problem!

2003-01-30 Thread Steven Noels
Richard Cunliffe wrote: C:\tomcat\webapps\soundpool\soundpool.xml C:\tomcat\webapps\soundpool\soundpool.xsl + tomcat (folder) + webapps (folder) +- soundpool (folder) +- soundpool.xml (file) +- soundpool.xsl (file) I assume that webapps is the correct folder. nope, you should put

Re: i18n translation with attributes: 2 questions

2003-01-30 Thread Joerg Heinicke
As I mentioned in my last mail, I guess you must use the "value" attribute for changing the text on the button: The name is only interesting for DOM processings like document.form[0].elements["name of the form element"]. Regards, Joerg Cyril Vidal wrote: Hello Joerg, Thank you very much fo

Re: i18n + XSLT transformation

2003-01-30 Thread Joerg Heinicke
Hello Cyril, found this message just now (I still have nearly 500 unread Cocoon messages since the weekend). Did you solve the problem? The sitemap looks ok, maybe the namespace declaration in the XSLT is wrong? Joerg Cyril Vidal wrote: Hi, Just to go more deeply into Cocoon's comprehension,

Re: i18n translation with attributes: 2 questions

2003-01-30 Thread Cyril Vidal
Yes, of course;-)) it runs well now.. Thanks for your help, Joerg. PS:Something quite strange is happening: I see the answers of my messages but not my messages themselves on the mailing-list... - Original Message - From: "Joerg Heinicke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

Re: i18n + XSLT transformation

2003-01-30 Thread Cyril Vidal
Thanks for your help Joerg!! Yes, I found a solution to my problem but I can't really explain it... This runs well: with the declaration of transformer xslt-with-param as bellow: true but this does'nt work: I thought both syntaxes were valid, aren't

Re: i18n + XSLT transformation

2003-01-30 Thread Joerg Heinicke
Oh, I didn't see that in the original mail. Your elements are wrongly nested. in is not possible. So it should work. Do you really need the request parameters in XSL? Because XSLT is always cached with the passed params, you thwart more or less effective caching. Regar

  1   2   >