--- Scott <[EMAIL PROTECTED]> wrote:
> I keep reading about how Actions can be POJOs with
an
> execute method, yet I don't see any examples of
this.
That's because most Actions need to do more than just
be a POJO; they need to be validated, have access to
the session, etc.
> I need to know if th
The only examples I can find that deal with validations use ActionSupport!
What's strange, I keep reading about how Actions can be POJOs with an execute
method, yet I don't see any examples of this. Do you know how S2, XW, or
whatever you want to call it, behaves when you would like to leverag
--- [EMAIL PROTECTED] wrote:
> My app works fine when I extend ActionSupport, but I
> do not want to tie my Actions to S2.
Then implement the "real logic" via pluggable
interface impls, but (even) I think decoupling can be
taken past the point of diminishing returns.
Also, it's not coupled to S2
Hi Laurie --
I understand how validation works when extending ActionSupport - but my
classes extend a POJO I created. Do you understand how validation works
when registering simple POJO's as actions? I have XML files in the same
folder that follow the naming standard "MyAction-validation.xml" a
You can switch validate=false in the struts config and call the validate
method of the form from within your action.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: 05 March 2007 11:24
To: user@struts.apache.org
Subject: Re: Actions & Valida
[EMAIL PROTECTED] wrote:
I want to leverage the validation support via XML file and my actions are
POJOs that do not extend ActionSupport. How do I determine from within my
action if the validation failed? My POJO actions have specific method
names
that are being requested via wildcard mapping
I want to leverage the validation support via XML file and my actions are
POJOs that do not extend ActionSupport. How do I determine from within my
action if the validation failed? My POJO actions have specific method names
that are being requested via wildcard mappings and therefore may not con
7 matches
Mail list logo