Re: [OS-webwork] (Offtopic) Freemarker WAS Using SiteMesh for theUI tags

2003-01-29 Thread Rickard Öberg
Still off-topic. Rickard Öberg wrote: Goodbye Jonathan. Jonathan is bashing on me off-line. Has anyone read the Velocity thread and found my characterization of it as "disgusting" to be way out of line and bordering on harassment of Jonathan? He sez: "And you had no fucking business badmout

RE: [OS-webwork] Problem with Eclipse and Tomcat Plugin

2003-01-29 Thread tobyhede
I ran into this one as well. I have to check my home configuration, but I think you do have to add your jars to the project classpath - Eclipse/Sysdeo seem to effect the Tomcat classpath settings. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Thomas

[OS-webwork] Problem with Eclipse and Tomcat Plugin

2003-01-29 Thread Thomas Kramer
Hi, I have a problem, runnung Eclipse 2.1 on W2K with the tomcat 4.12 plugin from Sysdeo. If I use the webwork classes in my project and start tomcat within the eclipse ide, tomcat returns the error "HTTP Status 503 - Servlet action is currently unavailable" after calling an webwork action. JSP pa

RE: [OS-webwork] Re: Freemarker WAS Using SiteMesh for the UI tags

2003-01-29 Thread Jason Carreira
> -Original Message- > From: Chris Nokleberg [mailto:[EMAIL PROTECTED]] > When is the next > WebWork release planned for? > > -Chris Good question :-) --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + Li

Re: [OS-webwork] Re: Freemarker WAS Using SiteMesh for the UI tags

2003-01-29 Thread Chris Nokleberg
On Thu, Jan 30, 2003 at 01:43:22AM +1100, Scott Farquhar wrote: > Anyone actually want to commit something now? Don't forget if you don't > have CVS access - email me your diffs & I'll commit them. I do have some basic support working (value stack exposed as a FreeMarker TemplateModel), but it i

RE: [OS-webwork] URLTag changes in ww 1.3

2003-01-29 Thread Vedovato Paolo
sorry to come in so late...;-) >I think the default should be how it is now, since after the >last change, people >have on the whole adapter their code to the new behaviour. no problem with that, but then it should be remembered to adapt the webwork table jsp template to mirror the original (1.

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Dick Zetterberg
- Original Message - From: "Jason Carreira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 4:19 PM Subject: RE: [OS-webwork] ActionContext clarification > Konstantin, > > I think the problem here is that you're not using the Model2 paradigm, > which Webwork

RE: [OS-webwork] ActionContext clarification

2003-01-29 Thread Jason Carreira
Konstantin, I think the problem here is that you're not using the Model2 paradigm, which Webwork is based upon. It sounds like you are hitting the JSPs directly, whereas, in Webwork, we would hit foo.action, which (because *.action is mapped to the Webwork ServletDispatcher) would be handled by W

Re: [OS-webwork] Re: Freemarker WAS Using SiteMesh for the UI tags

2003-01-29 Thread Wayland Chan
> Jonathan Revusky wrote: >But again, I repeat, that if people are asking about >features on a Velocity list that are present in >FreeMarker, I see *no* problem with telling them that >the features they want are present in FreeMarker. If >you think there's a moral or ethical problem with that, >the

Re: [OS-webwork] Re: Freemarker WAS Using SiteMesh for the UI tags

2003-01-29 Thread Scott Farquhar
+1. Anyone actually want to commit something now? Don't forget if you don't have CVS access - email me your diffs & I'll commit them. Cheers, Scott boxed wrote: Anybody who reads the thread and was not born yesterday will see that the Velocity people started all the personal attacks, all the a

[OS-webwork] (Offtopic) Freemarker WAS Using SiteMesh for the UI tags

2003-01-29 Thread Rickard Öberg
I'll bite. Just this once. Jonathan Revusky wrote: Absolutely, go read it. I think you should go read it too, Rickard. Your comments here do not seem to be based on any grasp of what really happened. Just re-read it, and it re-confirmed my assesment of what happened, and my comments still st

Re: [OS-webwork] Re: Freemarker WAS Using SiteMesh for the UI tags

2003-01-29 Thread Jonathan Revusky
On Wednesday, January 29, 2003, at 03:13 PM, Hani Suleiman wrote: A flamewar wouldn't be complete without a few kindlings thrown in by me, so herw goes... Do you think I'm the only guy around who doesn't like it when people spread disinformation about him behind his back? Other than that, do

Re: [OS-webwork] Re: Freemarker WAS Using SiteMesh for the UI tags

2003-01-29 Thread Jonathan Revusky
On Wednesday, January 29, 2003, at 03:09 PM, boxed wrote: Anybody who reads the thread and was not born yesterday will see that the Velocity people started all the personal attacks, all the ad hominem and character assastination stuff against me specifically because they could not deal with me i

Re: [OS-webwork] Re: Freemarker WAS Using SiteMesh for the UI tags

2003-01-29 Thread Hani Suleiman
A flamewar wouldn't be complete without a few kindlings thrown in by me, so herw goes... > > Do you think I'm the only guy around who doesn't like it when people > spread disinformation about him behind his back? Other than that, do > you think that *I* have any interest in showing up on a webw

Re: [OS-webwork] Re: Freemarker WAS Using SiteMesh for the UI tags

2003-01-29 Thread boxed
> Anybody who reads the thread and was not born yesterday will see that > the Velocity people started all the personal attacks, all the ad > hominem and character assastination stuff against me specifically > because they could not deal with me in legitimate debate. That you, > Rickard, cannnot see

Re: [OS-webwork] Re: Freemarker WAS Using SiteMesh for the UI tags

2003-01-29 Thread Jonathan Revusky
On Wednesday, January 29, 2003, at 06:24 AM, Rickard Öberg wrote: Jonathan Revusky wrote: François, I don't believe that you should take Rickard's account of what happened as definitive, particularly when there is a complete electronic record of all of this that anybody can look at. Absol

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Rickard Öberg
Dick Zetterberg wrote: Isn't it possible to get a problem even if you do all your work in actions, for example if you are doing some Model-1 coding? For example if you have an action that you call many methods on, in a page like: Later on in the page you decide to get some property from it: If

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Rickard Öberg
Konstantin Priblouda wrote: What is correct way to obtain ActionContext which was initialized with HttpSession data if there is HttpSession around? I think ServletActionContext.getSession() works. This method does not exists in current CVS version of webwork... Sorry, that should be Acti

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Dick Zetterberg
- Original Message - From: "Rickard Öberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 12:41 PM Subject: Re: [OS-webwork] ActionContext clarification > > The WebWorky way is to have all code that does stuff in actions, and in > that case you'd never have an

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
> > What is correct way to obtain ActionContext > > which was initialized with HttpSession data if > there > > is > > HttpSession around? > > I think ServletActionContext.getSession() works. This method does not exists in current CVS version of webwork... Another question: It seems to me that

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Rickard Öberg
Konstantin Priblouda wrote: Well, not quite webworky :) The idea is to not reinvent the wheel. I would like to be servlet-agnostic... Ok, then put the code that initializes the context in a class and call it from a ServiceContextListener. What is correct way to obtain ActionContext which w

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
--- Rickard_Öberg <[EMAIL PROTECTED]> wrote: > Konstantin Priblouda wrote: > >>Regardless, the initialization should probably be > >>done using a > >>ServiceContextListener. > > > > What is ServiceContextListener? Nothing in webwork > > docs > > about it, neither in servlet api > > Sorry, I mea

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Rickard Öberg
Konstantin Priblouda wrote: Regardless, the initialization should probably be done using a ServiceContextListener. What is ServiceContextListener? Nothing in webwork docs about it, neither in servlet api Sorry, I meant this one: http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Servl

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
> Just an observation from your error description: > Is the initial framset file a html file or a jsp > file? If it is html and > then if the frames are JSP files then I think you > could get the behaviour > you are describing with different sessions since no > session is created when > the frames

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Dick Zetterberg
- Original Message - From: "Konstantin Priblouda" <[EMAIL PROTECTED]> Subject: Re: [OS-webwork] ActionContext clarification > > Yep. I have to live with frameset, and on couple the > first executions of various jsps it delivers different > objects. But then it stabilizes... > Kind of weir

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
> Hm.. this is not application-global. It is > session-specific. My mistake... > > Then i was in need to perform the same from action > > - so I modified this method to luse Map instead > of > > session > > and added another static method which just feeds > first > > one with ActionContext.getSes

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Rickard Öberg
Konstantin Priblouda wrote: Is there webwork example for such factory actions? What are you using the factory for? Sounds like the dispatcher to me. I need a application-global object. Original version was: ---%<- public static getFoo(HttpSession bar) { Foo foo = bar.getValue(FOO_K

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
> > Is there webwork example for such factory actions? > > What are you using the factory for? Sounds like the > dispatcher to me. I need a application-global object. Original version was: ---%<- public static getFoo(HttpSession bar) { Foo foo = bar.getValue(FOO_KEY); if(foo == nul

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Rickard Öberg
Konstantin Priblouda wrote: So you suggest that I convert my factory class into action, and this action shall deposit my desired class in [say] thread local upon execution? Is there webwork example for such factory actions? What are you using the factory for? Sounds like the dispatcher to me.

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
> Well, if you're using scriptlets then I guess you > can use the request > directly. > > The WebWorky way is to have all code that does stuff > in actions, and in > that case you'd never have any problem. So you suggest that I convert my factory class into action, and this action shall deposi

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Rickard Öberg
Konstantin Priblouda wrote: Yep. I have to live with frameset, and on couple the first executions of various jsps it delivers different objects. But then it stabilizes... Kind of weird. I think I will provide 2 methods for my factory: from jsp feed it with session and extract object from t here

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
--- Rickard_Öberg <[EMAIL PROTECTED]> wrote: > Konstantin Priblouda wrote: > > Hi all, > > I tried to get map of values stored in > > HttpSession by calling ActionContext.getSession() > > > > Docs state that it shall return map of values in > > actual HttpSession while in servlet environment,

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Rickard Öberg
Konstantin Priblouda wrote: Hi all, I tried to get map of values stored in HttpSession by calling ActionContext.getSession() Docs state that it shall return map of values in actual HttpSession while in servlet environment, and just a map ( global one? ) if called elsewhere. I used it from JP

[OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
Hi all, I tried to get map of values stored in HttpSession by calling ActionContext.getSession() Docs state that it shall return map of values in actual HttpSession while in servlet environment, and just a map ( global one? ) if called elsewhere. I used it from JPS , and different documents g

Re: [OS-webwork] Re: Freemarker WAS Using SiteMesh for the UI tags

2003-01-29 Thread Attila Szegedi
- Original Message - From: "Rickard Öberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 2003. január 29. 6:24 Subject: Re: [OS-webwork] Re: Freemarker WAS Using SiteMesh for the UI tags > Now back to our regular programming. +1. I'm here with the sole reason of kickstarting a WW+FM