Re: New Riders book review

2002-09-19 Thread Martin Holz
On Thursday 19 September 2002 19:37, Alex McLintock wrote: > I've reviewed the New Riders Cocoon book and the review is available here. > > http://news.diversebooks.com/article.pl?sid=02/09/19/1722242 [...] > The book starts off with far too much information about web applications > without spec

Re: Sendmail again :(

2002-09-19 Thread Ivan Luzyanin
On Wednesday 18 September 2002 15:33, Ivan Luzyanin wrote: > Hi! > > I'm having a problem with sendmail. I've successfuly set up sendmail > logicsheet, put mail.jar from JavaMail 1.3 pakage to WEB-INF/lib. > Transformed XSP page (Java source in work dir, attached) seemes to be ok > and no errors r

Re: XMLForm stylesheet change suggestion

2002-09-19 Thread Ivelin Ivanov
Phil, Sorry it took me a while to respond, I am having some problems with the 2.1 build. The XForms spec mandates one sub element. I think if you need additional text, you can use other custom tags from your own namespace. My field Custom Text Another option is to not set display text

Re: Impossible or not? Combining request-parameter & wildcard matchers in 1 pipe

2002-09-19 Thread Erik Norvelle
Barbara: Thanks for the tip. What ended up working was using the org.apache.cocoon.acting.RequestParamAction Action class. For the sake of anyone reading this in the future, here's what I did. I created an action as follows: I then used this new Action in my pipeline:

Re: Install problems WAS3.5.5

2002-09-19 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: > I am closer now thanks to that bit of info. However, now when I open > "http://stuff.domain.com/Cocoon"; I get a nicely formatted "Cocoon 2 - > Internal server error": > - 8< Snip--- > java.lang.NullPointerException [...] > (CocoonServlet.java:901

Re: Install problems WAS3.5.5

2002-09-19 Thread dfeather
> [EMAIL PROTECTED] wrote: > > I searched the archives, and google, and haven't found a good > > explanation about how to go about getting Cocoon working in Websphere > > 3.5.x. I am close I think. I used the WAR file converter in the Admin > > Console, but I get an exception during init of

redirect-to error causes Cocoon servlet exception

2002-09-19 Thread Amanda Drake
Cocoon users, I am using Cocoon 2.0.3 and Tomcat 4.0.4. I have a redirect-to in place in my sitemap that looks like this: Everytime I hit the page http://localhost:8080/gwd_webapp/ I get the following error message in access.log: . . . DEBUG (2002-09-19) 13:36.

New Riders book review

2002-09-19 Thread Alex McLintock
I've reviewed the New Riders Cocoon book and the review is available here. http://news.diversebooks.com/article.pl?sid=02/09/19/1722242 Oh ok, here it is too. Title: Cocoon: Building XML Applications Author: Matthew Langham Author: Carsten Ziegler Publisher: New Riders URL: http://www.newrid

Re: Install problems WAS3.5.5

2002-09-19 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: > I searched the archives, and google, and haven't found a good > explanation about how to go about getting Cocoon working in Websphere > 3.5.x. I am close I think. I used the WAR file converter in the Admin > Console, but I get an exception during init of the Cocoon

Re: how to prevent logging passwords in request and sessionparams?

2002-09-19 Thread Barbara Post
second question : yes : see rotation tag in WEB-INF/logkit.xconf. Babs - Original Message - From: "Timothy Larson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 19, 2002 6:17 PM Subject: how to prevent logging passwords in request and sessionparams? How do you p

Install problems WAS3.5.5

2002-09-19 Thread dfeather
Hello, I searched the archives, and google, and haven't found a good explanation about how to go about getting Cocoon working in Websphere 3.5.x. I am close I think. I used the WAR file converter in the Admin Console, but I get an exception during init of the Cocoon servlet: javax.servlet.

how to prevent logging passwords in request and sessionparams?

2002-09-19 Thread Timothy Larson
How do you prevent logging of passwords held in request parameters and session attributes? I do not want to turn off logging completely. By the way, is there any sort of automated log rotation for cocoon to prevent the logs getting too big? Tim ---

Re: Umlauts in cocoon 2.0.2

2002-09-19 Thread Kenneth Roper
Thanks to everyone who replied to this thread, I managed to crack it in the end. The solution to my umlaut problem consisted of: 1. Putting this action at the top of the pipeline which handles the UTF-8 post: 2. Saving all my files ensuring the bytes written to disk were UTF-8 (as Ugo, An

RE: Cocoon 2.0.3 under Enhydra 3.1

2002-09-19 Thread Matthew Hailstone
Awesome! I changed the xsp file to declare a namespace of: xmlns:session="http://apache.org/xsp/session/2.0"; create-session="true" instead of xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="true" and changed all the tags in the file (of cour

Re: saving xml to file - server prob

2002-09-19 Thread Hans Wursten
Yeah, you were right. :) The path was wrong. The right is: "/usr/java/tomcat/webapps/reqDyn/requirement/" Thank you! greets > "nothing is saved as well.", are you sure any file of name xyz.xml is > created, in usr/home for example ? I don't know much with Linux but if > this > is supposed to w

Re: i18n question

2002-09-19 Thread Mathias Ochsendorf
Hi list, thanks for your help and advices :) > Sure it will couse a nullpointerexception. First of all you need to to get > from this snip something like this: > > > > > /images/test.svg?label_text=hello&label_color=red > > > > > and than use thi

Error deploying cocoon.war (Version 2.0.3) to Tomcat 4.1.10

2002-09-19 Thread Andrei Svirida
Hi all, i've downloaded the Cocoon 2.0.3 and tried to deploy the file cocoon.war to my Tomcat server (4.1.10) using the Tomcat Manager (or 'Deployment tool' by Sun) After deployment the manager reports the Cocoon application as "running" whenn calling /cocoon on my Tomcat Server i get the follo

Deploying Cocoon 2.0.3 in JBoss 3.0.2 with Embedded Catalina 4.0.4

2002-09-19 Thread Klaus Richarz
Hello, we are using cocoon with JBoss/Catalina. We have packed the cocoon.war file into an .ear file to set the context-root to "/cocoon". Everything works fine with 3.0.0/4.0.3 & JDK 1.3.1_03. Now we have upgraded JBoss/Catalina from 3.0.0/4.0.3 to 3.0.2/4.0.4. Result: we cannot deploy Cocoon 2

Re: Cocoon 2.0.3 and CastorTransformer

2002-09-19 Thread Werner Guttmann
Alan, thanks, that helped to solve one problem, in other words: I am not getting the NullPointer exception anymore. Strangely enough, it looks like the CastorTransformer is not kicking in at all now. Please find below various fragments of code from the sitemap: props/castor-bind.xml

Re: saving xml to file - server prob

2002-09-19 Thread Barbara Post
"nothing is saved as well.", are you sure any file of name xyz.xml is created, in usr/home for example ? I don't know much with Linux but if this is supposed to write a file, it should... Sorry. - Original Message - From: "Hans Wursten" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Th

Re: saving xml to file - server prob

2002-09-19 Thread Hans Wursten
I have writing-rights. Yes, I am using windows. But if I write "xyz.xml" as filename instead of the "\\ten-web\..." or use slashes, nothing is saved as well. > maybe the way you wrote the path with antislashes Linux system uses > slashes... Do you use Windows system on your local computer ?

Re: saving xml to file - server prob

2002-09-19 Thread Barbara Post
maybe the way you wrote the path with antislashes Linux system uses slashes... Do you use Windows system on your local computer ? Maybe a write rights problem too. Babs - Original Message - From: "Hans Wursten" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 19,

Re: Tomcat's automatic reload of classes and Cocoon

2002-09-19 Thread Vadim Gritsenko
Barbara Post wrote: >It works fine if I compile my classes with JBuilder and Tomcat running, but >it says "Cocoon was not initialized" if I build my webapp with JBuilder and >Tomcat running : i.e : JBuilder copies all the jars to WEB-INF/lib again, >instead of only the classes to WEB-INF/classes.

saving xml to file - server prob

2002-09-19 Thread Hans Wursten
I am using the stylesheet below to save generated xml to a file. It works fine, locally on my computer. But when I try to use the webapp on the (linux)server (ten-web), nothing is saved! What could be the problem? Thanks for any help! http://apache.org/xsp"; xmlns:xsl="http://www.w3.org/1999/X

Re: Cocoon 2.0.3 under Enhydra 3.1

2002-09-19 Thread Vadim Gritsenko
Matthew, The code generated with 2.0.1 means that session logicsheet was not applied. Please look at 2.0.1 samples for session logicsheet usage. It might be that with 2.0.1 you have to use "session" namespace, not "xsp-session". This bug was fixed, now (2.0.3) you can use any namespace prefix

[solved] Re: troubles with logging of non-cocoon classes...

2002-09-19 Thread Barbara Post
I did not express clearly so you partly misunderstood (the code you wondered about was in fact in the act() method of my custom action to create and initialize my custom non-Cocoon class) but you helped me anyway, thanks Marcus : indeed the 2 loggers I have have the same ID (LogKitLogger@2d5534),

doubt in i18n

2002-09-19 Thread Kavitha Ramesh
Hi, I want to use ®(which is for ®) in messages_de.xml and messages_en.xml.My messages_en.xml is as follows: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> Hello ® Kavitha I want the out put as Hello ® Kavitha.But Iam getting just Hello. If I

Re: form validation

2002-09-19 Thread Barbara Post
I solved it after restarting cocoon, it worked... Indeed I used the SimpleFormTransformer. I also used 2 "error" tags. - Original Message - From: "Christian Haul" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 19, 2002 1:58 PM Subject: Re: form validation > On 12.S

Re: form validation

2002-09-19 Thread Christian Haul
On 12.Sep.2002 -- 03:12 PM, Barbara Post wrote: > I just wonder whether I can do the following in my xsl : > > The field validation can trigger 2 types of errors : > 1. the field is null -> show message 1 > 2. the field is not null but has wrong regex syntx -> show message 2. > > I just have tro

Re: troubles with logging of non-cocoon classes...

2002-09-19 Thread Marcus Crafter
Hi Barbara, On Thu, Sep 19, 2002 at 12:04:07PM +0200, Barbara Post wrote: > I get a NPE. I followed : > http://outerthought.net/wiki/Wiki.jsp?page=JavaLogging method 1. > > First class is a classical custom Action, which has its logger defined in > the sitemap. > Logging of this action works fin

Re: How to handle 3 input fields to store it in one date column?

2002-09-19 Thread Christian Haul
On 14.Sep.2002 -- 07:17 AM, Antonio Gallardo Rivera wrote: > This can be changed to a question: how to manipulate parameters before > form-validation. You can use a custom action that stores the result in a request attribute and validate against that. > El Sábado, 14 de Septiembre de 2002 06:56

Re: XHTML Serilization instead of HTML S.

2002-09-19 Thread Barry McMullin
On Thu, 19 Sep 2002 [EMAIL PROTECTED] wrote: > well, thank you, I basically know this, but to come back to the point: > > I DO NOT want to learn how to make correct XHTML, what I want is, that > Cocoon renders correct HTML. > > *that* is the point! > > any suggestions? Sorry, I missed your in

Re: XHTML Serilization instead of HTML S.

2002-09-19 Thread alasan
> Once upon the time Cocoon ignored ;-) > yes. I have the statement: already in my document since the beginning. it is ignored completly. however: in my opinion, this should not matter, as this should be the task of the serializer: and I did select the html serializer not the xht

Re: XHTML Serilization instead of HTML S.

2002-09-19 Thread Joerg Heinicke
Once upon the time Cocoon ignored ;-) Regards, Joerg Emmanuil Batsis (Manos) wrote: > [EMAIL PROTECTED] wrote: > >> I DO NOT want to learn how to make correct XHTML, what I want is, that >> Cocoon renders correct HTML. >> >> *that* is the point! >> >> any suggestions? > > > > Hmmm. Well,

Re: XHTML Serilization instead of HTML S.

2002-09-19 Thread Emmanuil Batsis (Manos)
[EMAIL PROTECTED] wrote: > I DO NOT want to learn how to make correct XHTML, what I want is, that > Cocoon renders correct HTML. > > *that* is the point! > > any suggestions? Hmmm. Well, whatever you are doing produces XML. If you are using XSLT, try changing the output method to html: Ma

Re: XHTML Serilization instead of HTML S.

2002-09-19 Thread alasan
> > Probably because what you have there is not XHTML. You don't have a > DOCTYPE declaration. For more information about how Mozilla chooses > between the XHTML and HTML display modes (using MIME, DOCTYPE and file > extentions), see [1]. > > Your markup, is not XHTML; a namespace alone is no

xsl:document and cocoon://

2002-09-19 Thread Barbara Post
Hi, I just realized that something doesn't work anymore and I have no clue why... and : while this fortunately works : Maybe because I use 2 different pipelines for cocoon://mlform and the one where I have my test stylesheet ? Gonna solve it after lunch... B

Re: Impossible or not? Combining request-parameter & wildcard matchers in 1 pipeline

2002-09-19 Thread Barbara Post
Just an idea, I am busy yet : use an Action and getParameterNames() method if I remember well (look at the API docs), so that you have all the request parameters. Then you can put sitemap parameters as you want. HTH, Babs - Original Message - From: "Erik Norvelle" <[EMAIL PROTECTED]> To:

Impossible or not? Combining request-parameter & wildcard matchers in 1 pipeline

2002-09-19 Thread Erik Norvelle
Problem Summary ** I cannot figure out how to use matchers to capture an arbitrary number of request-parameters, in combination with using a wildcard matcher to parse the structure of the request URI. I seem to be limited to capturing only a single

troubles with logging of non-cocoon classes...

2002-09-19 Thread Barbara Post
I get a NPE. I followed : http://outerthought.net/wiki/Wiki.jsp?page=JavaLogging method 1. First class is a classical custom Action, which has its logger defined in the sitemap. Logging of this action works fine. In this action I create an instance of a custom class that extends AbstractLogEnabl

Re: XHTML Serilization instead of HTML S.

2002-09-19 Thread Emmanuil Batsis (Manos)
Probably because what you have there is not XHTML. You don't have a DOCTYPE declaration. For more information about how Mozilla chooses between the XHTML and HTML display modes (using MIME, DOCTYPE and file extentions), see [1]. Your markup, is not XHTML; a namespace alone is not enough. AFAI

Re: XHTML Serilization instead of HTML S.

2002-09-19 Thread Alexander Schatten
Greg Jones wrote: > How are you creating your HTML. This looks like the issue might be in > your .XSL file that is creating the tag. The two tags > XHTML and HTML should work the same. > how could this be an issue of the XSL file??? the xsl file has to be XML well-formed, hence you have to

Tomcat's automatic reload of classes and Cocoon

2002-09-19 Thread Barbara Post
It works fine if I compile my classes with JBuilder and Tomcat running, but it says "Cocoon was not initialized" if I build my webapp with JBuilder and Tomcat running : i.e : JBuilder copies all the jars to WEB-INF/lib again, instead of only the classes to WEB-INF/classes. So Tomcat messes up with

Re: forms

2002-09-19 Thread Barbara Post
Actions were invented after XSPs, and their field / way of control is different. Actions set visible control in the sitemap (structured here). Look for former thread partially entitled "avoid use of xsp" or something similar. [EMAIL PROTECTED] So you'll see what best fits your needs... Babs ---

Multiple views with Cocoon sunRise?

2002-09-19 Thread Nicholas Hemley
Hello I am investigating the possibility of offering multiple views to information for users of a portal. I had imagined that this would involve some kind of 'guest cookie' being set on the user's machine that holds the level at which the user would like to see the information (i.e. beginner,

forms

2002-09-19 Thread Gabor Bartha
Hi, I'm new in xml, xsl, ... I try to understand how to make forms with post/get methods, ... but I begin to implicate the solutions. 1. I can make an xml, and an xsl (for the xml) to make a html form and post it to the other html. In this case I have to insert the row in the sitemap, then