Might I add that this is one of the coolest features to come in WebWork
-- if you don't see the power in it just ask and I'm sure more than a
few can give real world examples. I used it last night (hence Matt's
commit ;) to finish up the PetSoar sample application that is included
with the eminent
I am not good at English.
(BPlease associate though it might be incomprehensible.
(B
(BThe problem occurs when PushTag is used with Tomcat4.1.x.
(B(There is no problem in Tomcat4.0.6. )
(B
(BThe value of the instance variable "Stack" of PushTag is ValueStack
(Binstance when the Push tag i
Title: Message
1.3 has always evaluated name in the UI
tags. In the property/iterator tags “value” is used and evaluated.
I personally think everything should be evaluated – to err or the side of
more options than less is always better (something Struts does horrible wrong).
-Origi
Perfect, I'm looking forward to get the next OGNL release that will fix the
problem of the converters returning a null value (value which is considered
as a failure ...)
Cheers.
Richard HALLIER
Chef de projet
[EMAIL PROTECTED]
01.40.12.41.52
www.uniclick.org
UNICLICK
-Message d'origine-
this is so cool, i've been shying away from velocity because i wanted to
use a few jsp taglibs but now i can just use this feature and go all out
velocity!
Matt Ho wrote:
Francisco Hernandez wrote:
this is great, being able to use any jsp tag in velocity but could you
make an example of using
Francisco Hernandez wrote:
this is great, being able to use any jsp tag in velocity but could you
make an example of using a Jsp tag library in velocity?
Sure. I added an example to the webwork-example that illustrates using
the displaytag.org libraries to generate a table. To summarize what w
Dag Liodden wrote:
Yup, and it's easy too! :) I ported the standard templates to support
the tigris style-project (http://style.tigris.org/) in an hour or so.
Works perfectly (well, worked before the latest refactorings) and
looks good.
I suppose this would be interesting to some of you, so if
Yup, and it's easy too! :) I ported the standard templates to support
the tigris style-project (http://style.tigris.org/) in an hour or so.
Works perfectly (well, worked before the latest refactorings) and looks
good.
I suppose this would be interesting to some of you, so if you want to,
I'll
Title: RES: [OS-webwork] NullPointerException in VelocityResult
Hi Matt!
JBoss+Jetty is working well, too, but I still couldn't it get it to work on Orion 2.0.2. Probably some forgotten jar is getting loaded before the updated ww2's one, as the stack trace still points to the same line (Velo
Robert,
You're using the list and listValue attributes incorrectly.
* list is the collection of objects to iterator over (Map, List, etc)
* listKey is the expression to evaluate to generate the key. If you are
iterating over a Map, each entry is Map.Entry, and thus a valid listKey
would be "key
A minor correction to Matt's example:
| together, listKey and listValue resolve as
| listKey
Actually, the listKey is assigned to the option value, and the listValue
is the option display. I know the names seem confusing, but that
actually makes sense -- the key holds the data you're intere
You can also _just_ create the controlheader.vm and controlfooter.vm
files without making a whole new template. Just add the following dir
structure to your web-app:
/templates/xhtml
- controlheader.vm
- controlfooter.vm
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTEC
When an exception is thrown from an Action the
standard servlet error page mechanism is used to display the problem to the
user. When an exception occurs in either my Action or on the jsp page I
want to make sure that the user is shown the *same* error page. How
is this normally handled?
Yes M4 works much better with java.net cvs.
- Original Message -
From: "Drew McAuliffe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 21, 2003 6:56 PM
Subject: [OS-webwork] CVS in Eclipse
> I realize that this may be more of an issue for the java.net people, but
has
Matt Ho wrote:
I think I see the problem. I'll bet servlet on Line 61 is null. The
stuff checked into CVS requires that the WebWorkVelocityServlet be
configured. I've fixed this in CVS so that defining the
ServletDispatcher will be enough.
I tried it out on tomcat 4.1.27 and it looks good.
Matt Ho wrote:
I think I see the problem. I'll bet servlet on Line 61 is null. The
stuff checked into CVS requires that the WebWorkVelocityServlet be
configured. I've fixed this in CVS so that defining the
ServletDispatcher will be enough.
I tried it out on tomcat 4.1.27 and it looks good
I've got a need for something similar. I've documented my findings on
http://wiki.opensymphony.com/space/Tabular+inputs
--- Original Message ---
At first I thought this would be a pain in the ass, but after reading about
OGNL, I think this may actually be a lot easier. Our domain objects have
s
Reported this as a bug in the JIRA as this doesn't appear in an older CVS
checkout from two weeks ago.
/Daniel
---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We wan
I just added a NullHandler to the ParameterInterceptor in xwork. This
means that the ParameterInterceptor will automatically instantiates
objects as necessary while populating your action.
For example:
public class SimpleAction implements Action {
private Person person;
public Person g
Hi,
Every time I try to use the tag libraries in JSP pages WebLogic responds
with following error message:
Error in using tag library uri='webwork' prefix='ww': The Tag class
'com.opensymphony.webwork.views.jsp.ui.SelectTag' has no setter method
corresponding to TLD declared attribute 'defaultVal
Title: Message
Many WW2 tags seem to use the attributes 'name' and
'value' for non-evaluated and evaluated parameters respectively.
Wouldn't an evaluated 'name' attribute be a little confusing? Maybe some
other convention is required.
- Original Message -
From:
Patrick
L
Robert Douglass wrote:
Hi all. I'm using Velocity with WW2 for the first time, and it's not going
groovy for me. With the following radio tag, I am getting an OGNL exception
because getLanguage gets called, and it throws and error because getLanguage
is dependent on setLanguage being called first.
Hi Dick
Thanks for your help.
I already changed the getQuery() method
to be synchronized. And will
see if this helps...I'll let you know.
To your other not thread safe stuff: our testing
showed only problems with the
Query class, but the 'protecting' of all not
thread-safe stuff is a
Dag Liodden wrote:
Figures. :) I've noticed and appreciated the checkins. The recent
changes has removed the previous error, but introduced a
NullPointerException in VelocityResult instead.
Line 61: PageContext pageContext = jspFactory.getPageContext(servlet,
request, response, null, true, 819
Ignore my last comment; this looks like it should take care of it.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason
Carreira
Sent: Saturday, October 18, 2003 5:17 AM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] Converters not used on property get?
25 matches
Mail list logo