[OS-webwork] in DefaultActionProxy.execute() whats the purpose of the nestedContext and WW-407?

2003-12-04 Thread Francisco Hernandez
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

Re: [OS-webwork] Reloading views.properties and issue with documentation

2003-12-04 Thread boxed
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

[OS-webwork] OT: P 170 of the JOSP book what does that do?

2003-12-04 Thread Robert Nicholson
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

Re: [OS-webwork] ResourceBundle and editing it

2003-12-04 Thread Dick Zetterberg
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

[OS-webwork] releasing a component

2003-12-04 Thread Anoop Ranganath
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

[OS-webwork] Reloading views.properties and issue with documentation

2003-12-04 Thread boxed
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

RE: [OS-webwork] xwork - ant test

2003-12-04 Thread Jason Carreira
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? > > > > --

[OS-webwork] xwork - ant test

2003-12-04 Thread Robert Nicholson
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

Re: [OS-webwork] AFTER-HOURS TRADING - Breaking News...cosima

2003-12-04 Thread Robert Nicholson
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

RE: [OS-webwork] ResourceBundle and editing it

2003-12-04 Thread Patrick Lightbody
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

[OS-webwork] RE: Trouble getting the current release of WebWork2

2003-12-04 Thread Jason Carreira
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

[OS-webwork] AFTER-HOURS TRADING - Breaking News...cosima

2003-12-04 Thread Jonathan Rosen
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

RE: [OS-webwork] ResourceBundle and editing it

2003-12-04 Thread Jason Carreira
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

[OS-webwork] WebWorks without velocity how to

2003-12-04 Thread remigijus
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

AW: [OS-webwork] How to access session data from ActionClass

2003-12-04 Thread Patrick Holzmann
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

RE: AW: [OS-webwork] action chaining fun

2003-12-04 Thread Jason Carreira
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

RE: AW: [OS-webwork] action chaining fun

2003-12-04 Thread Jason Carreira
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

[OS-webwork] ResourceBundle and editing it

2003-12-04 Thread James Pan
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.

RE: AW: [OS-webwork] action chaining fun

2003-12-04 Thread Jason Carreira
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

RE: AW: [OS-webwork] action chaining fun

2003-12-04 Thread Ben Hall
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

RE: [OS-webwork] Dynamic text fields

2003-12-04 Thread Jason Carreira
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

Re: AW: [OS-webwork] action chaining fun

2003-12-04 Thread Anoop Ranganath
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

Re: [OS-webwork] How to access session data from ActionClass

2003-12-04 Thread remigijus
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

AW: [OS-webwork] How to access session data from ActionClass

2003-12-04 Thread Patrick Holzmann
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

Re: [OS-webwork] How to access session data from ActionClass

2003-12-04 Thread remigijus
- 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?

Re: [OS-webwork] How to access session data from ActionClass

2003-12-04 Thread Joseph Ottinger
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

Re: [OS-webwork] How to access session data from ActionClass

2003-12-04 Thread remigijus
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

Re: [OS-webwork] How to access session data from ActionClass

2003-12-04 Thread Jonas Eriksson
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

Re: [OS-webwork] How to access session data from ActionClass

2003-12-04 Thread remigijus
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

[OS-webwork] Dynamic text fields

2003-12-04 Thread David Nielsen
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

Re: [OS-webwork] How to access session data from ActionClass

2003-12-04 Thread Jonas Eriksson
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.

[OS-webwork] How to access session data from ActionClass

2003-12-04 Thread remigijus
Hi   How can get access to a session and application scope data from an Action class. If possible a little code sample, please.   Remis

AW: [OS-webwork] action chaining fun

2003-12-04 Thread Patrick Holzmann
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: