tag look at the "validate"
attribute in the config?
Scott Mulligan
-Original Message-
From: Angelo zerr [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 16, 2006 1:47 PM
To: Struts Users Mailing List
Subject: Re: - Design Issue with Struts Validation
Hi,
Me, I use DispatchAction, and
On 5/16/06, Dave Newton <[EMAIL PROTECTED]> wrote:
Remember the days when newsgroups had a daily or weekly FAQ posting?
Whaddya think?
We have wiki now. (I believe that wiki needs a bit of reorganization)
* Any more or less important/frequent issues should be reflected in
wiki. I believe tha
?
Scott Mulligan
-Original Message-
From: Angelo zerr [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 16, 2006 1:47 PM
To: Struts Users Mailing List
Subject: Re: - Design Issue with Struts Validation
Hi,
Me, I use DispatchAction, and I prefer call validate in my action,
inst
Chaudhary, Harsh wrote:
> I would go with the declarative approach. It lends to more flexibility.
>
Not really.
If I'm doing something the exact same way every time I'd much rather
handle it by implementing a method (that you'd have to implement anyway)
and not bother with a config file change
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
>> If we are speaking of the real "FAQ" i can contribute ;-) Have some cool
>> links of you guys here...
>
> Sounds like a Wiki to me :) There is a page for Struts FAQs (probably
> more than one) already on the Wiki. Go to it, I'm certain everyone w
On Tue, May 16, 2006 3:19 pm, C. Grobmeier wrote:
> Good idea. But i think Dave is speaking of a FAQ which is not just
> summing up what happened this week on the struts list, but he is
> speaking of a "real" FAQ, with the most important links (to the wiki) etc.
>
> If we are speaking of the real "
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
>>
>> Remember the days when newsgroups had a daily or weekly FAQ posting?
>>
>> Whaddya think?
>>
>
> Not a bad idea, but someone would have to put it together each week. You
> voluntering? :) It would work if you simply put it together and poste
I would go with the declarative approach. It lends to more flexibility.
Harsh.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 16, 2006 1:27 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Re: - Design Issue with Struts
On Tue, May 16, 2006 2:02 pm, Dave Newton wrote:
> Frank W. Zammetti wrote:
>> Create two different mappings, one for the initial view (which has
>> validate set to false), one for the submission (with validate set to
>> true).
>>
>
> Create a base action that has separate handlers for GET (initial
Frank W. Zammetti wrote:
> Create two different mappings, one for the initial view (which has
> validate set to false), one for the submission (with validate set to
> true).
>
Create a base action that has separate handlers for GET (initial page
hit) and POST (form submission).
Remember the d
Hi,
Me, I use DispatchAction, and I prefer call validate in my action, instead
of struts launch automaticaly validate (validate="true" in action). So in my
struts-config, I have just one mapping for an action (I set
validate="false"). After in my dispatchAction I design my DispatchAction
with sev
Hi,
Create two different mappings, one for the initial view (which has
validate set to false), one for the submission (with validate set to
true).
Frank
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EM
When I go to a page for the 1st time, the validation takes affect. Obviously I
don't want that, I only want to validate upon submitting. How do I get around
this?
My form extends ValidatorActionForm
My Action Mapping in Struts-Config:
--
13 matches
Mail list logo