I like the jexl el validator. What is holding that patch up?
Don
Niall Pemberton wrote:
I'm not convinced that validwhen is\was such a great replacement for
requiredif. I think it has caused as much confusion as requiredif did Maybe
the EL Validator thats been proposed will be better and we should hold off
removing requiredif until thats available as a replacement:
http://issues.apache.org/bugzilla/show_bug.cgi?id=34849
Niall
----- Original Message -----
From: "Martin Cooper" <[EMAIL PROTECTED]>
Sent: Monday, August 29, 2005 2:57 AM
On 8/28/05, Don Brown <[EMAIL PROTECTED]> wrote:
Is requiredif deprecated? The documentation [1] indicates it is,
however, I can see no evidence of that in the source code. In
particular, the validateRequiredIf() method of o.a.s.v.FieldChecks
hasn't been marked as such.
It looks like James Turner deprecated it (or intended to) in April 2003:
http://marc.theaimsgroup.com/?l=struts-dev&m=105042119528289&w=2
but as you've observed, the deprecation only happened in the docs and
not the code.
If we're all happy with validwhen as the replacement, we should get
rid of the requiredif code, IMO. I'm not sure we need to go through
the process of deprecating the source for another release before we do
that.
--
Martin Cooper
Whatever it is, we should at least be consistent about it.
Don
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]