All,
this may be somewhat OT, but it may be worth a short discussion (though this
message is pretty long) :)
We're using Struts (of course!) as part of a J2EE architecture that also
includes EJB. To clearly separate the validation processes, we use the
Struts Validator to perform the "first-leve
Hello,
I've been using the Struts Validator (nightly build of November) with no
problems for a few months (great work!).
Now I need to call the validation method of a specific "nested form" based
on a condition:
ParentForm
+useChild: boolean
+getChildForm:ChildForm
If useChild returns true, I
Hi All,
after reading a lot about problems related to mapping an ActionForm (somehow
a "set of String properties mapping the data on the Presentation layer") to
more business-oriented objects (Value Objects for example), I've written a
simple "mapper" that will allow you to:
- keep 'em separated
Hello All,
I'm trying to use the Struts validator but it doesn't seem to be working in
my - relatively common - case.
I have a modify.jsp page that is displayed upon calling
/modifyAction?command=init (using the DispatchAction). No validation must be
performed at this point. The user then enters
Hello,
I just wanted to post this message as I've wasted 2 hours trying to
understand what was wrong and I finally got it. There have been many
messages related to using Javascript to submit to different actions so I
hope someone will find the following useful.
* Situation (that generates an ERR
Ted,
thanks for your answer.
I understand your idea of "initial validation". And I also agree with
"Generally, objects should have dominion over their own data". But in the
case of the validation process, IMHO the bean is the data used by a
potentially external validation process (and not vice-v