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
it's
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:
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
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
- 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 ww:action/ tag in your JSP as
well?
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
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
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
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(currentPage,
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
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
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]
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]
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
Thanks for the reply.
I did exactly what you said. The problem is that I
couldn't display other imagesI inserted. I use JFreechart to generate
those images. Do you have problem with HTML files containing other images
besidesthe px file which is used for layout?
manyuan
- Original
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
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
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]
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 essential that
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
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
- 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 render our
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,
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
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
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.
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 -
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
I think youre 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
-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
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
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
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
Title: Message
Cameron,
Can
you contribute the code to pass the ValueStack to FreeMarker, or is that in CVS
now?
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
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
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
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
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
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
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
xwork
package name='test' extends='webwork-default'
external-resolvers
external-resolver name=test
42 matches
Mail list logo