Cocoon 2.1 Build Problem

2002-09-20 Thread Ivelin Ivanov
For the last few nights I have been trying to build the latest code from CVS HEAD. build clean webapp-local always succeeds, but the generated class files are corrupted. Also the libraries files copied under WEB-INF/lib are corrupted. I've tried with both JDK 1.3 and JDK 1.4. Same outcome. I've t

Re: german umlaut!

2002-09-20 Thread Vadim Gritsenko
Wolle, I was trying to reproduce your issue but failed. Can you put together small test case with short XML file, sitemap snippet, actual text output, and desired text output, and send this as an (zip) attachement? Thanks, Vadim Wolle wrote: >hi everybody! > >thank you very much for the h

Re: About Auth Framework

2002-09-20 Thread Antonio Gallardo Rivera
To answer my question: :) From Cocoon docs: A session is a data storage which resides on the server and records information about one single user. Cocoon creates a session on demand and from that point of time the user is tracked and information can be stored inside the session. Each followin

About Auth Framework

2002-09-20 Thread Antonio Gallardo Rivera
I have a little web application with aprox. 123 pages. I need to setup the users and groups permisions to this pages. I am using the Authentication Framework. All this permisions are stored in a database in the server. The question is: Where are all the session data stored or mantained? I ask

Problem redirecting to an XSP

2002-09-20 Thread Steven Cummings
Hello, I have what *seems* to be a problem redirecting to an XSP after authentication. At first I was trying out the sunRise components per Matthew's tutorial and it seems to work until my login component in the pipeline is called, and the authentication pipeline configured in the handler is c

RE: web app design

2002-09-20 Thread Hunsberger, Peter
> My webapp is a vertical app on cocoon, specifically only oriented for > Businesses who wants to base their e-comm-activity in CRM. You still didn't tell us your performance requirements, but this would suggest that the user community is small, or can at least be physically partitioned. As suc

Re: web app design

2002-09-20 Thread Raúl Wild-Spain
thanks for your response, Peter ;-) difficult questions ... I would like to explain my purposes a little more ( although I don't know if it's necessary for me or for you ... I think for me ;-) ) My webapp is a vertical app on cocoon, specifically only oriented for Businesses who wants to

Re: Urgent: Help in XSLT ..........

2002-09-20 Thread J.Pietschmann
Chitharanjan Mohandas wrote: > I have the following requirement.. I am sorry If I have posted > to the woring site. Since cocoon uses XSLT a lot, I guess I > will be better helped here Close, but no cigar. The best place to ask XSLT related questions is still the XSL list: http://www.mulber

Urgent: Help in XSLT ..........

2002-09-20 Thread Chitharanjan Mohandas
I have the following requirement.. I am sorry If I have posted to the woring site. Since cocoon uses XSLT a lot, I guess I will be better helped here Please do help me on this... Consider the following XML I need to extract the description for the language which appears first when sorte

RE: Excluding cinclude namespace thru a stylesheet following a cinclude transformation

2002-09-20 Thread Reinhard Poetz
Daniel, http://outerthought.net/wiki/Wiki.jsp?page=RemoveNamespaces Regards, Reinhard > -Original Message- > From: Daniel Fournier [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 20, 2002 6:55 PM > To: [EMAIL PROTECTED] > Subject: Excluding cinclude namespace thru a stylesheet foll

Problems running latest source build on XP Professional

2002-09-20 Thread Bruce Perryman
Hello, My environment is as follows: JDK 1.4.01 Tomcat 4.04 XP Professional My reasons for wanting to use the latest source is to make use of the authentication and session handling framework. I downloaded the source from CVS on 9/19/02 and built it on my dev. environment with no reported errors

RE: Password Encryption

2002-09-20 Thread Stefan Seifert
A bit off-topic, but: A good method is using a SHA-Hash of the password like this: public static String encryptPassword(String pstrPassword) { MessageDigest sha = MessageDigest.getInstance("SHA"); sha.update(pstrPassword.getBytes()); byte abytHash[] = sha.digest(); Stri

Is internal redirection from Actions possible?

2002-09-20 Thread Artur Bialecki
Is there a way to redirect internally (without going back to the browser) from an action? Actions get a Redirector but it is a SitemapRedirector that calls HttpEnvironment.redirect(). Is there any way I can get a ForwardRedirector in my action. Thanks, Artur... ---

Password Encryption

2002-09-20 Thread Antonio Gallardo Rivera
I am using authentication against the database. I am storing and geting the user parameters from a database. My question is: How can I encrypt the password to store it then in the database? Thanks in advance :) Antonio Gallardo -

Livesite http://biology.bangor.ac.uk/

2002-09-20 Thread Simeon Walker
Hello all, after nine months work our new Cocoon based website is live :-) I have used Cocoon 2.0.3 (branch), Tomcat 4.0.4 and Apache 1.3. The site sends table based html to older browsers and WC3 compliant code to newer browsers (Looks best in Mozilla). Data comes from a number of sources; two

SimpleFormTransformer

2002-09-20 Thread Marcin Stefaniuk
Hello! Where I can read about SimpleFormTransformer? Marcin - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail:

RE: web app design

2002-09-20 Thread Hunsberger, Peter
> Related to cocoon it seems I need to do all this through generators or > actions ( I think), but It not seems the proper way because all my required > process will occurs out of SAX streams or related process (or I don't > understand how to do it). Only in the load process my components will ne

Excluding cinclude namespace thru a stylesheet following a cinclude transformation

2002-09-20 Thread Daniel Fournier
Hello Carsten, First, I'd like to congratulate you for the Cocoon book you co-wrote. It's a must have for any Cocoon developer. Reading it has cleared many aspects of the Cocoon framework in my mind. Second, as you're the author of the very usefull cinclude transformer, could you explain how t

Q: web app design

2002-09-20 Thread Raúl Wild-Spain
Hi! I'm beginning in Cocoon so I've read the related documentation including the Avalon whitepaper. Even so I've some troubles to identify the proper implementation method for my webapp. Starting from Av. whitepaper I've an idea for my webapp and ending to Cocoon documentation I've another diffe

RE: Cocoon 2.0.3 under Enhydra 3.1

2002-09-20 Thread Matthew Hailstone
Interesting. It looks like the java file created by 2.0.3 creates/initializes the session object for you, but 2.0.1 generated java file does not. (Notwithstanding they both have the create-session attribute in the namespace definition) There were a few other null pointer exceptions that I had to t

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

2002-09-20 Thread Marcus Crafter
Hi Timothy, On Fri, Sep 20, 2002 at 11:43:48AM -0400, Timothy Larson wrote: > It would be helpfull if the request parameters and session attributes > were logged, but with certain ones not showing their values. > > For example: > SESSION ATTRIBUTES: > PARAM: 'username' VALUE: 'tdlarson' >

Re: Cocoon 2.0.3 under Enhydra 3.1

2002-09-20 Thread Vadim Gritsenko
Matthew Hailstone wrote: >Vadim, > How do I _explicitly_ create a session? Isn't the following supposed >to do that? > > xmlns:session="http://apache.org/xsp/session/2.0"; >create-session="true" > Yes, this will create the session. Other ways are , and request.getSession(). PS You mi

Re: how to prevent logging passwords in request andsessionparams?

2002-09-20 Thread Timothy Larson
Thank you both. I now have the logs rotating, and think I understand the log categories, but there is still one problem. It would be helpfull if the request parameters and session attributes were logged, but with certain ones not showing their values. For example: SESSION ATTRIBUTES: PARAM

RE: Cocoon 2.0.3 under Enhydra 3.1

2002-09-20 Thread Matthew Hailstone
Vadim, How do I _explicitly_ create a session? Isn't the following supposed to do that? xmlns:session="http://apache.org/xsp/session/2.0"; create-session="true" I looked on the website for the short list of xsp-session tags to use, but couldn't find anything to do this. I also have s

Re: Cocoon 2.0.3 and CastorTransformer

2002-09-20 Thread Werner Guttmann
Thanks, Vadim. Now, please find below the stack trace (just the root cause) from Catalina's app specific log file. Looking at line 94 of CastorTransformer.java (from the scratchpad of the Cocoon 2.0.3 source dist) I can see that it fails on the line marked with --> <---, but simply woul dnot know

Re: XSLT snippet for handling empty cells in HTML tables

2002-09-20 Thread Ilya A. Kriveshko
Alternatively, use [snip...] or have the following in your

Re: Cocoon 2.0.3 and CastorTransformer

2002-09-20 Thread Vadim Gritsenko
Werner Guttmann wrote: >Thanks, Vadim, for pointing this out. I just changed this back to be in line >with the CASTOR_URI declaration in CastorTransformer.java, i.e. use a >namespace declaration of > >xmlns:castor="http://castor.exolab.org/cocoontransfomer"; > >in my page. Though now I am facing

Re: how to merge a XML to a XSP ?

2002-09-20 Thread Vadim Gritsenko
funing wrote: >Hi! all: >I want to use upload.xsp to provide uploading service and provide >some other information got from a XML in the same page. >How can I make it? > XSP is already an XML, so it already does it. Clarify what you want. If you need aggregation of two files, read on a

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

2002-09-20 Thread Vadim Gritsenko
Barbara Post wrote: >second question : yes : see rotation tag in WEB-INF/logkit.xconf. > First question: use log categories. Change log level for category where username/pwd are logged.If this is sitemap component, you can even assign it separate log category. Vadim >Babs >- Original Me

Re: Cocoon 2.0.3 under Enhydra 3.1

2002-09-20 Thread Vadim Gritsenko
Matthew Hailstone wrote: >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 chan

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

2002-09-20 Thread Vadim Gritsenko
Andrei Svirida wrote: >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) > How did you do this? i.e., what was the url to deploy the war? >After deployment the manager repor

Re: Cocoon 2.0.3 and CastorTransformer

2002-09-20 Thread Werner Guttmann
Thanks, Vadim, for pointing this out. I just changed this back to be in line with the CASTOR_URI declaration in CastorTransformer.java, i.e. use a namespace declaration of xmlns:castor="http://castor.exolab.org/cocoontransfomer"; in my page. Though now I am facing the same problem as in my origi

Re: javascript in xsl

2002-09-20 Thread Ugo Cei
Gabor Bartha wrote: > Hi, > > How can I insert javascript into my generated html by xsl? > I would like my final html like this: > > > > > > > I have an xsp and an xsl stylesheet to generate the html. Apart from putting the Javascript in an external file, as has

Re: javascript in xsl

2002-09-20 Thread Antonio Gallardo Rivera
There are many forms to do that.I prefer to put the javascript in another file, then load it with: Then in the site map I have: And the myscript.js is stored inside the directory: $ROOT_OF_MY_APP/resources/styles I think this is better because I dont need to use the CDATA tag.

javascript in xsl

2002-09-20 Thread Gabor Bartha
Hi, How can I insert javascript into my generated html by xsl? I would like my final html like this: I have an xsp and an xsl stylesheet to generate the html. Gabor - Please check that your question h

Re: Deploying Cocoon 2.0.3 in JBoss 3.0.2 with Embedded Catalina4.0. 4

2002-09-20 Thread Vadim Gritsenko
Klaus Richarz wrote: >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. >Res

Re: Cocoon 2.0.3 and CastorTransformer

2002-09-20 Thread Vadim Gritsenko
Werner Guttmann wrote: ... >PS Btw, the Castor sample shipped with Cocoon 2.0.3 has an error in the >namespace documentation of the test.xml file, iow it really reads > > >http://castor.exolab.org/cocoontransfomer";> > Actually, this is not error in demo; it's a typo in a transformer itself. Th

WebDAV sitemap

2002-09-20 Thread Michael Homeijer
Has anybody developed a sitemap in which webDAV requests can be handled? I am looking for a good start to add a webdav interface to part of my application. TIA, Michael - Please check that your question has not already been ans

Re: XSLT snippet for handling empty cells in HTML tables

2002-09-20 Thread Ugo Cei
Alan Hodgkinson wrote: >>Instead of the above use &160; (the entity, to which   is mapped >>in HTML). Is much shorter, better coding and does not use >>disable-output-escaping. Make that   Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del San

Re: XSLT snippet for handling empty cells in HTML tables

2002-09-20 Thread Alan Hodgkinson
1. Joerg Heinicke wrote: > > It also contains a nice trick for outputing a non-blanking space from > > an XSLT stylesheet: > > > >   > > sorry, but it's really a bad trick. I wonder that it's working in Cocoon, > because a while ago disable-output-escaping was not supported in Cocoon, > b

how to merge a XML to a XSP ?

2002-09-20 Thread funing
Hi! all: I want to use upload.xsp to provide uploading service and provide some other information got from a XML in the same page. How can I make it? best regards -- funing <[EMAIL PROTECTED]> - Please check that your

Re: XMLForm stylesheet change suggestion

2002-09-20 Thread Simon Price
XForms 1.0 also includes and elements for every control. They can be used to give the user extra information about a control. Its up to the UI renderer as to how this information is displayed, although the spec gives some guidance. Simon Ivelin Ivanov wrote: > Phil, > > Sorry it took me a

Re: XSLT snippet for handling empty cells in HTML tables

2002-09-20 Thread Joerg Heinicke
> It also contains a nice trick for outputing a non-blanking space from > an XSLT stylesheet: > >   > > Enjoy, > > Alan. Hi Alan, sorry, but it's really a bad trick. I wonder that it's working in Cocoon, because a while ago disable-output-escaping was not supported in Cocoon, becaus

XSLT snippet for handling empty cells in HTML tables

2002-09-20 Thread Alan Hodgkinson
Dear All, Here's a quick XSLT code snippet that shows how to automatically insert non-blanking spaces in empty cells in HTML tables: http://outerthought.net/wiki/Wiki.jsp?page=HtmlTableCellNonBlanking It also contains a nice trick for outputing a non-blanking space from an XSLT stylesheet:

Re: Install problems WAS3.5.5

2002-09-20 Thread Michael Zehrer
Hi Dan, add the path to cocoon.xconf (and logkit.xconf) as an servlet parameter, try an relative path from the webapp directory. As WAS355 doesn't know anything about WEB-INF directories, put the xconfs in the servlet directory. So the parameter would be: name: configurations value: /../servlets

Re: redirect-to error causes Cocoon servlet exception

2002-09-20 Thread Barbara Post
The error on closing stream is due to some timeout factors, it may not affect anything but may not be correctible. Maybe there is a possibility not to log it ? I get only this one in my error.log when my program works ;-) 2.1 version still has this problem, it is java-dependant I think. - Ori

Re: FormValidatorAction on database

2002-09-20 Thread William Moore
On Wednesday, September 18, 2002, at 05:24 pm, Christian Haul wrote: > On 17.Sep.2002 -- 04:19 PM, William Moore wrote: >> Hello >> >> I am trying to use FormValidatorAction to check data before inserting it >> into a database. >> >> The key on the database is one of the values on the form, and