Web-App does not work in frameset

2002-08-13 Thread Thomas Garger
hi all! i made a web-application with cocoon (a site for registration - name, age, phone number, ...). than you click on a submit button and the action writes down the data (for example in a database). i want to get the web-app run with ie5.5 and ie6.0 if i run the web-app in an frameset (that's

i18n:attr processing problem (ArrayIndexOutOfBoundsException)

2002-08-13 Thread KOZLOV Roman
Hi, It seems that there is a bug in the i18n transformer. 1. Configuration: JDK1.4, Cocoon 2.0.3, Tomcat 4.0.4 2. Bug description: - I've pipeline like xml -> i18n transformer -> serializer; - XML source contains an element like Note: order of attributes is significant. - Such a pipeline cra

Re: Running Java Through Cocoon

2002-08-13 Thread Christian Haul
On 13.Aug.2002 -- 05:11 PM, [EMAIL PROTECTED] wrote: > Hey guys, > > I'm hoping you could help me out with a project I've been tasked with. > > I'm gonna ask the simple question now, and go into more detail below: > > How can one have a Logic Sheet helper class, that just runs a method stored >

RE: sunrise and jdk1.4

2002-08-13 Thread Carsten Ziegeler
Did you create the endorsed directory for jdk1.4 and put xml-apis, xerces and xalan in it as explained in the installation docs? Carsten > -Original Message- > From: Johann Romefort [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 14, 2002 12:05 AM > To: [EMAIL PROTECTED] > Subject:

Re: Configure to support virtual directories

2002-08-13 Thread Antonio Gallardo Rivera
Hey, this is not a Cocoon thing. This is a question about the use of Tomcat or what ever JSPcontainer you use. Antonio Gallardo El Martes, 13 de Agosto de 2002 20:10, Greg Jones escribió: > Does anyone what is required to have Cocoon work as the default > directory for a multiple site environm

Configure to support virtual directories

2002-08-13 Thread Greg Jones
Title: Configure to support virtual directories Does anyone what is required to have Cocoon work as the default directory for a multiple site environment? Example would be www.abc.com docBase points to ../webapps/abc_cocoon And www.xyz.com docBase points to ../webapps/xyz_cocoon Will t

Running Java Through Cocoon

2002-08-13 Thread david . levinger
Hey guys, I'm hoping you could help me out with a project I've been tasked with. I'm gonna ask the simple question now, and go into more detail below: How can one have a Logic Sheet helper class, that just runs a method stored in a new custom java class? And does anyone have an example of this.

sunrise and jdk1.4

2002-08-13 Thread Johann Romefort
Hi, I still get an exception when using sunRise together with jdk1.4. This is not happening when downgrading to jdk1.3. Any workaround? the exception is: java.lang.NullPointerException at org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java: 869) at org.apache.cocoon.weba

Re: Authentication Problem

2002-08-13 Thread Bobby Mitchell
Thanks. It works for me, too. Carsten Ziegeler wrote: >Hi again, > >I checked-in a fix and it should work now. Could you please >verify this? > >Thanks >Carsten > >Carsten Ziegeler Chief Architect Open Source Group, S&N AG >---

RE: Cinclude crashing catalina...?

2002-08-13 Thread Vadim Gritsenko
> From: news [mailto:[EMAIL PROTECTED]] On Behalf Of Andrew C. Oliver > > Sorry. The pipeline you included didn't have it. ...not to mention that none of emails had definition of "crash" term. PS I should try mozilla too... Looks like it better works with html... Vadim > Alexander Smirnoff

Re: Cinclude crashing catalina...?

2002-08-13 Thread Andrew C. Oliver
Sorry. The pipeline you included didn't have it. Alexander Smirnoff wrote: > Of cause I included transformer! Even if I don't, - it should not crash the server... > As I understand from mail archive it should work with cocoon:/ protocol. But > it works fine with static xml files and *crash* catal

Re: Cinclude crashing catalina...?

2002-08-13 Thread Alexander Smirnoff
Of cause I included transformer! Even if I don't, - it should not crash the server... As I understand from mail archive it should work with cocoon:/ protocol. But it works fine with static xml files and *crash* catalina if I use cocoon:/ protocol... Alex. - Original Message - From: "And

Re: Cinclude crashing catalina...?

2002-08-13 Thread Andrew C. Oliver
You have to include the cinclude or xinclude transformer in your pipeline. Instructions for CInclude may be found here: http://outerthought.net/wiki/Wiki.jsp?page=AddCIncludeToMinimalSitemap Alexander Smirnoff wrote: > FYI. The same thing happenning with xinclude... > > - Original Mes

Re: Cinclude crashing catalina...?

2002-08-13 Thread Alexander Smirnoff
FYI. The same thing happenning with xinclude... - Original Message - From: Alexander Smirnoff To: [EMAIL PROTECTED] Sent: Tuesday, August 13, 2002 3:26 PM Subject: Cinclude crashing catalina...? I do not know exactly what happening, it is first time I

Cinclude crashing catalina...?

2002-08-13 Thread Alexander Smirnoff
I do not know exactly what happening, it is first time I experimenting with cinclude, but it seems crashing Tomcat 4.0.1.   Cocoon 2.0.2 has declared in source xml:     with correspondent pipeline:             Logs are clean in Catalina as well as in Cocoon...   Alex.

RE: Possible bug

2002-08-13 Thread Albert Cervera Areny
I've realised that this matcher doesn't give the error but doesn't copy the nodes either: As soon as a you introduce a node() or * in the match attribute the error appears...I've also noticed that a matcher like i18n:* lets it work ok and copies the i18n nodes

Re: cocoon is non-validating, any ideas why?

2002-08-13 Thread Ian Atkin
inline:- Vadim Gritsenko wrote: >>From: David Crossley [mailto:[EMAIL PROTECTED]] >> >>Please do not give up, Ian. Cocoon can certainly do validation >>as an XML framework now using DTDs. Perhaps later using other >>schema (Relax NG anyone?). >> i'm currently investigating relaxng:- - jing seems

Re: stylesheet for loginpage

2002-08-13 Thread Joerg Heinicke
Hello Kavitha, the workflow looks not really good. Where do you store the number of failed logins? Don't pass the number of failed logins to the stylesheet but an error code, which changes after third failed login. Dependent on the error code, change the message. Regards, Joerg kavitha rame

RE: [Q] SunRise roles?

2002-08-13 Thread Per Kreipke
> > Follow up questions: > > > > - is there an equivalent call to > HTTPServletRequest.isUserInRole() against > > the authentication context? > > > No (not yet). From java code you can get the content of > "/authentication/role" > and test it against your value. From a pipeline, you have to get th

RE: [Q] SunRise AuthAction nitpicking...

2002-08-13 Thread Carsten Ziegeler
Per Kreipke wrote: > > I see most actions returning empty maps by using either the EMPTY_MAP > constant from the AbstractAction base class or creating their own > unmodifiable map using Collections. > > But in AuthAction, the map is returned via: > > map = new HashMap(); > > as does SunRise.create

Re: Authentication Problem

2002-08-13 Thread Johann Romefort
It works now ! Thanks johann - Original Message - From: "Carsten Ziegeler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 4:31 PM Subject: RE: Authentication Problem > Hi again, > > I checked-in a fix and it should work now. Could you please > verify this?

[Q] SunRise AuthAction nitpicking...

2002-08-13 Thread Per Kreipke
I see most actions returning empty maps by using either the EMPTY_MAP constant from the AbstractAction base class or creating their own unmodifiable map using Collections. But in AuthAction, the map is returned via: map = new HashMap(); as does SunRise.createMap() I'm not a Java expert so I ju

RE: [Q] SunRise roles?

2002-08-13 Thread Carsten Ziegeler
Per Kreipke wrote: > > Follow up questions: > > - is there an equivalent call to HTTPServletRequest.isUserInRole() against > the authentication context? > No (not yet). From java code you can get the content of "/authentication/role" and test it against your value. From a pipeline, you have to get

RE: [Q] SunRise roles?

2002-08-13 Thread Per Kreipke
> > I can't figure out how or where the SunRise part of > > authentication is > > used. > > > It is used in the (sunSpot) portal framework for generating > the profile of a user. But apart from that it's not use. Ok. > > Can it be used in the AuthAction to limit access by roles? > > > You can w

RE: Authentication Problem

2002-08-13 Thread Carsten Ziegeler
Hi again, I checked-in a fix and it should work now. Could you please verify this? Thanks Carsten Carsten Ziegeler Chief Architect Open Source Group, S&N AG -- Cocoon Consulting, Training and Projects

[SUMMARY] Re: XPath selector or XPath matcher

2002-08-13 Thread Michael Wechner
Vadim Gritsenko wrote: >>From: Michael Wechner [mailto:[EMAIL PROTECTED]] >> >>Vadim Gritsenko wrote: >> >> From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] >Is anybody working on a XPath selector or XPath matcher? > >>>These are not possible. Matchers, selectors and a

Re: upload revisted

2002-08-13 Thread Kenny Chow
Ok, I found out it is the CocoonServlet that does the upload behind the scene. Now I am to write an upload action extending AbstractAction, I just find out the Request object is not compatible to the default HttpServletRequest object. does anyone know how am I able to get HttpServletRequest? ---

Re: strange xinclude problem

2002-08-13 Thread Torsten Knodt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi John, I think with code you mean the xml having the xinclude element. Here is it. It's already a stripped down test version. Oh yes, I'm including from the same machine. What I've seen now is, that the content is included, but the error is still

RE: XPath selector or XPath matcher

2002-08-13 Thread Vadim Gritsenko
> From: Michael Wechner [mailto:[EMAIL PROTECTED]] > > Vadim Gritsenko wrote: > > >>From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] > >> > >> > >>>Is anybody working on a XPath selector or XPath matcher? > > > > These are not possible. Matchers, selectors and actions are processed > > *before* p

Re: XPath selector or XPath matcher

2002-08-13 Thread Michael Wechner
Vadim Gritsenko wrote: >>From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] >> >> >>>Is anybody working on a XPath selector or XPath matcher? >>> > > These are not possible. Matchers, selectors and actions are processed > *before* pipeline starts. They are used to *assemble* pipeline, and > invok

Re: [OT] What design environs are you using?

2002-08-13 Thread Johann Romefort
Eclipse (www.eclipse.org) together with the sunBow ( http://radio.weblogs.com/0108489/ ) and Tomcat plugin ( http://www.sysdeo.com/eclipse/tomcatPlugin.html ) rocks! johann - Original Message - From: "Vadim Gritsenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 13

RE: [OT] What design environs are you using?

2002-08-13 Thread Vadim Gritsenko
> From: Whalley, Anthony [mailto:[EMAIL PROTECTED]] > > I have had a look around and the only systems that seem to be > directly releated to cocoon are Jbuilder Enterpise and Pollo. > > Could somebody tell me if they are using a differnet IDE. IDEA www.intellij.com Vadim > Thanks > > Antho

RE: XSP Caching & Cinclude

2002-08-13 Thread Vadim Gritsenko
> From: Michael Zehrer [mailto:[EMAIL PROTECTED]] > > Hi Vadim, > > Yes, but how do i validate against a session attribute? The example > shows just request.getParameter("param"), Session.getAttribute gives an > error. request.getSession().getAttribute()? There is no 'session' field declared i

Re: strange xinclude problem

2002-08-13 Thread Torsten Knodt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello John, I'm using cocoon://. I hadn't used http://. With kind regards Torsten Knodt -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9WQAwvxZktkzSmiwRAoGeAJ9zBnIXvakiz4AOsefEtk1Zjxc+9gCeIlJ3 NqwUf7txi6ZxbsYHHQM+/Ik=

Re: strange xinclude problem

2002-08-13 Thread Torsten Knodt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello John, my original version has many xincludes, but the stripped down test version, with only one xinclude, I'm currently using has also the problem. And I have already used many xincludes. It works. With kind regards Torsten Knodt

RE: cocoon is non-validating, any ideas why?

2002-08-13 Thread Vadim Gritsenko
> From: David Crossley [mailto:[EMAIL PROTECTED]] > > Please do not give up, Ian. Cocoon can certainly do validation > as an XML framework now using DTDs. Perhaps later using other > schema (Relax NG anyone?). > > Vadim was just saying that it is not a "Concern" of Cocoon, > but that of the pars

Sunrise Authentication in Cocon-2.1-dev (12 aug)

2002-08-13 Thread Johann Romefort
Hi,   I got a problem to make the authentication sample work with the lastest dev snapshot and Tomcat 4.1.8. Not even an Exception message or a stacktrace. The Login page always reload on itself. Any ideas or workaround?     TIA   johann  

stylesheet for loginpage

2002-08-13 Thread kavitha ramesh
Hi, I have a loginpage in xml.And I would like to check the following condition: when a wrong user tries to login for the first name it should give a error message, "login failed.Try again!".The samething should happen when the wrong user tries to login for the second time. If the wrong user tr

AW: XSP Caching & Cinclude

2002-08-13 Thread Michael Zehrer
Hi Vadim, Yes, but how do i validate against a session attribute? The example shows just request.getParameter("param"), Session.getAttribute gives an error. Is there anything I can do about the Cinclude? Michael -Ursprüngliche Nachricht- Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]

Re: strange xinclude problem

2002-08-13 Thread John Moylan
To follow up. I can confirm that using cocoon:// instead of http:// resolves the issue. John I have just experienced the same problem when I tried using multiple xincludes: The following styleshhet works fine with the first xinclue only but throws out "Failed to execute pipeline.: org.xml.sax.S

Re: strange xinclude problem

2002-08-13 Thread John Moylan
I have just experienced the same problem when I tried using multiple xincludes: The following styleshhet works fine with the first xinclue only but throws out "Failed to execute pipeline.: org.xml.sax.SAXParseException: Premature end of file." which is probably caused by some sort of problem w

Re: [OT] What design environs are you using?

2002-08-13 Thread Martin Dulisch
Have a look at sunBow. This is a plug-in for eclipse that contributes special tools for cocoon development. You can find more information here: http://radio.weblogs.com/0108489/ Martin - Original Message - From: "Whalley, Anthony" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday

[OT] What design environs are you using?

2002-08-13 Thread Whalley, Anthony
I have had a look around and the only systems that seem to be directly releated to cocoon are Jbuilder Enterpise and Pollo. Could somebody tell me if they are using a differnet IDE. Thanks Anthony ** This email and any fi

iPlanet and Coccon 2

2002-08-13 Thread Manel Moreno Germès
Hi, i have deploy the cocoon.war file, my cocoon.war file is like the download file from xml.apache.org/cocoon but i've add a new file, ias-web.xml with this content: http://developer.iplanet.com/appserver/dtds/IASWebApp_1_0.dtd'> Cocoon2 {76004496-CC74-1D58-D07A-080020E1CBFC}

RE: [Q] SunRise roles?

2002-08-13 Thread Carsten Ziegeler
> -Original Message- > From: Per Kreipke [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 12, 2002 7:34 PM > To: [EMAIL PROTECTED] > Subject: [Q] SunRise roles? > > > I can't figure out how or where the SunRise part of > authentication is > used. > It is used in the (sunSpot) porta

RE: Authentication Problem

2002-08-13 Thread Carsten Ziegeler
Hi, I think this error has the same reason as the one described here: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11405 Could someone please test if changing the AbstractTextSerializer fixes all these problems? Carsten > -Original Message- > From: Bobby Mitchell [mailto:[EMAIL PR

Re: cocoon is non-validating, any ideas why?

2002-08-13 Thread David Crossley
Please do not give up, Ian. Cocoon can certainly do validation as an XML framework now using DTDs. Perhaps later using other schema (Relax NG anyone?). Vadim was just saying that it is not a "Concern" of Cocoon, but that of the parser. We put a lot of work in six (?) months ago to ensure that Co

RE: Usage of & in URLs

2002-08-13 Thread Manos Batsis
The problem with the ampersand in XML, is that it is used to denote the start of an entity. You can replace it... with an entity (&): http://www.foo.com/some-path?arg1=value1&arg2=value2 Manos > -Original Message- > From: Michael Mangeng [mailto:[EMAIL PROTECTED]] > Sent: Monday, Augu