e for lots of people
--
From: Andreas Lundgren <[EMAIL PROTECTED]>
Subject: SV: Insert arguments into Validator error messages?
Date: Tue, 19 Aug 2003 08:06:03 +0100
Content-Type: text/plain;
charset="iso-8859-1"
When I removed the key = "resource" attrib
I'm receiving the following exception:
line 1:30: unexpected char: '0'
at
org.apache.struts.validator.validwhen.ValidWhenLexer.nextToken(ValidWhenLexe
r.java:236)
at antlr.TokenBuffer.fill(TokenBuffer.java:69)
at antlr.TokenBuffer.LA(TokenBuffer.java:80)
at antlr.LL
EMAIL PROTECTED]
Ämne: Insert arguments into Validator error messages?
Hi,
I trying to insert an argument into a error message using the Validator
framework and I just can't make it work.
The validation itself works and it shows a nice display of my (TEST) error
message also, but the argument i
Hi,
I trying to insert an argument into a error message using the Validator
framework and I just can't make it work.
The validation itself works and it shows a nice display of my (TEST) error
message also, but the argument is somehow lost.
If I use the resource="false" attribute it works...
What
Hi Dusty, I have a similar problem as well. I'll be interested in any
replies. Out of curiosity, what are you using BigInteger for?
Adam
Dustin Sallings wrote:
Hello *,
Summary: My arguments are always showing up as null (even when its'
not a resource), but the message itself is comin
Hello *,
Summary: My arguments are always showing up as null (even when its'
not a resource), but the message itself is coming out of the resources
just fine.
I'm having a problem I'm presently unable to figure out. I've got the
following validator rules:
This is a bug in commons-validator 1.1-dev. Struts 1.1 final will ship with
validator 1.0.2 but I will fix this ASAP.
David
I upgraded to Struts 1.1 RC2 from RC1, and have began seeing the error
below
when Tomcat starts up. Any ideas as to how to fix this? Validation seems
to work just fine
I upgraded to Struts 1.1 RC2 from RC1, and have began seeing the error below
when Tomcat starts up. Any ideas as to how to fix this? Validation seems
to work just fine, but I don't like seeing messages like this.
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
Jun 11, 200
I am using Struts 1.1.3b
I am using modules (sub-application)
I am getting the following error message:
error message in jboss console -
10:37:48,706 ERROR [ValidatorForm] Resources not defined for Validator
org.apache.commons.validator.ValidatorException: Resources not defined f
Hello,
Is there a better way to wrap up the error messages returned from the
validator
framework in a css class selector?
It works 'ok' to use:
directly in my jsp, but that seems to junk up the jsp page a bit.
I don't really want to put it directly in the val
Folks,
I am getting an error using the Validator which implies a malformed reguolar
expression, however the regular expression should be ok and the validation actually
works correctly except for the error message which appears
any ideas on eliminating the error message or fixing the validat
Can anyone explain this error? The action I'm mapping the validation to
has a form with a "name" attribute which is what I'm validating so I'm
not sure why I'm getting the "no input attribute" error.
HTTP Status 500 - No input attribute for mapping path /CreateGroup
--
[EMAIL PROTECTED]
> Subject: Validator Error
>
>
> Validator (structs 1.1 B3) gives me an error with the this
> configuration in validator.xml
>
>
>
>
>
> depends="required,mask,minlength,maxlenght">
>
Validator (structs 1.1 B3) gives me an error with the this configuration
in validator.xml
mask
^\w+$
minlength
I think you may have upgraded the Commons Validator
jar, but not Struts. The SERVLET_CONTEXT_KEY was
removed from this class to try to completely separate
it from Struts and the web layer. Try using the
Commons Validator that comes in the nightly download
for the version you are using.
David
-
I am getting "500 Servlet action:unable to service request: Servlet action
threw the
exception:java.lang.NoSuchFieldError:org.apache.commons.validator.Validatior
:field SERVLET_CONTEXT_KEY not found" if I validate my screen againt 2 date
fields.
The names match on the validation.xmlfile and the
I'm not using Struts Validator, but have the same pb with
alert('') ...
To solve it, I use a javascript regexp expression :
function message(text) {
alert(text.replace(//, ""));
}
But, this is not generic ...
--
C. Bouessay
[EMAIL PROTECTED] wrote:
> Hello,
>
>
>
> How do I set up
That's a good question...I also have the same problem...hope someone has
the solution
[EMAIL PROTECTED] on 04/18/2002 08:31:47 AM
Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: Struts Validator error mes
Hello,
How do I set up Struts Validator (from David Winterfeldt) for both
server-side and client-side validation, yet not have HTML tags in the
JavaScript popup boxes? In order to get the error messages to show up
properly on the page, I need to include a formatting element like in
the resou
Hello Struts Users;
I am trying out the validator written by David Winterfeldt on Weblogic
6.1sp2.
I just copied the example war file to my weblogic application directory to
run it. But I get the below error.
Is there any configuration for BEA Weblogic 6.1 sp2. Is there any help
documentation yo
20 matches
Mail list logo