the issue:
http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-407
heres the method, whats the purpose of nestedContext?
-
public String execute() throws Exception {
ActionContext nestedContext = ActionContext.getContext();
ActionContext.setContext(invocation.g
boxed wrote:
2) I couldn't stop WW from caching the lookups, until I realized I had
to set webwork.viewmapping=webwork.dispatcher.ConfigurationViewMapping
in webwork.properties. This is not documented for reloading the XML
configuration
(http://www.opensymphony.com/webwork/cookbook/Reloading_x
What is it that the copy task after the java task actually suppose to
be copying?
Here's why it's confusing for me.
On the first javac destdir is specified so that's where the .classes go.
On page 171 there's a copy task after the hibernatedoclet task
and it too specifies destDir implying that
Hi,
Here is a link to a popular java RFE that discusses the problem and possible
solutions and work arounds:
http://developer.java.sun.com/developer/bugParade/bugs/4212439.html
Cheers,
Dick Zetterberg
[EMAIL PROTECTED]
- Original Message -
From: "James Pan" <[EMAIL PROTECTED]>
To: <[EM
How do I go about telling the IoC container to release a component?
For example, I have a List I am maintaining on the session. In a
particular action, I process the list and then I am done with it.
Right now, it seems the only option is to take the List and remove each
item. If I set the i
I have ported the changes in XMLActionConfiguration that allows view
mapping to be reloaded over to PropertiesConfiguration. It's a bit ugly
but it works. The only trouble I had was that
1)views.properties handling needs to be seperate somehow from
webwork.properties, I have hardcoded this in an
1.2.3 I think
> -Original Message-
> From: Robert Nicholson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 04, 2003 1:53 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] xwork - ant test
>
>
> Which clover do I need to be able to run the "test" target in xwork?
>
>
>
> --
Which clover do I need to be able to run the "test" target in xwork?
---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and he
Doesn't sourceforge offer any spam protection for mailing lists?
---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help u
I'd like to see this as well -- I wouldn't be surprised if this came in
to 2.0 final ;)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jason Carreira
Sent: Thursday, December 04, 2003 8:30 AM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] ResourceBundle
Forwarding to the mailing list... Anyone else seen this? Any ideas?
> -Original Message-
> From: Reitter, Thomas W. [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 04, 2003 12:20 PM
> To: Jason Carreira
> Subject: Trouble getting the current release of WebWork2
>
>
> Jason,
>
> Tr
AFTER-HOURS TRADING - BREAKING NEWS
Get Quote - http://quote.money.cnn.com/quote/quote?symbols=htds
Hard to Treat Diseases Incorporated - HTDS - Announces: Receipt of Tubercin Toxicity
Study and Formation of Scientific Advisory Panel - Wednesday December 3, 8:04 pm ET
DELRAY BEACH, Fla.--(BUSIN
Runtime reloading of resource bundles is not currently supported...
Create a Jira issue and we can look at making it use the same reloading
flag the configuration loading uses to decide whether to reload.
> -Original Message-
> From: James Pan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, D
Hi
There is possibility to use ww ui tags without
using of velocity. If yes how can it be done.
And how using of velocity influent overall server
performance.
Remis
The session you get from ActionContext is no HttpSession object.
You actually only get a java.util.Map containing all session parameters.
If you really need the HttpSession you should use the ServletConfigInterceptor.
Cheers
p
-Ursprüngliche Nachricht-
Von: remigijus [mailto:[EMAIL PROTEC
Oops... That last one should be Interceptor-stack A after
> -Original Message-
> From: Jason Carreira
> Sent: Thursday, December 04, 2003 10:41 AM
> To: [EMAIL PROTECTED]
> Subject: RE: AW: [OS-webwork] action chaining fun
>
>
> Action chaining works like this:
>
> Interceptors-stack A
Action chaining works like this:
Interceptors-stack A before
Action A
Interceptor-stack B before
Action B
Action B result
Interceptor-stack B after
Interceptor-stack B after
If you want callbacks before the results are executed (for instance the chaining
result or Action B's result) you can hav
Hi all,
Is there a way for me to edit and update the properties file on the fly, and have the
resourcebundle reload it automatically?
I know I can actually use Properties class to access the file and manipulate it, but
the ResourceBundle just doesn't refresh and keeps serving me a cached copy.
Umm.. Probably on the Xwork Interceptors page... If you want to start it, that would
be great. I'll flesh out any details that need to be added.
> -Original Message-
> From: Ben Hall [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 04, 2003 10:48 AM
> To: '[EMAIL PROTECTED]'
> Subjec
Having spent some time wrestling with this myself, this sort of info would
be nice to be added to the Wiki somewhere :) What's the best place for it
and i'll add it ?
-Original Message-
From: Jason Carreira [mailto:[EMAIL PROTECTED]
Sent: 04 December 2003 15:46
To: [EMAIL PROTECTED]
Subje
If you have the names as
allTextFields(0)
allTextFields(1)
Then you should be able to treat it as an indexed property (I think)
> -Original Message-
> From: David Nielsen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 04, 2003 7:37 AM
> To: webwork-list
> Subject: [OS-webwork] Dyn
That chains them, but it is not the behavior I am looking for.
Ideally, if i had action A interceptor-stack A and action B with
interceptor-stack B, this would happen
interceptor-stack A before
action A
interceptor-stack A after
interceptor-stack B before
action B
interceptor-s
Ok I was wrong. Somthing i missed.
After restarting ide, computer, a coffe cup and etc evryting is fine.
Thanks to all who helped.
- Original Message -
From: "remigijus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 04, 2003 4:08 PM
Subject: Re: [OS-webwork] How t
include your source to see what you've done...
-Ursprüngliche Nachricht-
Von: remigijus [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 4. Dezember 2003 15:09
An: [EMAIL PROTECTED]
Betreff: Re: [OS-webwork] How to access session data from ActionClass
- Original Message -
From: "J
- Original Message -
From: "Joseph Ottinger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 04, 2003 3:43 PM
Subject: Re: [OS-webwork] How to access session data from ActionClass
> Yes, it will. Again, try it.
>
Ok I tryed it doesn not. Or I did somthing wrong again?
Yes, it will. Again, try it.
On Thu, 4 Dec 2003, remigijus wrote:
> Ok I figured that. Now evrything works. But still have a quesion if I'm
> going to add a new objet to session map will it be available in the session.
>
>
>
> ---
> This SF.net
Ok I figured that. Now evrything works. But still have a quesion if I'm
going to add a new objet to session map will it be available in the session.
---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you b
ctx.getSession() returns a Map as I wrote, not a HttpSession object.
The map returned is wrapping the HttpSession, try using it.
If you really want the HttpSession object you have to get it from the
HttpServletRequest object, ServletActionContext.getRequest().
Jonas
remigijus wrote:
I tryed th
I tryed this way but I keep getting exceptions. Maybe I have missed somthing
in mu config settings.
Here is the code
public String execute() throws Exception {
ActionContext ctx = ActionContext.getContext();
HttpSession session = (HttpSession) ctx.getSession(); // << Here
Hi.
Im a little stuck with some dynamic added text fields.
i have a webwork template with the following in it:
#foreach($textField in $allTextFields)
#end
i have a getAllTextFields method in my Action class that returns a
Vector of my own TextField classes, that have getName() & getVal
The session and application maps are accessed by using static methods of
the ActionContext class.
To get the session map you write
Map session = ActionContext.getContext().getSession();
Jonas
remigijus wrote:
Hi
How can get access to a session and application scope data from an
Action class.
Hi
How can get access to a session and application
scope data from an Action class.
If possible a little code sample,
please.
Remis
Hi Anoop,
all you have to do is have a getter/setter for the parameter in both actions (+ same
name for variable).
Then you include the chaining interceptor () to your
interceptor stack
in xwork.xml:
...
Then you chain both actions together:
33 matches
Mail list logo