RE: need example of accessing request attributes in the sitemap

2002-11-13 Thread Steven Cummings
recommend you get a copy of Cocoon: Building XML Applications. That's basically what you can use to look up all of these types of details in short order with good explanations. /S [EMAIL PROTECTED] wrote: Can anyone provide a working sample of accessing any request attributes in the sitemap? Thanks

need example of accessing request attributes in the sitemap

2002-11-12 Thread pwcml
Can anyone provide a working sample of accessing any request attributes in the sitemap? Thanks, Phil - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon

RE: Problem with ParameterSelector - ask for a to tag to set request attributes

2002-04-10 Thread Volker Schneider
Meanwhile I've found a workaround for this: For setting parameters you can set request attributes within the action and use the RequestAttributeSelector for selecting the pipeline. I think it could be helpful to write a special action which can set an arbitrary request attribute for this purpose

RE: Problem with ParameterSelector - ask for a to tag to set request attributes

2002-04-10 Thread Vadim Gritsenko
From: Volker Schneider [mailto:[EMAIL PROTECTED]] Meanwhile I've found a workaround for this: For setting parameters you can set request attributes within the action and use the RequestAttributeSelector for selecting the pipeline. I think it could be helpful to write a special action

Re: Request attributes?

2001-12-06 Thread aaldridg
Aldridge Lead Application developer Managed Intranet Hosting CSC JPMorganChase Personal GDP: 325-8338 MIH Hotline: 876-1300 David Rosenstrauch [EMAIL PROTECTED] on 05/12/2001 17:14:16 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Request attributes? A bit confused

Re: Request attributes?

2001-12-06 Thread David Rosenstrauch
Yup. Some other people wrote the same. Exactly what I needed (I need to pass something from an action along to a xsp page further down the pipeline) and it works perfectly. Thanks! DR At 09:43 AM 12/6/01 +, you wrote: Hi David, Temporary storage (and passing of vars down the chain)

Re: Request attributes?

2001-12-06 Thread David Rosenstrauch
At 08:52 AM 12/6/01 -0500, you wrote: Temporary storage (and passing of vars down the chain) is precisely what I use the attribs for. Here's a bit of code for sending an id to another object via the Request object: req.setAttribute(jbxsp-id,instanceId); instance.setReq(req); Up to

Re: Request attributes?

2001-12-06 Thread aaldridg
Hotline: 876-1300 terracare [EMAIL PROTECTED] on 06/12/2001 13:52:28 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: Request attributes? Temporary storage (and passing of vars down the chain) is precisely what I use the attribs for. Here's a bit of code

Re: Request attributes?

2001-12-06 Thread terracare
Up to now I have used sessions to store objects needed further down the processing chain. I may be mistaken, but this approach seems to be a lot more efficient, assuming I don't need the object outside of the chain... Is this correct? I'd say no. For me the primary issue is holding onto

Re: Request attributes?

2001-12-06 Thread David Rosenstrauch
At 02:17 PM 12/6/01 -0500, you wrote: I agree with you. I wasn't specific enough in my prose as to what I meant by approach (meaning storage in request attribute NOT session). Thanks for your clarification and sorry for any confusion. Diana Whoops! Misunderstood. I had thought you meant

Request attributes?

2001-12-05 Thread David Rosenstrauch
. But what are request attributes? I don't know how it works elsewhere, but at least with Cocoon these seem to always be empty. 1) What are they for? 2) Am I allowed to use these for my own personal use; i.e., as sort of a temporary storage area? (e.g., request.setAttribute(String name, Object o

RE: Request attributes?

2001-12-05 Thread Luke Studley
PROTECTED] Subject: Request attributes? A bit confused. Looking at org.apache.cocoon.environment.Request (basically it's just a ServletRequest object). I see that a Request has both parameters and attributes. I know what request parameters are. These are the form values in your HTML form that get

RE: Request attributes?

2001-12-05 Thread William Brogden
-Original Message- From: David Rosenstrauch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 12:14 PM To: [EMAIL PROTECTED] Subject: Request attributes? A bit confused. Looking at org.apache.cocoon.environment.Request (basically it's just a ServletRequest

RE: Request attributes?

2001-12-05 Thread David Rosenstrauch
Excellent! Just what I need. Thanks for the info. DR At 05:47 PM 12/5/01 +, you wrote: Yes, I believe, they relate to the underlying javax.servlet.ServletRequest attributes. Use them for whatever takes your fancy. See the Servlet Spec/API for more details Request attributes