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
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
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
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
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
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
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?
**
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
Title: Message
Cameron,
Can
you contribute the code to pass the ValueStack to FreeMarker, or is that in CVS
now?
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
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
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
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
-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
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
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
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
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.
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
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
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
- 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
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
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
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
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
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
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
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
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
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]
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
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
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-
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
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
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
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
- Original Message -
From:
Patrick
Lightbody
To: [EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 7:27
AM
Subject: RE: [OS-webwork] Problems with
Applet.
Thats very strange.
Are you at all using the tag in your JSP as
well?
No I d
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
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
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
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:
>
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
>
44 matches
Mail list logo