Re: [OS-webwork] [OS-xwork] Spring IoC integration

2003-12-11 Thread Cameron Braid
It looks like noone else is interested in discussing this. I have refactored xwork so that the external refrence resolvers are defined as described below stringParamValue myBoo

[OS-webwork] Boost Your Car's Gas Mileage 27%+.....jenn

2003-12-11 Thread Rodney Dumas
FUEL SAVER PRO This revolutionary device Boosts Gas Mileage 27%+ by helping fuel burn better using three patented processes from General Motors. www.iqkm.org?axel=49 PROVEN TECHNOLOGY A certified U.S. Environmental Protection Agency (EPA) laboratory recently completed tests on the new Fuel Save

[OS-webwork] Interceptors Instantiation

2003-12-11 Thread Francois Beauregard
We are currently using Webwork2 - XWork with PicoContainer. I must say that this combination really rocks. For those who are using other IOC containers (Spring and Avalon), have a look at Pico it is amazingly simple but makes your code sooo clean. The integration is well laid out (Great stuff by J

Re: [OS-webwork] RE: JSP tags in velocity

2003-12-11 Thread Cameron Braid
It is there now, see http://wiki.opensymphony.com/space/WebWorkFreemarkerSupport on how to use it James Cook wrote: Message Cameron,   Can you contribute the code to pass the ValueStack to FreeMarker, or is that in CVS now? -- Any damn fool can write code that a computer can

Re: [OS-webwork] jasperreport image html display

2003-12-11 Thread Cameron Braid
I havn't inserted any images myself... I don't really use the HTML report generator... I just found the /images/px problem by giving the HTML renderer a try. Sorry, Cameron Manyuan Jin wrote: Thanks for the reply.   I did exactly what you said. The problem is that I couldn't

RE: [OS-webwork] webwork2

2003-12-11 Thread Jason Carreira
Title: Message webwork.dev.java.net   We're shooting for the end of the year -Original Message-From: Cory Casler [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 5:06 PMTo: [EMAIL PROTECTED]Subject: [OS-webwork] webwork2 Where can I get a compiled trust

[OS-webwork] webwork2

2003-12-11 Thread Cory Casler
Where can I get a compiled trustworthy copy of the latest webwork2 beta jar file?  I can’t find a download on opensymphony other than from cvs which I believe I would have to build.  Also when is the release date for webwork2.0?   **

[OS-webwork] webwork:bean and inner classes

2003-12-11 Thread Frank Febbraro
Hey all, Using WW 1.4 Bean JSP Tag. I have a class: public abstract class LedgerEntry extends Persistent { private Date date = new Date(); private Currency amount = Currency.ZERO; public Date getDate() { return date; } public void setDate(Date d) { date = d; } public Curren

RE: [OS-webwork] RE: JSP tags in velocity

2003-12-11 Thread James Cook
Title: Message Cameron,   Can you contribute the code to pass the ValueStack to FreeMarker, or is that in CVS now?

RE: [OS-webwork] pointing action calling pages

2003-12-11 Thread Drew McAuliffe
Do you know examples of when the "referer" header doesn't exist? Is it a servlet engine thing? I'm extremely curious because I depend on the "RefererResult" quite a bit. I'm very interested in knowing ahead of time in what situations that header value won't exist. FYI, on Tomcat and Oracle 9i

Re: [OS-webwork] WebWorks without velocity how to

2003-12-11 Thread remigijus
Title: Message Thanks for clear answer and direct answer. This eaxcty what I have asked. - Original Message - From: Jason Carreira To: [EMAIL PROTECTED] Sent: Thursday, December 11, 2003 8:22 PM Subject: RE: [OS-webwork] WebWorks without velocity how to WW

RE: [OS-webwork] WebWorks without velocity how to

2003-12-11 Thread Jason Carreira
Title: Message WW1 you can use without velocity, WW2 uses velocity for its UI tag templates. If you don't plan to use the UI tags, you can remove it. -Original Message-From: remigijus [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:38 PMTo: [EMAIL PROTECTED]S

Re: [OS-webwork] WebWorks without velocity how to

2003-12-11 Thread remigijus
I know that. As it is stated in the doc it has nothing to do with web, it can be used anywhere and is not linked with http in any way. So maybe I got a wrong answer before. I want to make it clear, can I user WebWork without velocity. Will it work without an errors after I'm going to remove

[OS-webwork] FW: [Webwork-user] Simple Database Example

2003-12-11 Thread Jason Carreira
-Original Message- From: Jason Carreira Sent: Thursday, December 11, 2003 12:32 PM To: [EMAIL PROTECTED] Subject: FW: [Webwork-user] Simple Database Example -Original Message- From: Joe Walnes [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:22 PM To: Jason Car

RE: [OS-webwork] WebWorks without velocity how to

2003-12-11 Thread Patrick Lightbody
I think you’re confused. XWork has almost zero dependencies. WebWork has a dependency on XWork. It also depends on velocity if you wish to use the JSP UI tags.   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of remigijus Sent: Thursday, December 1

Re: [OS-webwork] WebWorks without velocity how to

2003-12-11 Thread remigijus
But velocity is also java code and it isn't better . I agree that some benefits in performance can be gain because there less objects will be created. But do you really think that velocite creates them less, I don't think so. As I guess, I.m not sure but 95% I can give, velocity does not do any tem

Re: [OS-webwork] Can I concatenate text in the name attribute?

2003-12-11 Thread Eric Mckenna
Thanks for the help, using a bean to concat the name works well. - Original Message - From: "Dick Zetterberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: December 10, 2003 6:21 PM Subject: Re: [OS-webwork] Can I concatenate text in the name attribute? > - Original Message

RE: [OS-webwork] WebWorks without velocity how to

2003-12-11 Thread Jason Carreira
Well, I haven't done the experiments Hani has, but my previous experience has been that JSP is very memory intensive and somewhat slow. It creates a lot of objects for handling tags and passing around contexts. Just because you can generate Java code directly and compile it doesn't make it faster.

[OS-webwork] A little HELP please....a very odd error

2003-12-11 Thread Les . Stroud
Let me preface this by saying that I don't know whether this is a problem with tomcat or with webwork or with something in my code. In fact, I am struggling to figure out where and how to start debugging this one. I have a web application that is built with WW2 and hibernate. All of it works fin

Re: [OS-webwork] WebWorks without velocity how to

2003-12-11 Thread Hani Suleiman
To be fair, there was a time when requestdispatchers were slow, and people would compare apples to oranges in requestdispatchers vs velocity templates. However, for webwork's needs, there is little to no difference between the two, based on any tests I've run. remigijus wrote: - Original M

RE: [OS-webwork] pointing action calling pages

2003-12-11 Thread Jason Carreira
It needs to be available in a property in an object in the value stack, like your Action. I think there's a way to access values directly in the context map, but I'm not sure what it is. > -Original Message- > From: Jan-Peter Hagenmüller [mailto:[EMAIL PROTECTED] > Sent: Thursday, Decem

Re: [OS-webwork] WebWorks without velocity how to

2003-12-11 Thread remigijus
- Original Message - From: "Hani Suleiman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 11, 2003 6:04 PM Subject: Re: [OS-webwork] WebWorks without velocity how to > Jason Carreira wrote: > > > XWork has no dependency on Velocity. > > > > In WW we use templates to

[OS-webwork] ActionContext.getParameters() return objects of class "[Ljava.lang.String" instead of "java.lang.String"

2003-12-11 Thread Hans Prueller
Hello! If I call ActionContext.getParamters() or ServletActionContext.getParameters() in WW2 the returned Collection consists of objects not castable to String. the getClass().getName() method returns [Ljava.lang.String as classname. I had to use ServletActionContext.getRequest() to access the

Re: [OS-webwork] ActionContext.getParameters() return objects of class "[Ljava.lang.String" instead of "java.lang.String"

2003-12-11 Thread Hani Suleiman
No, a parameter can have multiple values, thus you should cast it to a String[], not String Hans Prueller wrote: Hello! If I call ActionContext.getParamters() or ServletActionContext.getParameters() in WW2 the returned Collection consists of objects not castable to String. the getClass().getNam

RE: [OS-webwork] Empty string property now "" instead of null?

2003-12-11 Thread Jason Carreira
So WW1.3 takes [""] and sets null on a String property? > -Original Message- > From: Lars Fischer [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 11, 2003 6:38 AM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] Empty string property now "" > instead of null? > > > IMO it is es

RE: [OS-webwork] Quickstart guide ? is it missisng something - changes

2003-12-11 Thread Jason Carreira
The QuickStart guide is not locked.. Any registered user should be able to edit it. Please feel free to make additions. > -Original Message- > From: Leonidas Papadakis [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 11, 2003 6:27 AM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork

Re: [OS-webwork] WebWorks without velocity how to

2003-12-11 Thread Hani Suleiman
Jason Carreira wrote: XWork has no dependency on Velocity. In WW we use templates to render our UI tags. In WW1 this is based on JSP templates. In WW2 this is based on Velocity because : a) It's faster, b) it's less of a memory hog, c) they're easier to edit as templates Erm, actually (after

RE: [OS-webwork] WebWorks without velocity how to

2003-12-11 Thread Jason Carreira
Title: Message XWork has no dependency on Velocity.   In WW we use templates to render our UI tags. In WW1 this is based on JSP templates. In WW2 this is based on Velocity because : a) It's faster, b) it's less of a memory hog, c) they're easier to edit as templates -Original Messa

Re: [OS-webwork] jasperreport image html display

2003-12-11 Thread Manyuan Jin
Thanks for the reply.   I did exactly what you said. The problem is that I couldn't display other images I inserted. I use JFreechart to generate those images. Do you have problem with HTML files containing other images besides the px file which is used for layout?   manyuan  - Origin

Re: [OS-webwork] RE: JSP tags in velocity

2003-12-11 Thread Cameron Braid
I used to use velocity... We switched to Freemarker because we find it better.  Since it supports any JSP tag library out of the box it makes migration from JSP easier. We find freemarker as fast as velocity (not that I have any direct statistics) ant more flexible. Cameron Fred Lamuette wro

RE: [OS-webwork] RE: JSP tags in velocity

2003-12-11 Thread Fred Lamuette
Yes, it's the same than this at http://displaytag.sourceforge.net. I use Velocity as template engine, but I'm wondering if Freemark is not a best alternative. Does someone have feedbacks or know the differences ? Thank you. Richard. -Message d'origine-De : [EMAIL PROTECTED]

Re: [OS-webwork] pointing action calling pages

2003-12-11 Thread Jan-Peter Hagenmüller
hi cameron! no, i don't think its the spelling - I put it into a session variable - its works. i just can not get it via the expression jason suggested. thanks jp 11.12.2003 15:13:14, Cameron Braid <[EMAIL PROTECTED]> wrote: > > > From:Cameron Braid <[EMAIL PROTECTED]> > > Organiz

Re: [OS-webwork] RE: JSP tags in velocity

2003-12-11 Thread Cameron Braid
I may be way off mark here, but is the webwork displaytag the same one at http://displaytag.sourceforge.net/ ? I havn't used DisplayTag before because I have written my own freemarker macro for displaying tabulated data within webwork, that suits my purposes better. It should be as simple as

Re: [OS-webwork] pointing action calling pages

2003-12-11 Thread Cameron Braid
String referrer = ServletActionContext.getRequest().getHeader("Referer"); ctx.getValueStack().setValue("currentPage", referrer); I think that your problem is with the spelling of the header hey name "referer" should be "Referer" Note also that this header doesn't always exist. Cameron Jan-

Re: RE: [OS-webwork] pointing action calling pages

2003-12-11 Thread Jan-Peter Hagenmüller
hi! thanks for so far! i got the calling url and tried to put it onto the stack in my validate() then i tried to get it via expression: - ctx.getValueStack().getContext().put("currentPage", ServletActionContext.getRequest().getHeader("referer")); or - ctx.getValueStack().setValue("currentP

Re: [OS-webwork] Empty string property now "" instead of null?

2003-12-11 Thread Lars Fischer
IMO it is essential that is is NULL. This has been a problem with WW 1.2. and has been fixed in 1.3. It's perfectly legal for a String to be null. If WW2 handles this as an empty String, it's a bug. > Hi, > > When a form field (single textfield) is not filled, the request param is > an > empty s

Re: [OS-webwork] Quickstart guide ? is it missisng something - changes

2003-12-11 Thread Leonidas Papadakis
i have already sent a few changes in the quickstart. I believe that the purpose of the quickstart is to get you going, a simple action and view. You are asking for a test case. I'll try to do that over the weekend. Just a point, you could take a look at http://sql2java.sourceforge.net/for

Re: [OS-webwork] WebWorks without velocity how to

2003-12-11 Thread remigijus
Very sad news. In this way I see no reason to separate xwork from webwork. Somone has missed some basic idea. I'm little confused, why to make separation and make dependency on anything else? Does someone see any inconsistency here, or I'm only one so confused here? - Original Message

Re: [OS-webwork] Problems with Applet.

2003-12-11 Thread remigijus
- Original Message - From: Patrick Lightbody To: [EMAIL PROTECTED] Sent: Thursday, December 11, 2003 7:27 AM Subject: RE: [OS-webwork] Problems with Applet. That’s very strange. Are you at all using the tag in your JSP as well?     No I d

RE: Re: [OS-webwork] Quickstart guide ? is it missisng something

2003-12-11 Thread Lars Fischer
It would be nice to have the common use cases e. g. load and/or update an object (like an employee, etc) and handle this in an elegant way (loading an object from the database and NOT having to reload it after submitting the updates). There's no full implementation required (no actual database acc

[OS-webwork] BREAKING NEWS On Health Care Stock ...alma

2003-12-11 Thread Genaro William
BREAKING NEWS on TRHL True Health (TRHL) Signs Landmark Deal With Spectrum Care; Becomes Preferred Provider To Consortium of 130+ Nursing Homes... BECKENHAM, England---PRNewswire-FirstCall---True Health, Inc., (OTC Bulletin Board: TRHL) a leader in healthcare recruitment and pressure relieving

[OS-webwork] BREAKING NEWS On Health Care Stock ...emmanuel

2003-12-11 Thread Marion Schneider
BREAKING NEWS on TRHL True Health (TRHL) Signs Landmark Deal With Spectrum Care; Becomes Preferred Provider To Consortium of 130+ Nursing Homes... BECKENHAM, England---PRNewswire-FirstCall---True Health, Inc., (OTC Bulletin Board: TRHL) a leader in healthcare recruitment and pressure relieving

RE: [OS-webwork] RE: JSP tags in velocity

2003-12-11 Thread Fred Lamuette
Have you any examples with DisplayTag ? Thank you. Richard. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Chris Nokleberg Envoye : jeudi 11 decembre 2003 09:04 A : [EMAIL PROTECTED] Objet : [OS-webwork] RE: JSP tags in velocity Patrick Lightbody wrote: >

[OS-webwork] RE: JSP tags in velocity

2003-12-11 Thread Chris Nokleberg
Patrick Lightbody wrote: > Unfortunately, this is one of the problems with the > "use-JSP-tags-in-velocity" deal: in order to _really_ get it to work, > you essentially have to write half a JSP container. Since supporting any > arbitrary tag isn't the goal of WebWork (it's a nice side effect, but >