I have a pretty large velocity page that needs to generate a lot of
urls, and I noticed that the roughly 4000 urls generated with the
URLBean class took about two seconds to generate. I took a look at the
code and saw that it creates and throws away a StringBuffer AND a
HashMap every single ite
Sorry, I was on a short fuse today too. I didn't realize it was a
java.net thing. Doctor says too much caffeine makes me edgy.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Pat Lightbody
Sent: Monday, October 06, 2003 11:08 PM
To: [EMAIL PROTECTED]
Subje
I've just logged an issue with them asking them to hurry-tf-up with the
approval...
"Pat Lightbody" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Alright alright, don't let Hani bait you. I pretty much agree with you, I
> suggest you complain to java.net. While you're at it, can yo
i have a myDate property defined to be of type java.util.Date
then I have a validate function called
public void validate() {
if(myDate == null) {
addFieldError("myDate","Please put in a valid Date!");
}
}
on the first request itll give me the fieldError for no
Hello all!
I have created implemented support for webwork2, and i will post it
today or tomorrow.
regards
chris
Tuesday, October 7, 2003, 2:53:48 AM, you wrote:
JC> I believe it's another module next to webwork on dev.java.net CVS... I
JC> haven't checked it out yet, though...
>> -Origina
This code won't work as you would expect. It's that kind of bug you wouldn't
expect, but also that kind that should be taught on every programming course
(rare).
For those who are impatient and don't want to find out why it won't work I
suggest googling for "double checked locking" or DCL. Due to
All,
I'm actually implementing this in Struts at the moment (haven't quite
finished pushing WebWork through the standards process), but using a
tip from Gavin, I've made Struts behave more like WebWork by moving the
action logic into the form. Now I only need to create new forms and I
can reus
I need to ask a question that has a Yes/No type answer but I want the
values sent to the action to be true/false so I can get the propertys
set to Boolean objects, how would I go about doing this?
I was going to make a class that has id/name propertys and then send a
List of two of those objec
You can always do this manually...
public String doExecute() throws Exception {
this.item = DBMapper.findItem());
ActionContext.getContext().getValueStack().push(item);
}
Which would set the item onto the stack and its properties will be
available during view rendering.
J
Can you please create a Jira issue and attach these there?
> -Original Message-
> From: boxed [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 07, 2003 3:55 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] URLBean performance issues
>
>
> I have a pretty large velocity page that nee
Well, I wrote this description of how I was doing things about three
weeks ago. I mentioned that something didn't smell right about this
technique. It wasn't necessarily wrong, it just seemed that there
should be a better way.
Well, I think I found it. It's very clean, provides excellent
se
Title: javascript actions on form components?
Hi :)
I'm trying to come up with some _javascript_ validations for a couple of forms here, and I'd like to attach an event method on the form submit:
#bodytag(Form "method='post'" "action=''" "")
#tag ...
#tag ...
#tag(Submit "value='Proce
Title: javascript actions on form components?
Does
it make a difference if you put it in onclick for the submit
button?
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of
[EMAIL PROTECTED]Sent: Tuesday, October 07, 2003 5:06
PMTo: [EMAIL PROT
Would some sort of custom type conversion work? It would convert Yes/no
to true/false. I haven't had much luck with the converters myself, but
it's an idea.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Francisco Hernandez
Sent: Tuesday, October 07, 2003
Title: javascript actions on form components?
That
would change the behaviour I want - because you can submit a form without a
click in the submit button, but, anyways, it doesn't work,
either...
-Mensagem original-De: Robert Douglass
[mailto:[EMAIL PROTECTED]Enviada em: terça-feir
Title: javascript actions on form components?
What
does the html output look like? Does the onsubmit bit simply not show
up?
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of
[EMAIL PROTECTED]Sent: Tuesday, October 07, 2003 5:32
PMTo: [EMAIL
I'm using almost the same pattern as you, I've created an interceptor that
loads the model in the action
(detection of the id paramter and extension of the ModelDriven interface to
add setModel(..) and getModelClass() method, thus I can load and store
easily my entity in my ModelDriven action). It
What happens if you're using another interceptor in a chain, and it
throws an error that halts processing? Will your hibernate interceptor
be able to close off any resources it opened?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Anoop Ranganath
Sent: T
Title: javascript actions on form components?
Exactly, the form.vm component just omits it in the resulting html...
but, as I'm not sure if ww2 supports client-side validation of some sort, I
thought it was better to ask before changing that.
-Mensagem original-De: Robert Douglass
With a session opened and closed in a ServletFilter+ThreadLocal pattern, i
think so.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de
Drew McAuliffe
Envoye : mardi 7 octobre 2003 19:53
A : [EMAIL PROTECTED]
Objet : RE: [OS-webwork] UPDATED: hibernate/webwork2
where'd it go?
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lis
I'm all for putting support for PicoContainer back in!
Mathias
- Original Message -
From: "christoph sturm" <[EMAIL PROTECTED]>
To: "Jason Carreira" <[EMAIL PROTECTED]>
Sent: Tuesday, October 07, 2003 12:28 PM
Subject: Re[2]: [OS-webwork] Avalon Components w/ WebWork2
> Hello all!
>
> I
Title: single i18n catalog for multiple actions?
Hi all :)
Is there a simple way to maintain a single catalog of i18n .properties files? I got a lot of duplicated messages (well, most of them are duplicates), so I would like to keep them all under, I don't know, application.properties. The w
Title: Message
Create
a parent class and associate the messages with that parent class... or use the
LocalizedTextUtils.addDefaultResourceBundle()
-Original Message-From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:
Tuesday, October 07, 2003 5:06 PMTo:
[EMAIL PROTEC
Yes, please!
Cheers,
matthew
On Tuesday, October 7, 2003, at 03:38 PM, Mathias Bogaert wrote:
I'm all for putting support for PicoContainer back in!
Mathias
- Original Message -
From: "christoph sturm" <[EMAIL PROTECTED]>
To: "Jason Carreira" <[EMAIL PROTECTED]>
Sent: Tuesday, October
I'm against Pico support, only because I don't like the idea of forcing
my components to have constructors. I'd rather implement an interface
than "kind of" implement an implicit interface by using strict
constructor rules. If support is added back in for Pico, I'd rather it
be optional, like the A
Hi there,
I was wondering how could i display a message to the user while getting
values from the database. I.e. the user clicks on the GetUsers submit
button that calls the Users.action .I would like at that point to
display the "please wait" message until the Users.action returns
somekind of
Title: Message
Where
would one add a call to "addDefaultResourceBundle"? In the servlet init? Or is
there a more "webwork-friendly" place to do it, like in some sort of filter init
or an application scoped component?
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL
You can do this on the client side with JavaScript. One way is
to submit your action to a hidden iframe.
--- Leonidas Papadakis <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I was wondering how could i display a message to the user while
> getting
> values from the database. I.e. the user clicks
Well, I'm assuming it wouldn't be enforced. Really I'd like all of these
'extensions' to be bundled as separate JARs?
So you want Pico?
Add xwork.jar and xwork-pico.jar to your /lib directory and set some flag in
webwork.properties.
You want Avalon? xwork.jar and xwork-avalon.jar
Etc etc?
M
Title: Message
I
would probably do it in a servlet init or a
ServletContextListener
-Original Message-From: Drew McAuliffe
[mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 7:21
PMTo: [EMAIL PROTECTED]Subject:
RE: [OS-webwork] single i18n catalog for multiple
ac
Check out how the flight booking engines like www.opodo.com do it. When the
form is submitted they display a Layer (ie make it "visible") which contains
the "Please wait" message. When the next page eventually loads this is
naturally replaced.
If you want to do it without DHTML, some of the olde
32 matches
Mail list logo