Re: [OS-webwork] Hyperlink best practices - use of actions

2003-09-24 Thread Pat Lightbody
Hehe, I think this even got back-ported to 1.3 at some point due to popular demand :) Not in the Wiki that I'm aware of, but I haven't checked it out in a looong time (I know, I'm bad). Please add it if you get a chance, I'm exhausted from my email sprint :) - Original Message - From: "Ro

RE: [OS-webwork] Hyperlink best practices - use of actions

2003-09-24 Thread Robert Douglass
This is an excerpt from my xwork.xml file? That's incredible. That's exactly what I want, and I think I've read posts from a few other people over the last months who were looking for just about the same thing. Is this in the Wiki? Thanks, Robert -Original Message- From: [EMAIL PROTECTED

Re: [OS-webwork] hibernate/webwork2 best practices

2003-09-24 Thread Pat Lightbody
We're working on finishing up the code as I type... very soon! - Original Message - From: "Francisco Hernandez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 19, 2003 12:18 AM Subject: Re: [OS-webwork] hibernate/webwork2 best practices > any update on when this cod

Re: [OS-webwork] How to encode the "redirect"-type result URLs (in xwork.xml) ?

2003-09-24 Thread Pat Lightbody
What do you mean by encode? Like turning & in to & etc? Or do you mean ways to have dynamic values in the result location (ie: foo.jsp?id=${id})? -Pat - Original Message - From: "Armond Avanes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 21, 2003 11:03 PM Subject:

Re: [OS-webwork] Hyperlink best practices - use of actions

2003-09-24 Thread Pat Lightbody
You should be able to do: browse.action?id=${product.id} This will cause the Ognl expression "product.id" to be evaluated and placed in the URL. Is that what you want? -Pat - Original Message - From: "Robert Douglass" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, Septembe

Re: [OS-webwork] formbean vs. action

2003-09-24 Thread Pat Lightbody
Related to this -- I know I should know this (it's late, so I have an excuse) but I don't think we have a a way for a Model (or Action, but Model is more important here) to be kept across a session. Formbeans have a nice property in Struts that you can do a "wizard" type UI with little effort bec

Re: [OS-webwork] index.jsp Welcome page

2003-09-24 Thread Pat Lightbody
Also of note, there is a FilterDispatcher include in WebWork2 that no one really uses (I wrote it ages ago and haven't touched it since) that allows you to go directly to "/foo.jsp" and it will find the first action that has foo.jsp as a result and execute the action. -Pat - Original Message

Re: [OS-webwork] JSP tag for viewing Session attributes?

2003-09-24 Thread Pat Lightbody
Title: Message Yes, you can now do:     -Pat   - Original Message - From: Jason Carreira To: [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 8:52 PM Subject: RE: [OS-webwork] JSP tag for viewing Session attributes? Patrick, did you add support for a

Re: [OS-webwork] Migrating to WW2

2003-09-24 Thread Pat Lightbody
We're definitely planning to address the migration issue (and docs in general) as soon as we get these last ~30 bugs finished up. -Pat - Original Message - From: "boxed" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 24, 2003 11:59 AM Subject: Re: [OS-webwork] Mig

Re: [OS-webwork] Problem with PushTag

2003-09-24 Thread Pat Lightbody
Yeah, it sounds like a tag re-use bug. We're getting to them and there are a few open issues. If it's not fixed in the next week or so, yell again please. Or just open a bug now so we don't forget. Thanks! -Pat - Original Message - From: "Michał Mosiewicz" <[EMAIL PROTECTED]> To: <[EMAIL

Re: [OS-webwork] Struts user feedbak

2003-09-24 Thread Pat Lightbody
> >I thought the URLTag wasn't needed because it just uses > >UrlHelper.buildUrl(), which you can also use from Velocity? > > > > I can use from velocity what is really in the velocity context. So, if > UrlHelper is not in the context, i cant use it. > BUT with the extension of velocity-tools, and

Re: [OS-webwork] Thought concerning HTML form rendering

2003-09-24 Thread Pat Lightbody
So in a way the type defines it's input mechanism... I think it's interesting but needs to be fleshed out some more. I don't think that this neccessarily means that applications would have to be tied to WebWork, but maybe could even be done with another (!) config file like PhoneNumber-input.xml th

[OS-webwork] HTML Components [Was: Thought concerning HTML form rendering]

2003-09-24 Thread Pat Lightbody
John, I did this kind of stuff all the time in WebWork to some extent, but not at the level of interaction you've proposed. How would you envision it working? -Pat - Original Message - From: "John Patterson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 22, 2003 7:3

Re: [OS-webwork] type conversion

2003-09-24 Thread Pat Lightbody
No, unfortunately the key is just a single "property name" -- not a full expression. I think adding support for an expression would be very difficult. But keep in mind that the conversion property files can be for _any_ object, not just Actions. -Pat - Original Message - From: "Anoop Ran

Re: [OS-webwork] velocity, layouts, and flow

2003-09-24 Thread Pat Lightbody
Actually, this isn't true... John, are you aware of the tag? In JIRA, for example, every single form is built using that. -Pat - Original Message - From: "John Patterson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 18, 2003 11:44 AM Subject: Re: [OS-webwork] v

Re: [OS-webwork] Weblogic 6.1 now integrated cleanly into WebWork 2

2003-09-24 Thread Pat Lightbody
Great work Scott! Anyone who is using Weblogic, please let us know how things go. Thanks! - Original Message - From: "Scott Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 22, 2003 8:59 AM Subject: [OS-webwork] Weblogic 6.1 now integrated cleanly into WebWork 2

Re: [OS-webwork] WW1.3 question

2003-09-24 Thread Pat Lightbody
Title: Message James, this may not be possible out of the box, but you can modify the templates directly and even make it so they can take an optional parameter "align":     - Original Message - From: James Pan To: [EMAIL PROTECTED] Sent: Tuesday, September 23, 200

Re: [OS-webwork] XWorkConverter trying to load CompoundRoot-conversion.properties

2003-09-24 Thread Pat Lightbody
Anoop, That's very strange... when does this happen? During a JSP tag or during a form submit? - Original Message - From: "Anoop Ranganath" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 23, 2003 7:01 AM Subject: [OS-webwork] XWorkConverter trying to load CompoundRoo

RE: [OS-webwork] JSP tag for viewing Session attributes?

2003-09-24 Thread Jason Carreira
Title: Message Patrick, did you add support for accessing items from the session to the _expression_ language? -Original Message-From: Thompson, Kris [mailto:[EMAIL PROTECTED] On Behalf Of Thompson, KrisSent: Wednesday, September 24, 2003 11:48 PMTo: [EMAIL PROTECTED]Subj

RE: [OS-webwork] JSP tag for viewing Session attributes?

2003-09-24 Thread Thompson, Kris
I hear what you are saying but my web application spans multiple action classes. I guess I could provide that method in all of my action classes but would this be considered best practice? Of course I could create my own extension of ActionSupport which has only that one method then have all o

RE: [OS-webwork] Validation Framework details

2003-09-24 Thread Jason Carreira
> -Original Message- > From: Tracy Snell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 24, 2003 10:17 PM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] Validation Framework details > > > On 9/24/03 8:45 PM, "Jason Carreira" > <[EMAIL PROTECTED]> wrote: > > > The type co

Re: [OS-webwork] Validation Framework details

2003-09-24 Thread Tracy Snell
On 9/24/03 8:45 PM, "Jason Carreira" <[EMAIL PROTECTED]> wrote: > The type conversion framework will handle this part... It sounds like we > (Patrick and I) need to get together on making these work together > better and make it so the type conversion can provide good messages. Wouldn't having t

RE: [OS-webwork] Validation Framework details

2003-09-24 Thread Jason Carreira
The type conversion framework will handle this part... It sounds like we (Patrick and I) need to get together on making these work together better and make it so the type conversion can provide good messages. > -Original Message- > From: Adam Fleming [mailto:[EMAIL PROTECTED] > Sent: Wedn

[OS-webwork] Validation Framework details

2003-09-24 Thread Adam Fleming
Hello, I'm new to WebWork and Xwork :) I've been trying to use the validation framework. I want to be able to use the correct type for my Action bean properties, ie: Integer selectedId; I also want to be able to have a message such as "Sorry, -123abcde is not a valid ID". Is this possible?

Re: [OS-webwork] JSP tag for viewing Session attributes?

2003-09-24 Thread Mike Cannon-Brookes
Title: Re: [OS-webwork] JSP tag for viewing Session attributes? Kris, What you should do here is provide a getter method in your action, eg: public User getUser() { return ActionContext.getSession().get(“user.key”); } And then in your views you can do user.firstName and it will use getUser()

Re: [OS-webwork] Struts user feedbak

2003-09-24 Thread Mike Cannon-Brookes
> 3/ Dont you think the struts concept of ActionMessage is a good idea, a > low-cost dev effort to store easyly a message (possibly localized) at the > end of a action to inform the user in the view ("creation successful" ,...). This sort of thing is most easily added yourself in a base class. Ind

Re: [OS-webwork] How does one change the contentType in theresponse?

2003-09-24 Thread Mike Cannon-Brookes
Title: Re: [OS-webwork] How does one change the contentType in theresponse? Hrm – my knowledge of WW2 is a little faded at the moment. Try ActionContext.getContext().getResponse() ? On 25/9/03 12:35 AM, "Thompson, Kris" ([EMAIL PROTECTED]) penned the words: Uh, that makes perfect sense but I

RE: [OS-webwork] XWVF Interceptor

2003-09-24 Thread Jason Carreira
Do you have the ParameterInterceptor applied before the validation interceptor? > -Original Message- > From: Samuel Mota [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 24, 2003 4:40 PM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] XWVF Interceptor > > > Hi all, > > I'm runnin

Re: [OS-webwork] Problem with PushTag

2003-09-24 Thread Michał Mosiewicz
>[...] > The first time the page is shown, the output is as expected: The first > -call > returns the output of toString() of the action class, that's on top of the > stack. All other -calls return the value of the "street" > property. >[...] > Is this a bug (nothing found in Jira) or am I doing

[OS-webwork] XWVF Interceptor

2003-09-24 Thread Samuel Mota
Hi all, I'm running into serious problems to use the XWork Validation Framework ... When I turn off the validation (i.e.: remove the ValidationInterceptor from myAction interceptors list) everything goes fine but when I turn it on the fields read by the validate() method at RequiredFieldVa

[OS-webwork] Problem with PushTag

2003-09-24 Thread Nils Hartmann
Hi, I just encountered strange behaviour of the PushTag (ww2). I have a jsp-page like this: [...] Stack: Street: that : street-Property: [...] When the page is rendered, on top of the stack is an instance of the executed action, which has a Property called

RE: [OS-webwork] Migrating to WW2

2003-09-24 Thread Jason Carreira
Please add your findings to the Wiki so others will see it too... See below for comments... > -Original Message- > From: Nils Hartmann [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 24, 2003 12:16 PM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] Migrating to WW2 > > > Hi, > >

[OS-webwork] JSP tag for viewing Session attributes?

2003-09-24 Thread Thompson, Kris
Title: JSP tag for viewing Session attributes? After a user logs in I place their User object in the session (thanks to the ActionContext.getSession())  This works great except I also have in my header on all of my JSP pages a tag like this This tag works great right after I login because

Re: [OS-webwork] Migrating to WW2

2003-09-24 Thread Francisco Hernandez
I dont know if you've done this already but could you attach this code to jira or the wiki just in case someone needs it its alot easier to get boxed wrote: Nils Hartmann wrote: Hi, I'm currently migrating a WW1 application to XW1/WW2. I noticed the following points not mentioned in the "Webw

Re: [OS-webwork] How does one change the contentType in the response?

2003-09-24 Thread Philipp Meier
On Wed, Sep 24, 2003 at 01:01:18PM -0700, Francisco Hernandez wrote: > Philipp Meier wrote: > > > > >Yes. I'd suggest creating the report in your action and using a simple > >servlet as result to send the report to the client: > > > >// Pseudo code, please adjust > >public void PDFServlet extends

Re: [OS-webwork] How does one change the contentType in the response?

2003-09-24 Thread Francisco Hernandez
how about creating a somekind of PdfResult? I think ww 1.3 had a pdf view, not sure.. Philipp Meier wrote: On Wed, Sep 24, 2003 at 08:22:53AM -0600, Thompson, Kris wrote: Long story gone VERY short is that it will be created in a class that extends ActionSupport. So unless I am missing somethi

RE: [OS-webwork] Struts user feedbak

2003-09-24 Thread Drew McAuliffe
Last I checked (about a month ago), it wasn't there. There are no macros in ww2 like there were in ww1. I think everyone keeps assuming they are, but they're not. Also, the same objects aren't on the velocity stack (like the "webwork" utility that does a lot of other useful stuff like 'webwork.eval

Re: [OS-webwork] Migrating to WW2

2003-09-24 Thread boxed
Nils Hartmann wrote: Hi, I'm currently migrating a WW1 application to XW1/WW2. I noticed the following points not mentioned in the "Webwork 2 Migration Guide" (http://wiki.opensymphony.com/space/WebWork+2+Migration+Guide); maybe some of these points are interesting for other who want to migrate

RE: [OS-webwork] Struts user feedbak

2003-09-24 Thread Robert Douglass
I also find the VelocityTools attractive. Here is a post from the Velocity list on how one can use them seperate from the VelocityViewServlet. It wouldn't be too hard (from the description) to tie them in, and I'm sure that Nathan Bubna would help you do it on the Velocity list, and appreciate the

RE: [OS-webwork] Struts user feedbak

2003-09-24 Thread Fred Lamuette
>-Message d'origine- >De : [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] la part de >Jason Carreira >Envoye : mercredi 24 septembre 2003 18:54 >A : [EMAIL PROTECTED] >Objet : RE: [OS-webwork] Struts user feedbak > > >See below > >> -Original Message- >> From: Fred Lamuette [mailto:[E

RE: [OS-webwork] Struts user feedbak

2003-09-24 Thread Fred Lamuette
Where are the macros ? #tag, #bodytag et #param are some 'userdirective' defined in a programmatic way in the VeolcityManager. So what ??? Regards. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Konstantin Priblouda Envoye : mercredi 24 septembre 2003 18:34

Re: [OS-webwork] How does one change the contentType in theresponse?

2003-09-24 Thread Bernard Choi
I've done a JFreeChartResult. Perhaps it is similar to what you require. I will be needing a PdfResult later on in my project development (perhaps in the next month), and I'll post what I've learnt online. Meanwhile, here is what I've got for the JFreeChartResult... http://wiki.opensymphony.com/sp

RE: [OS-webwork] Struts user feedbak

2003-09-24 Thread Jason Carreira
See below > -Original Message- > From: Fred Lamuette [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 24, 2003 11:17 AM > To: Webwork > Subject: [OS-webwork] Struts user feedbak > > > Althought I'm a struts user, WW2 features seem to be very > exciting, so i'm testing WW2 for my

RE: [OS-webwork] Struts user feedbak

2003-09-24 Thread Konstantin Priblouda
--- Fred Lamuette <[EMAIL PROTECTED]> wrote: > I'm testing WebWork2, so how can i handle url from > velocity ? look into source code for where WW macros are defined. There ought to be #url () which will instantiate url bean into context regards, = [ Konstantin Pribluda ( ko5tik ) ]-

[OS-webwork] FW: Null vs. Empty

2003-09-24 Thread BOGAERT Mathias
FYI -Original Message- From: Drew Davidson [mailto:[EMAIL PROTECTED] Sent: woensdag 24 september 2003 17:58 To: John D. Mitchell Cc: BOGAERT Mathias; '[EMAIL PROTECTED]' Subject: Re: Null vs. Empty John D. Mitchell wrote: >>"BOGAERT" == BOGAERT Mathias <[EMAIL PROTECTED]> writes: >

[OS-webwork] Migrating to WW2

2003-09-24 Thread Nils Hartmann
Hi, I'm currently migrating a WW1 application to XW1/WW2. I noticed the following points not mentioned in the "Webwork 2 Migration Guide" (http://wiki.opensymphony.com/space/WebWork+2+Migration+Guide); maybe some of these points are interesting for other who want to migrate too. It would be nic

RE: [OS-webwork] Struts user feedbak

2003-09-24 Thread Fred Lamuette
I'm testing WebWork2, so how can i handle url from velocity ? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Konstantin Priblouda Envoye : mercredi 24 septembre 2003 17:32 A : [EMAIL PROTECTED] Objet : Re: [OS-webwork] Struts user feedbak > 1/ We can use

Re: [OS-webwork] Struts user feedbak

2003-09-24 Thread Konstantin Priblouda
> 1/ We can use only ui tags from velocity (Renderer > interface), do you plan > quicky to support the other tags (URLTag , ...) ? You do not need URL tag there. At least in WW1.3 there was Url bean, which did all you need with URLs regards, = [ Konstantin Pribluda ( ko5tik ) ]

Re: [OS-webwork] Issue with component lifecycle dependencies

2003-09-24 Thread Pat Lightbody
Couldn't some sync() blocks around the higher scoped item solve that? Most session-scoped things should be sync'd anyway. -Pat - Original Message - From: "Jon Lipsky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 24, 2003 4:45 AM Subject: Re: [OS-webwork] Issue w

[OS-webwork] Struts user feedbak

2003-09-24 Thread Fred Lamuette
Althought I'm a struts user, WW2 features seem to be very exciting, so i'm testing WW2 for my next project. For the while, i'm writing a simple project in order to explore the WW2 features, and i'm rather impressed by your work. However I've some questions : 1/ We can use only ui tags from velocit

Re: [OS-webwork] How does one change the contentType in the response?

2003-09-24 Thread Philipp Meier
On Wed, Sep 24, 2003 at 08:22:53AM -0600, Thompson, Kris wrote: > Long story gone VERY short is that it will be created in a class that extends > ActionSupport. So unless I am missing something I don't have access to the response > object therefore the method below is not available to me, right?

Re: [OS-webwork] How does one change the contentType in theresponse?

2003-09-24 Thread Philipp Meier
On Wed, Sep 24, 2003 at 08:56:29AM -0600, Thompson, Kris wrote: > > Its in ServletActionContext, actually. > > Perfect! > > > > I know you said long story, but why would the PDF generation > > be in the > > Action instead of treating it as just another view? > > > I'm all ears! I'm not famila

RE: [OS-webwork] How does one change the contentType in theresponse?

2003-09-24 Thread Thompson, Kris
> > > Its in ServletActionContext, actually. Perfect! > > I know you said long story, but why would the PDF generation > be in the > Action instead of treating it as just another view? > I'm all ears! I'm not familar with how this is done and I did not see any docs on this. Could someone

RE: [OS-webwork] How does one change the contentType in theresponse?

2003-09-24 Thread Tim Dwelle
Its in ServletActionContext, actually. I know you said long story, but why would the PDF generation be in the Action instead of treating it as just another view? Quoting "Thompson, Kris" <[EMAIL PROTECTED]>: > Uh, that makes perfect sense but I'm not seeing that method in the > ActionContext

RE: [OS-webwork] How does one change the contentType in theresponse?

2003-09-24 Thread Jason Carreira
Title: Message You want ServletActionContext.getRequest() ServletActionContext is an added helper for the ActionContext in WebWork2 -Original Message-From: Thompson, Kris [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 10:35 AMTo: [EMAIL PROTECTED]Subje

RE: [OS-webwork] How does one change the contentType in theresponse?

2003-09-24 Thread Thompson, Kris
Title: Re: [OS-webwork] How does one change the contentType in the response? Uh, that makes perfect sense but I'm not seeing that method in the ActionContext class and I just did an update from CVS.  What am I missing here?  I'm talking about WW2 in particular I am looking at the XWork API fr

RE: [OS-webwork] How does one change the contentType in the response?

2003-09-24 Thread Thompson, Kris
Long story gone VERY short is that it will be created in a class that extends ActionSupport. So unless I am missing something I don't have access to the response object therefore the method below is not available to me, right? KT > -Original Message- > From: Philipp Meier [mailto:[EMAI

RE: [OS-webwork] Re: Megg and ww2

2003-09-24 Thread Jason Carreira
Please update the quickstart guide to take care of the issues you found... I'll take a look at the Megg page... > -Original Message- > From: Jeremy Rayner [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 24, 2003 5:07 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] Re: Megg and w

Re: [OS-webwork] How does one change the contentType in the response?

2003-09-24 Thread Mike Cannon-Brookes
Title: Re: [OS-webwork] How does one change the contentType in the response? You can still do that if you want – ActionContext.getResponse().setContentType() should work AFAIK. Cheers, Mike On 24/9/03 11:50 PM, "Thompson, Kris" ([EMAIL PROTECTED]) penned the words: I need change the MIME type

Re: [OS-webwork] How does one change the contentType in the response?

2003-09-24 Thread Philipp Meier
On Wed, Sep 24, 2003 at 07:50:31AM -0600, Thompson, Kris wrote: > I need change the MIME type to display a pdf to the browser. In a Servlet based web > framework like Expresso or Struts I would simple call > response.setContentType(String), hows does one do this in WW2? How do you create the pd

[OS-webwork] How does one change the contentType in the response?

2003-09-24 Thread Thompson, Kris
Title: How does one change the contentType in the response? I need change the MIME type to display a pdf to the browser.  In a Servlet based web framework like Expresso or Struts I would simple call response.setContentType(String), hows does one do this in WW2? Thanks Kris

Re: [OS-webwork] Issue with component lifecycle dependencies

2003-09-24 Thread Jon Lipsky
Mike, Yeah, I was trying to make that point as well that scoped components and IOC don't work well together. I realized after I sent the message that didn't state that anywhere. Thanks for putting it in clear english. :-) Cheers, Jon... - Original Message - From: "Mike Cannon-Brookes"

Re: [OS-webwork] Issue with component lifecycle dependencies

2003-09-24 Thread Mike Cannon-Brookes
Jon, Ahh yes - that's exactly the model we use too :) My point below was that mixing 'scoped components' together in an IOC framework (specifically narrowing the scope) is a thread nightmare. This is exactly the reason you can't do it (xwork won't let you) and the reason that a ThreadLocal + IoC

[OS-webwork] Re: Megg and ww2

2003-09-24 Thread Jeremy Rayner
As Anders just pipped me to my own announcement ;-) I've been playing around with webwork2 for my next work project, and thought the most useful thing to do would be getting a simple hello world Action and JSP page running, with the whole ant/directory structure needed as per instructions in Mike'

[OS-webwork] Megg and ww2

2003-09-24 Thread Anders Engström
Hi. Just discovered megg[1] the other day. Megg is a tool for lazy developers. Using Java and Apache Velocity, it provides a simple command line tool to generate a project source tree from a host of supplied templates, with an aim to encouraging best practices in new software. It con

Re: [OS-webwork] Issue with component lifecycle dependencies

2003-09-24 Thread Jon Lipsky
Hi... I do this exact same thing with WebWork2 right now, however I use a ServletFilter and ThreadLocal variables to solve it. I have an app scoped component called PersistanceManager (PM) When a request comes in (A) it calls PM.getSession() and puts thes the session (SA) in the request and into