just trying to keep it light... :)

-jeff

On Thursday, August 14, 2003, at 07:29 AM, Mark Galbreath wrote:

*ouch* that's harsh, man...really harsh. :-)~

-----Original Message-----
From: Jeff Kyser [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 7:21 PM
To: Struts Users Mailing List
Subject: Re: [OT] RE: Struts Validator


Just threaten to repost [Mark's] String.length() versus array.length mixup. That ought to quiet him down for a while... :)

-jeff

On Wednesday, August 13, 2003, at 05:55 PM, Micael wrote:

I don't know about the rest of you, but I have found this approach
generally not to work.  It especially does not work on an expert at
it.  LOL.  I would use this on the quiet type, Steve.  I think that
with Mark you might find it not completely or utterly or wonderfully
successful.  But , hopefully this time it will also be fun to watch.

At 02:02 PM 8/13/2003 -0700, Steve Raeburn wrote:
Time to put up or shut up, Mark. If there are specific bugs you have
encountered with Validator, please report them via Bugzilla so they
can be addressed. (Patches would also be nice).

Failing that, why not write something yourself and donate it so we
can call
your hard work crap?

Otherwise, please give it a rest.

Steve

-----Original Message-----
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: August 13, 2003 1:41 PM
To: 'Struts Users Mailing List'
Subject: RE: Struts Validator


Validator is crap; don't waste your time.


Mark

-----Original Message-----
From: Stephen Bennett [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 11:39 AM
To: [EMAIL PROTECTED]
Subject: Struts Validator


Has anyone had any problems getting the Struts Validator to work?


I have a small sample app that works OK but cannot get my main app
to work! As far as I can see I have done everything the same as in
the
sample one.

I have noticed that when the sample app that works starts up I get
four
messages from the ValidatorPlugin the first pair mentions the
validation.xml and the validator-rules.xml then later it says
ValidatorPlugin initResources
then the previous xml messages.

With the real app that doesn't work I don't get these second
initResources
messages. I am not sure if this is significant or not, does anyone
have any ideas?

I have: -

  <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property
      property="pathnames"
      value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
  </plug-in>

in my struts-config

and

      <form name="ValidationType">
        <field
          property="code"
          depends="required">
          <arg0 key="validationCode.code"/>
        </field>
        <field
          property="constant"
          depends="required,integer">
          <arg0 key="validationCode.constant"/>
        </field>
      </form>

in my validation.xml

validator-rules.xml are default

my formbean is extending ValidatorActionForm

and my action mapping is

    <action
      path="/ValidationType"
      name="validationTypeForm"
      input="/jsp/validationtype/validationType.jsp"
      type="com.mycompany.ValidationTypeAction"
      scope="session">
      <forward name="Success" path="/jsp/success.jsp"
redirect="true"/>
<forward name="Failure" path="/jsp/failure.jsp"
redirect="true"/>
</action>

I am using Struts 1.1 with Tomcat 4.1.24 on XP

Can anyone help?

Thanks

Steve




---------------------------------------------------------------------
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]



LEGAL NOTICE


This electronic mail  transmission and any accompanying documents
contain information belonging to the sender which may be confidential
and legally privileged.  This information is intended only for the use
of the individual or entity to whom this electronic mail transmission
was sent as indicated above. If you are not the intended recipient,
any disclosure, copying, distribution, or action taken in reliance on
the contents of the information contained in this transmission is
strictly prohibited.  If you have received this transmission in error,
please delete the message.  Thank you


--------------------------------------------------------------------- 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]



---------------------------------------------------------------------
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]



Reply via email to