You could clean up the ActionContext in the dispatcher (or a filter)
earlier, rather than later. For example, the first thing the dispatcher
could do is look for this context in the session/request and null it at that
time. It should acomplish the same effect, right?
Jason Carreira
Sent:
Yes, the ServletDispatcher should be setting a new ActionContext
anyway... I'm not sure if it is.
-Original Message-
From: James Cook [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 6:57 AM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] webwork2 tags not working
: RE: [OS-webwork] webwork2 tags not working in sitemeshed pages
You need to make sure this ActionContext gets cleaned up when you're
done with it, or it will remain associated with the thread for the next
request.
-Original Message-
From: Francisco Hernandez [mailto:[EMAIL PROTECTED
If the filter cleans up, shouldn't it also be the place where the action
context is added to the request/session? Perhaps this is not possible given
the particular wrapping needs, but it just seems slightly kludgey to add the
context in the dispatcher servlet and remove it in a filter.
I agree... I think we need to think this through more...
-Original Message-
From: James Cook [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 4:15 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] webwork2 tags not working in
sitemeshed pages
If the filter cleans up
Subject: RE: [OS-webwork] webwork2 tags not working in sitemeshed pages
I agree... I think we need to think this through more...
-Original Message-
From: James Cook [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 4:15 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] webwork2
I prefer this one, but Patrick didn't like this (don't remember why)
-Original Message-
From: Francisco Hernandez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 5:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] webwork2 tags not working in
sitemeshed pages
how
not working in sitemeshed pages
I prefer this one, but Patrick didn't like this (don't remember why)
-Original Message-
From: Francisco Hernandez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 5:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] webwork2 tags not working
-webwork] webwork2 tags not working in sitemeshed pages
I agree... I think we need to think this through more...
-Original Message-
From: James Cook [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 4:15 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] webwork2 tags
The Servlet-Filter combo is what I was imagining.
- Original Message -
From: Mike Cannon-Brookes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 3:25 PM
Subject: Re: [OS-webwork] webwork2 tags not working in sitemeshed pages
The problem is that (and I've tried
I dont know if this is a webwork issue or sitemesh issue but I cant use
webwork tags in sitemesh
in decorators.xml:
decorator name=main page=main.jsp
pattern*/pattern
/decorator
in this main.jsp page is where I cant use ww2 tags at all.. calling
ww:property/ throws an exception
]
Subject: [OS-webwork] webwork2 tags not working in sitemeshed pages
I dont know if this is a webwork issue or sitemesh issue but
I cant use webwork tags in sitemesh
in decorators.xml:
decorator name=main page=main.jsp
pattern*/pattern
/decorator
in this main.jsp page
Of Francisco Hernandez
Sent: Monday, 21 July 2003 7:27 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] webwork2 tags not working in sitemeshed pages
I dont know if this is a webwork issue or sitemesh issue but
I cant use webwork tags in sitemesh
in decorators.xml:
decorator name=main
11:36 PM
To: [EMAIL PROTECTED]; opensymphony-sitemesh
Subject: Re: [OS-webwork] webwork2 tags not working in
sitemeshed pages
WebWork tags currently won't work in a SiteMesh decorator, as
they're actually in different requests. It's a little tricky
to get this to work, and WW's
]
Sent: Monday, July 21, 2003 7:21 AM
Subject: RE: [OS-webwork] webwork2 tags not working in sitemeshed pages
One way ( bit of a hack ) that I can think of it is to
* store the action context (or something like that) in the request (or it
may even need to be session) scope when
: Francisco Hernandez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 21, 2003 2:27 AM
Subject: [OS-webwork] webwork2 tags not working in sitemeshed pages
I dont know if this is a webwork issue or sitemesh issue but I cant use
webwork tags in sitemesh
in decorators.xml:
decorator
]
Subject: Re: [OS-webwork] webwork2 tags not working in
sitemeshed pages
ok i made a hack so the ww2 tags work in my sitemesh
decorators.. can soemone tell me if I went about this the
correct way to go about this or not?
in my servletdispatcher i put a new line:
request.setAttribute
17 matches
Mail list logo