Re: map:redirect-to...

2004-08-06 Thread Sonny Sukumar
called Firebird) John Sonny Sukumar wrote: Alright, I finally isolated the problem: it's Mozilla Firebird 0.7! It has a bizarre problem where it sends 2 requests when I only click once. And somehow this only occurs when I use internal redirects within Cocoon. Go figure. I verified

RE: Mozilla request parameters (was: Re: map:redirect-to...)

2004-08-06 Thread Sonny Sukumar
Konqueror and IE only send saveme.x and saveme.y. Since we use almost exclusively Mozilla internally, this bit us severely. John Sonny Sukumar wrote: Alright, I finally isolated the problem: it's Mozilla Firebird 0.7! It has a bizarre problem where it sends 2 requests when I only click once

Re: map:redirect-to...

2004-08-03 Thread Sonny Sukumar
with your actual redirect. Of course, you'll have to create the new resources first! Good luck, John Sonny Sukumar wrote: Hey John, I took your advice and spent some time culling through sitemap.log and discovered that BOTH redirects are taking place when I use internal redirects...it's just

Re: map:redirect-to...

2004-07-29 Thread Sonny Sukumar
-to uri=cocoon:/pageExists2/ /map:match If that works as expected (i.e. no bug), try replacing the first redirect with your actual redirect. Of course, you'll have to create the new resources first! Good luck, John Sonny Sukumar wrote: Hey John, I took your advice and spent some time culling through

Re: map:redirect-to...

2004-07-28 Thread Sonny Sukumar
internal redirects and succeeds using HTTP redirects is mysterious. The action could fail by throwing an unexpected exception, or by returning null, or if it's an XSPAction by setting action:set-failure/. There ought to be something in your sitemap.log showing what happened. John Sonny Sukumar

Re: map:redirect-to...

2004-07-27 Thread Sonny Sukumar
why the action failed? Otherwise I'm pretty much at a loss to explain what's happening here. What does the action perform-test do? John Sonny Sukumar wrote: That's a good insight and a good question John, though actually the redirected URIs are *not* in the secure/ directory. I did also read

Re: map:redirect-to...

2004-07-26 Thread Sonny Sukumar
, Are the resources showTestSucceededPage and showTestFailedPage in the secure directory? Then you probably need to use cocoon:/secure/showXXX. See http://cocoon.apache.org/2.1/userdocs/concepts/redirection.html Hope this helps, John Sonny Sukumar wrote: Hey guys, I'm having a strange problem

map:redirect-to...

2004-07-23 Thread Sonny Sukumar
Hey guys, I'm having a strange problem with map:redirect-to, where it doesn't seem to work right when I use the cocoon:/ protocol. Here's my example code: map:match pattern=secure/doTest map:act type=perform-test !-- Test succeeded. -- map:redirect-to uri=cocoon:/showTestSucceededPage/

Wildcards in select map:when tests?

2004-01-01 Thread Sonny Sukumar
Hi guys, I was wondering if there's a way to use wildcards in selector map:when tests, like: map:when test=show* ... /map:when Btw, I'm using a parameter selector currently. Thanks, Sonny _ Tired of slow downloads? Compare

Re: Re: [XSP] Java variables within tag attributes

2003-11-01 Thread Sonny Sukumar
Ok, more specifically, here's what I did... 1.) I had a mostly static XHTML doc in which I wanted to fill in a 2-3 sections with dynamic content. For each such section I embedded a mysite:content replace-with=someGeneralContentName/ 2.) I wrote a simple stylesheet like: xsl:stylesheet

RE: Logging broken in 2.1.2?

2003-10-30 Thread Sonny Sukumar
to the sitemap category. We are currently discussing this issue at the dev list. This behavior will probably change again in the future. Regards, Unico -Original Message- From: Sonny Sukumar [mailto:[EMAIL PROTECTED] Sent: woensdag 29 oktober 2003 23:58 To: [EMAIL PROTECTED] [Hey all, I sent

Logging broken in 2.1.2?

2003-10-29 Thread Sonny Sukumar
[Hey all, I sent this yesterday but didn't get any response. I really haven't been able to figure it out.] Hi guys, Ever since I upgraded to 2.1.2 (release version) my application's logging hasn't been working at all. It's set to work with LogFactor5 and worked perfectly before I upgraded.

Tomcat/Cocoon mysteriously stop responding...

2003-10-22 Thread Sonny Sukumar
Hey guys, I've had the persistent problem with Tomcat/Cocoon over some months now where when I go to bed my Tomcat/Cocoon server is functioning just fine and I can access all web pages, both static and dynamically generated (from a backend db). But when I wake up and try to access the pages

Re: xsl:param doesn't accept default values?

2003-10-22 Thread Sonny Sukumar
Your closing tag should be /xsl:param. From: Mathias Wiegard [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: xsl:param doesn't accept default values? Date: Wed, 22 Oct 2003 17:30:59 +0200 Hi, I'm trying to write an XSLT where a parameter has to have an default value.

RE: Pass sitemap params to xslt transformer?

2003-10-11 Thread Sonny Sukumar
'] cinclude:include src=$centerPage / /xsl:template Anyhow, the output I'm getting is: cinclude:include xmlns:cinclude=http://apache.org/cocoon/include/1.0; src=$centerPage/ This indicates the param *value* isn't being substituted. Why might this be? From: Sonny Sukumar [EMAIL PROTECTED] Reply-To: [EMAIL

RE: Pass sitemap params to xslt transformer?

2003-10-11 Thread Sonny Sukumar
name is home, or if that's not the name of the root node, then centerPage will equal the empty nodeset. I think you probably want: xsl:param name=centerPage value='home'/ This would assign it the string literal home Cheers Con -Original Message- From: Sonny Sukumar [mailto:[EMAIL

RE: Pass sitemap params to xslt transformer?

2003-10-11 Thread Sonny Sukumar
From: Conal Tuohy [EMAIL PROTECTED] Sonny Sukumar wrote: Now here's the more general thing I'd like to do... The XML doc I'm transforming has a tag like this: rp:content replace-with=navigationMenu/ and, using my XSL stylesheet, I want to transform it to this: cinclude:include src

RE: Pass sitemap params to xslt transformer?

2003-10-11 Thread Sonny Sukumar
From: Conal Tuohy [EMAIL PROTECTED] You can't do nested attribute values in XSLT. It seems to me you should just use: xsl:template match=rp:[EMAIL PROTECTED]'navigationMenu'] cinclude:include src={$navigationMenu}/ /xsl:template Ahh darn. It seems ironic that a recursive

request:requestURI vs requestURI:requestURI

2003-10-09 Thread Sonny Sukumar
Hey guys, Does anybody know the difference between {request:requestURI} and {requestURI:requestURI}? I was discussing these things with Tony and Peter on the list yesterday, but I didn't get this quite clear in my mind. Do either of these return the full query string as well? I think I need

Pass sitemap params to xslt transformer?

2003-10-08 Thread Sonny Sukumar
Is there any way to pass *sitemap* parameters to the xslt transformer (TraxTransformer)? I know there's a use-request-parameters option to use request parameters, but that's not what I want to do. I want to at least be able to pass in the request URI (e.g. requestUri in

RE: Pass sitemap params to xslt transformer?

2003-10-08 Thread Sonny Sukumar
using hyphens in parameter names, however. Is this a known bug in Cocoon? Peter -Original Message- From: Sonny Sukumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 3:03 PM To: [EMAIL PROTECTED] Subject: Pass sitemap params to xslt transformer? Is there any way to pass

Re: Pass sitemap params to xslt transformer?

2003-10-08 Thread Sonny Sukumar
From: Tony Collen [EMAIL PROTECTED] Sonny Sukumar wrote: Is there any way to pass *sitemap* parameters to the xslt transformer (TraxTransformer)? I know there's a use-request-parameters option to use request parameters, but that's not what I want to do. I want to at least be able to pass

Re: Pass sitemap params to xslt transformer?

2003-10-08 Thread Sonny Sukumar
From: Tony Collen [EMAIL PROTECTED] Sonny Sukumar wrote: Interestingit's not defined in my cocoon.xconf file, and I just upgraded to Cocoon 2.1.2 a couple of days ago when it came out. I know I excluded unstable blocks, etcis it considered unstable? Nope, I don't think so, you'll

Modifying Sitemap Causes Server Down Time!

2003-10-01 Thread Sonny Sukumar
Hi guys, I was running Cocoon 2.1.1 (a dev release from 1 week after the official release of 2.1) and I just changed my serializer in one of my pipelines to html from xml (it was supposed to be set to html), and then after that the server doesn't respond to any requests at all. I just get

RE: Need Session Help!

2003-09-26 Thread Sonny Sukumar
From: Tim Olson [EMAIL PROTECTED] My concern is that since URL encoding exposes the session ID in plain view, it's as good as compromised despite using SSL to encrypt it once the customer logs in. Was that why you were saying to only use session cookies everywhere? yes

Re: Need Session Help!

2003-09-26 Thread Sonny Sukumar
From: Joerg Heinicke [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Need Session Help! Date: Sat, 27 Sep 2003 00:55:52 +0200 Sonny Sukumar wrote: Hi guys, I know I've brought up some session questions before, and I gained great insight from those discussions

Re: Need Session Help!

2003-09-25 Thread Sonny Sukumar
in if they are not? As always, I welcome everybody to share any insights they'd like to. Thanks, Sonny From: Antonio Gallardo [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Need Session Help! Date: Wed, 24 Sep 2003 17:49:15 -0600 (CST) Sonny Sukumar dijo: Hi guys

Re: Need Session Help!

2003-09-25 Thread Sonny Sukumar
be quite beneficial for everybody in the same situation in the future, as our discussion will be logged in the archives for posterity. :-) Thanks, Sonny From: Sonny Sukumar [EMAIL PROTECTED] Hey all, Antonio brought up some good points (in line below) which made me really think, and so

RE: Need Session Help!

2003-09-25 Thread Sonny Sukumar
resources, just check to see if that ID has been set. From: Sonny Sukumar [mailto:[EMAIL PROTECTED] I would be most grateful if some of you guys could weigh in on this. I'm trying to implement a secure and solid sessions strategy on an e-commerce website, and I've tried to summarize my current

RE: Need Session Help!

2003-09-25 Thread Sonny Sukumar
From: Tim Olson [EMAIL PROTECTED] How much overhead does session replication actually cause vs. fetching everything from the database on every request? session replication across a cluster can be very expensive because session modifications are O(n) where n is the number of nodes. it's ok if

How to fetch /authentication/ID in Action?

2003-09-16 Thread Sonny Sukumar
Hi guys, I'm working on creating a page that's not auth-protected at all, but it needs to show 1 particular piece of info if indeed the user is logged in. The pipeline that generates the page calls an Action, and this action is the thing that calculates the value if the user is logged in. So

Re: Wouldn't it be nice if...

2003-09-13 Thread Sonny Sukumar
From: Bertrand Delacretaz [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Wouldn't it be nice if... Date: Sat, 13 Sep 2003 08:44:41 +0200 Le Samedi, 13 sep 2003, à 00:36 Europe/Zurich, Sonny Sukumar a écrit : I was just thinking...wouldn't it be nice if one

Re: Wouldn't it be nice if...

2003-09-13 Thread Sonny Sukumar
From: Bertrand Delacretaz [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Wouldn't it be nice if... Date: Sat, 13 Sep 2003 08:53:08 +0200 Le Samedi, 13 sep 2003, à 08:46 Europe/Zurich, Sonny Sukumar a écrit : ..I'd far prefer a more elegant and organized

Re: xsp:attr bug?

2003-09-10 Thread Sonny Sukumar
09:17:56 +0200 It's not the only one: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15841. These bugs can more or less easily be worked around e.g. by moving the xsp:logic outside the xsp:attribute IIRC. Joerg Sonny Sukumar wrote: How comes this doesn't work?: xsp:attribute name=error

xsp:attr bug?

2003-09-09 Thread Sonny Sukumar
How comes this doesn't work?: xsp:attribute name=error xsp:logic if (somVar == null) errorStatus = false; else errorStatus = true; /xsp:logic xsp:exprerrorStatus/xsp:expr /xsp:attribute What is strange to me that Cocoon doesn't complain in producing the Java code, but

Can't close LogFactor5 windows

2003-09-09 Thread Sonny Sukumar
Does anybody else have problems closing the LogFactor5 windows that pop up? It doesn't let me close them for some reason, and I end up with them stacking up and taking up precious memory. Thanks for any insights, Sonny _ Fast,

RE: No authentication context?

2003-09-03 Thread Sonny Sukumar
get information from the authentication context, if you have the auth-protect action in the pipeline where you use the transformer. HTH Carsten -Original Message- From: Sonny Sukumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 8:38 AM To: [EMAIL PROTECTED] Subject

Reg exp validation with Woody?

2003-09-01 Thread Sonny Sukumar
I'm looking for a solution to generate forms for every page of a checkout process on an e-commerce site, and so I started looking at Woody. I realize it's a work in progress, but I figure if there's a sample of its use in Cocoon 2.1 (which I'm using), it might just be able to do the job. But

Re: HTML code shown in browser, not parsed

2003-09-01 Thread Sonny Sukumar
From: Sylvain Wallez [EMAIL PROTECTED] Sonny Sukumar wrote: Hey thanks for identifying the problem and fixing it. If I don't specify a mime-type for map:read does it always default to text/html? Nope : the ResourceReader (the default one) tries to determine the mime type from

Re: How to Get Data from Auth Context in Action?

2003-09-01 Thread Sonny Sukumar
session attribute, how are contexts for each handler stored in the session? As importantly, how are they retrieved? From: Sonny Sukumar [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How to Get Data from Auth Context in Action? Date: Mon, 01 Sep 2003 12:33:22 -0700

Re: HTML code shown in browser, not parsed

2003-08-31 Thread Sonny Sukumar
in the case of internal redirects, leaving it to browser decision, mainly based upon file extension. In my case, I always use .html which displays well, whereas other unknown extensions appear to be rendered as text. All should be ok now. Sylvain -Original Message- From: Sonny Sukumar

HTML code shown in browser, not parsed

2003-08-30 Thread Sonny Sukumar
Hi guys, I just noticed this strange behavior today.. When I do an internal redirect to a trivially simple pipeline that just does a map:read to read an HTML document, then the actual HTML code for that doc is shown in my browser. Here's an example sitemap snippet: map:match

Re: More Tomcat troubles...

2003-08-29 Thread Sonny Sukumar
From: Geoff Howard [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: More Tomcat troubles... Date: Thu, 28 Aug 2003 18:13:37 -0400 Sonny Sukumar wrote: From: Geoff Howard [EMAIL PROTECTED] Sonny Sukumar wrote: Well I changed the path in server.xml to from cocoon

Re: Cocoon 2: Authentication Framework: Session handling

2003-08-29 Thread Sonny Sukumar
Hi Alpana, Look here first: http://cocoon.apache.org/2.1/developing/webapps/authentication.html Some of the info on that page is outdated, which has been driving me crazy trying to figure out some errors. Couple of things to remember: --Use the request-param input module, not request, as in

Re: Is this an endorsed lib problem?

2003-08-29 Thread Sonny Sukumar
From: Michael Kurz [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Is this an endorsed lib problem? Date: Fri, 29 Aug 2003 11:26:01 +0200 Sonny Sukumar wrote: From: Michael Kurz [EMAIL PROTECTED] Sonny Sukumar wrote: I know I know, an endorsed lib problem you

Re: Is this an endorsed lib problem?

2003-08-29 Thread Sonny Sukumar
From: Jon Bedworth [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Is this an endorsed lib problem? Date: Fri, 29 Aug 2003 14:10:28 + Sonny Sukumar wrote: I now have those 3 jars in 4 different places: 1.) $CATALINA_HOME/common/endorsed 2.) $CATALINA_HOME

Re: How To Run 2 Cocoons Simultaneously?

2003-08-28 Thread Sonny Sukumar
idea how to fix the problem? From: Bertrand Delacretaz [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How To Run 2 Cocoons Simultaneously? Date: Thu, 28 Aug 2003 08:31:10 +0200 Le Jeudi, 28 aoû 2003, à 00:37 Europe/Zurich, Sonny Sukumar a écrit : ...Nevertheless

RE: More Tomcat troubles...

2003-08-28 Thread Sonny Sukumar
is deployed as cocoon.war/ then the correct url would be http://my.server/cocoon/admin/fetchSomeFile -Original Message- From: Sonny Sukumar [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 3:55 AM To: [EMAIL PROTECTED] Subject: More Tomcat troubles... I'm trying to access

Re: How To Run 2 Cocoons Simultaneously?

2003-08-28 Thread Sonny Sukumar
as an option to Tomcat. I have been experiencing this outofmemoryerror lately, I stopped the jvm (ie tomcat) and restarted and so far has recovered. Don't know if in the long run you can continually recover. e nio --- Sonny Sukumar [EMAIL PROTECTED] wrote: Hmm, apparently I can read static html files

Is this an endorsed lib problem?

2003-08-28 Thread Sonny Sukumar
I tried upgrading my Tomcat from 4.1.12 to 4.1.24 but next to nothing happens, my browser indicates it's forever loading, and yet I hit view source and see this blank doc: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//ENhtmlheadtitle/title/headbody/body/html I know I know, an

Re: More Tomcat troubles...

2003-08-28 Thread Sonny Sukumar
From: Geoff Howard [EMAIL PROTECTED] Sonny Sukumar wrote: Well I changed the path in server.xml to from cocoon awhile ago, since I don't want the cocoon/ in my URLs. So it's not that. I can access my Cocoon installation fine in general, but somehow trying to match against this /admin

RE: More Tomcat troubles...

2003-08-28 Thread Sonny Sukumar
Uhhh, I don't know why the below message got delivered again. That's strange. Anyhow, please ignore it. From: Sonny Sukumar [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: More Tomcat troubles... Date: Thu, 28 Aug 2003 11:09:02 -0700 Well I changed the path

Re: URLs being encoded WITH cookies enabled

2003-08-28 Thread Sonny Sukumar
WITH cookies enabled Date: Tue, 26 Aug 2003 10:16:21 +0200 Sonny Sukumar wrote: Anyhow, 2 other reasons I'd prefer URL/link rewriting not to occur when cookies are enabled: 1.) It takes up precious time to parse a document and rewrite links. IMO this can be ignored. The second reason is much more

Re: Is this an endorsed lib problem?

2003-08-28 Thread Sonny Sukumar
From: Michael Kurz [EMAIL PROTECTED] Sonny Sukumar wrote: I know I know, an endorsed lib problem you say, since I *am* running JDK 1.4. I read http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem and copied over these 3 jars into $CATALINA_HOME/common/endorsed: 1.) xalan-2.5.1.jar 2

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Sonny Sukumar
From: Michael Wechner [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How To Run 2 Cocoons Simultaneously? Date: Wed, 27 Aug 2003 08:33:26 +0200 Sonny Sukumar wrote: Hi guys, I'm trying to run a 2nd cocoon webapp on the same Tomcat instance, so that one can

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Sonny Sukumar
From: Michael Kurz [EMAIL PROTECTED] - Original Message - Sonny Sukumar [EMAIL PROTECTED] My app *is* database driven and uses Tomcat's DBCP, but I'm not able even to read a simple html file.The html files were copied along with the cocoon directory, so all the paths should

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Sonny Sukumar
From: Geoff Howard [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How To Run 2 Cocoons Simultaneously? Date: Wed, 27 Aug 2003 18:13:37 -0400 Sonny Sukumar wrote: From: Michael Kurz [EMAIL PROTECTED] - Original Message - Sonny Sukumar [EMAIL PROTECTED

Re: URLs being encoded WITH cookies enabled

2003-08-26 Thread Sonny Sukumar
From: Joerg Heinicke [EMAIL PROTECTED] Sonny Sukumar wrote: Anyhow, 2 other reasons I'd prefer URL/link rewriting not to occur when cookies are enabled: 1.) It takes up precious time to parse a document and rewrite links. IMO this can be ignored. The second reason is much more important. Ignore

Re: URLs being encoded WITH cookies enabled

2003-08-25 Thread Sonny Sukumar
Hi guys, I sent the below message a few days ago but didn't hear from anyone. I'm not sure why the links are being rewritten, and I've verified that it happens with IE as well (again, with cookies enabled). I'm using the EncodeURLTransformer in all of my pipelines just before serializing the

Cocoon 2.1 Auth Bug??? [was 1 more auth question..]

2003-08-25 Thread Sonny Sukumar
on success and a full generate-transform-serialize process on failure. Which version of Cocoon are you using? Maybe there is a bug in the version you are using??? Andrew Sonny Sukumar wrote: Hi Andrew, My point was that the login page should never get involved, since no redirect should occur

Re: Cocoon 2.1 Auth Bug??? [was 1 more auth question..]

2003-08-25 Thread Sonny Sukumar
from Lajoz? http://www.javaworld.com/javaworld/jw-09-2002/jw-0920-cocoon_p.html This work for me on 2.1m2 and the newest 2.1 release. enio --- Sonny Sukumar [EMAIL PROTECTED] wrote: I'm using Cocoon version 2.1, and I downloaded it the day after it was officially released a week or two ago. I

Re: URLs being encoded WITH cookies enabled

2003-08-25 Thread Sonny Sukumar
encoding for some users why not for all? We disregard cookies in our company completely because can potentially have switched them off. Joerg Sonny Sukumar wrote: Hi guys, I sent the below message a few days ago but didn't hear from anyone. I'm not sure why the links are being rewritten

Re: How to force XSP recompilation?

2003-08-24 Thread Sonny Sukumar
],[EMAIL PROTECTED] Subject: Re: How to force XSP recompilation? Date: Sat, 23 Aug 2003 21:13:14 -0400 See mixed comments below... - Original Message - From: Sonny Sukumar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 23, 2003 4:29 PM Subject: How to force XSP recompilation

Re: 1 more auth question..

2003-08-24 Thread Sonny Sukumar
with auth-login, but rather only with auth-protect. Again, take a look at the sitemap snippet from my original post (below here). Any insights would be great, Sonny From: Sonny Sukumar [EMAIL PROTECTED] Hi Andrew, Thanks for that tip. But there seems to be something else going on as well

URLs being encoded WITH cookies enabled

2003-08-23 Thread Sonny Sukumar
I'm using the EncodeURLTransformer in all of my pipelines just before serializing the output, but from what I read I thought it is only supposed to encode URLs if cookies are disabled in the browser. I've confirmed that cookies are enabled for my browser (Mozilla Firebird v0.6), but the URLs

How to force XSP recompilation?

2003-08-23 Thread Sonny Sukumar
My problem is this: A snippet of Java code in my XSP references a constant of one of my backend Java classes (in a JAR file in WEB-INF/lib). However, I changed that constant value, recompiled and remade the JAR, restarted Tomcat, etc, but my XSP didn't get recompiled simply because I didn't

throwing non-ProcessingExceptions from XSPs

2003-08-22 Thread Sonny Sukumar
Hi guys, Is it possible to declare additional exception types to be thrown from the generate() method generated from an XSP? The generate code throws SAXException, IOException, ProcessingException by default. I thought that, since Cocoon 2.1 has improved support for handling various

Re: session:getxml not working

2003-08-22 Thread Sonny Sukumar
=/data/alert-messages/ Secondly, the URI namespace is http://apache.org/cocoon/session/1.0 which I got from SessionConstants.java This all works for me on CVS HEAD as of this morning. Hope this helps Andrew Sonny Sukumar wrote: Hi guys, I must be missing something, but my session:getxml tag isn't

1 more auth question..

2003-08-22 Thread Sonny Sukumar
Hi all, I'm not clear on how the authentication resource gets parameters that are passed to it from auth-login. My auth resource is an XSP, and I try to fetch them as request params. However, I'm not sure if that's correct because I've verified that my auth resource produces output matching

Re: 3 questions...

2003-08-21 Thread Sonny Sukumar
plan to regenerate the login page, but showing error messages my auth resource would place in the data tag. Hth, Sonny -- Olivier On 20/08/2003 19:49, Sonny Sukumar wrote: Hi Olivier, The docs say to use the session transformer with tags like these: session:getxml context=authentication path

Re: 3 questions...

2003-08-21 Thread Sonny Sukumar
way to figure out how cocoon works internally which will help your use of cocoon considerably. Sonny Sukumar wrote: Andrew, thank you for your time and effort to find the info below for me...it *is* proving helpful. See couple questions below... I'm not sure that a login tag is created

session:getxml not working

2003-08-21 Thread Sonny Sukumar
Hi guys, I must be missing something, but my session:getxml tag isn't getting transformed: session:getxml context=temporary path=/authentication/data/alert-messages/ This tag is embedded into an XML document which is produced afer a log-in attempt fails. I also tried 'path=/' but that

Re: 3 questions...

2003-08-20 Thread Sonny Sukumar
for me...it *is* proving helpful. See couple questions below... Sonny Sukumar wrote: [2 of these questions I sent a couple days ago but got no reply and haven't figured them out. They pertain to Cocoon's Authentication Framework. Thanks.] These 3 questions are based on this doc: http

Re: 3 questions...

2003-08-20 Thread Sonny Sukumar
, and I'm not familiar with the Avalon framework/class architecture, component lifecycles, etc, so it's a bit daunting. Daunting, but never dull :-) Sonny Sukumar wrote: Andrew, thank you for your time and effort to find the info below for me...it *is* proving helpful. See couple questions

Re: 3 questions...

2003-08-20 Thread Sonny Sukumar
works internally which will help your use of cocoon considerably. Sonny Sukumar wrote: Andrew, thank you for your time and effort to find the info below for me...it *is* proving helpful. See couple questions below... I'm not sure that a login tag is created. The temprary context should contain

NULL request params when POSTing data in 2.1...

2003-08-20 Thread Sonny Sukumar
Hey guys, I upgraded to Cocoon 2.1 and now, when I try to fetch request params from the request using 'request.getParameter(param)', it always returns null WHEN I use action=post instead of action=get. At first I thought it might have something to do with my form sending mult-part data--that

Re: NULL request params when POSTing data in 2.1...

2003-08-20 Thread Sonny Sukumar
From: Upayavira [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: NULL request params when POSTing data in 2.1... Date: Wed, 20 Aug 2003 20:44:47 +0100 Sonny Sukumar wrote: Hey guys, I upgraded to Cocoon 2.1 and now, when I try to fetch request params from

Re: NULL request params when POSTing data in 2.1...

2003-08-20 Thread Sonny Sukumar
request = ObjectModelHelper.getRequest(objectModel); String someParam = request.getParameter(param); ... From: Sonny Sukumar [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: NULL request params when POSTing data in 2.1... Date: Wed, 20 Aug 2003 13:56:02 -0700 From

Re: portal authentication question

2003-08-19 Thread Sonny Sukumar
I was wondering...what exactly is a coplet? From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: portal authentication question Date: Tue, 19 Aug 2003 14:16:53 +0200 Hello, I'm using the Cocoon portal and I have modified the authentication for using a LDAP

3 questions...

2003-08-19 Thread Sonny Sukumar
[2 of these questions I sent a couple days ago but got no reply and haven't figured them out. They pertain to Cocoon's Authentication Framework. Thanks.] These 3 questions are based on this doc: http://cocoon.apache.org/2.1/developing/webapps/authentication.html 1.) The doc states If the

Re: new Request for internal map:redirect-to's?

2003-08-18 Thread Sonny Sukumar
/0.9.7a DAV/2 mod_jk/1.2.3-dev SVN/0.26.0 PHP/4.3.2 X-Cocoon-Version: 2.1 Location: http://www.jayfreeman.com/lists/ Content-Length: 0 Content-Type: text/plain; charset=ISO-8859-1 Sincerely, Jay Freeman (saurik) [EMAIL PROTECTED] - Original Message - From: Sonny Sukumar [EMAIL PROTECTED

Re: best browsers for viewing xml?

2003-08-18 Thread Sonny Sukumar
Sincerely, Jay Freeman (saurik) [EMAIL PROTECTED] - Original Message - From: Conal Tuohy [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, August 17, 2003 6:44 PM Subject: RE: best browsers for viewing xml? Sonny Sukumar wrote: I'd like a browser that can show an XML

Re: What exactly is the logger attribute

2003-08-18 Thread Sonny Sukumar
The logger attribute is used to specify the logger category to which log messages. See logkit.xconf in the WEB-INF directory for log factory/target/category definitions and configurations. You can add your own as well. This wiki doc should help in doing so:

Re: filepart

2003-08-18 Thread Sonny Sukumar
From: Geoff Howard [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: filepart Date: Mon, 18 Aug 2003 18:21:26 -0400 Sonny Sukumar wrote: In the docs, for the PartInMemory.getSize(), the description reads Returns the filename, which can't be correct. I'm not sure

Re: best browsers for viewing xml?

2003-08-17 Thread Sonny Sukumar
From: Jeff Turner [EMAIL PROTECTED] On Sun, Aug 17, 2003 at 02:59:50PM -0700, Sonny Sukumar wrote: Hi guys, I need suggestions on browsers for viewing XML, since I've gotten too weary of Mozilla Firebird's bugs and freezing my computer every now and then. How about registering a real XML

Re: best browsers for viewing xml?

2003-08-17 Thread Sonny Sukumar
From: Jay Freeman \(saurik\) [EMAIL PROTECTED] One such XSL/T comes with Cocoon: xml2html.xslt . I believe it even supports +/- expansion, although I remember there being something wrong with it... like it didn't support namespaces correctly or something and just stripped them from the output.

Re: [ANN] Apache Cocoon 2.1 Released - binary??

2003-08-17 Thread Sonny Sukumar
From: Geoff Howard [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [ANN] Apache Cocoon 2.1 Released - binary?? Date: Sun, 17 Aug 2003 20:16:03 -0400 Geoff Howard wrote: Sonny Sukumar wrote: Is there a document that explains line by line what each of the entries

Re: best browsers for viewing xml?

2003-08-17 Thread Sonny Sukumar
Ahhh, I can see how that might cause problems with some browsers. From: Jay Freeman \(saurik\) [EMAIL PROTECTED] Sonny: JavaScript/DHTML :) Sincerely, Jay Freeman (saurik) [EMAIL PROTECTED] - Original Message - From: Sonny Sukumar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday

Re: need help with strange 2.1 problems...

2003-08-16 Thread Sonny Sukumar
tell us what browser you are using. The stacktrace is contained in the HTML code, so even if it is difficult to read you can at least see it. Joerg Sonny Sukumar wrote: Hi guys, I've installed Cocoon 2.1 on Tomcat 4.1.12 with JDK 1.4, and I'm having all kinds of problems I never had when running

3 simple auth questions...

2003-08-16 Thread Sonny Sukumar
These 2 questions are based on this doc: http://cocoon.apache.org/2.1/developing/webapps/authentication.html 1.) The doc states If the authentication is successful, a session object is created on the server (if not already done). If the authentication fails, the error information delivered

Re: [ANN] Apache Cocoon 2.1 Released - binary??

2003-08-16 Thread Sonny Sukumar
Is there a document that explains line by line what each of the entries in build.properties is? Some of them weren't clear to me, so I just guessed whether I needed them or not. From: Geoff Howard [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED]

RE: Few authentication questions

2003-08-15 Thread Sonny Sukumar
From: Carsten Ziegeler [EMAIL PROTECTED] Sonny Sukumar wrote: Now, a session context is an XML document stored in the session. With the session transformer (see below) you can fetch xml data out of such a context and store data in it. Oh ok, so a session context is a session attribute

Logger class conflict with 2.1....

2003-08-15 Thread Sonny Sukumar
Hi guys, I just upgraded to Cocoon 2.1 and I tried to access one of my pages based on an XSP and I get the following error: // start error (lines 166-166) Type mismatch: cannot convert from org.apache.avalon.framework.logger.Logger to org.apache.log.Logger Logger logger = getLogger(); // end

need help with strange 2.1 problems...

2003-08-15 Thread Sonny Sukumar
Hi guys, I've installed Cocoon 2.1 on Tomcat 4.1.12 with JDK 1.4, and I'm having all kinds of problems I never had when running Cocoon 2.0.4. I read the docs on building and deploying it, but I'm encountering problems nevertheless. One problem is that I get messages like this where there's

Re: [resent] map:part's processed in parallel?

2003-08-14 Thread Sonny Sukumar
from the session to an action into your getCart pipeline. Then they should all be calculated at setup time ;-). On 11 Aug 2003 at 1:19, Sonny Sukumar wrote: Aha, I think you're onto something there. The results I get make sense if indeed 1.) all of the map:part pipelines are set up before any

Re: html serializer problem

2003-08-14 Thread Sonny Sukumar
PROTECTED] Subject: Re: html serializer problem Date: Sat, 09 Aug 2003 03:24:30 +0200 Can you show the indent=no configuration for the serializer? Have you done it in the sitemap or in the stylesheet? Joerg Sonny Sukumar wrote: Hi guys, I'm using the HTML serializer to output an XHTML doc

Re: [resent] map:part's processed in parallel?

2003-08-14 Thread Sonny Sukumar
that out is beyond my level of ability. Maybe someone else can help more... Regards, Upayavira On 10 Aug 2003 at 15:02, Sonny Sukumar wrote: [I didn't get any response, so I was wondering if somebody knows about this. It would be really helpful.] Hey all, Are map:parts

html serializer problem

2003-08-14 Thread Sonny Sukumar
Hi guys, I'm using the HTML serializer to output an XHTML doc at the end of a pipeline, but it puts line breaks in the doc it outputs that cause IE to display the output incorrectly. For example, the XHTML doc that goes into the HTML serializer has the following in it: trtd valign=topimg

Re: How to save uploaded files?

2003-08-14 Thread Sonny Sukumar
if they just close their window? I'd appreciate your thoughts, as I'm not sure how to proceed. Sonny From: Geoff Howard [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How to save uploaded files? Date: Tue, 05 Aug 2003 15:14:48 -0400 Search the wiki for upload Sonny

how to set default Session settings?

2003-08-14 Thread Sonny Sukumar
What I'd like is to tell Cocoon or Tomcat in some config file that I want each Session instance I create to automatically (by default) have a timeout of 4 hours. I use request.getSession(true); in dozens of places throughout my application, and I don't want to have to configure the session

  1   2   >