och, 17. April 2024 07:24
> An: 'Struts Users Mailing List'
> Betreff: AW: Struts2 Validator failing constructor call
>
> Sure. I will try to figure out when it started to fail.
>
> -Ursprüngliche Nachricht-
> Von: Lukasz Lenart
> Gesendet: Mittwoch, 17. April 202
/ff19dfee6f99f1650fc0c2484407d4ed75c2635e
-Ursprüngliche Nachricht-
Von: s.go...@inform-technology.de
Gesendet: Mittwoch, 17. April 2024 07:24
An: 'Struts Users Mailing List'
Betreff: AW: Struts2 Validator failing constructor call
Sure. I will try to figure out when it started to fail
Sure. I will try to figure out when it started to fail.
-Ursprüngliche Nachricht-
Von: Lukasz Lenart
Gesendet: Mittwoch, 17. April 2024 06:35
An: Struts Users Mailing List
Betreff: Re: Struts2 Validator failing constructor call
pt., 12 kwi 2024 o 09:57 napisał(a):
>
> Ou
pt., 12 kwi 2024 o 09:57 napisał(a):
>
> Our path was 2.3.4.1 -> 2.3.24.1 -> 2.5.xx (2, 26, 30) -> 6.0.0 -> 6.1.1 ->
> 6.1.2.1 -> 6.3.0.2 (but I left out some minor upgrades)
> Currently we are in OpenJDK 17.
And the problem started with 6.3.0.2? Could you revert to 6.2.0 and
check if
icht-
Von: Lukasz Lenart
Gesendet: Freitag, 12. April 2024 09:07
An: Struts Users Mailing List
Betreff: Re: Struts2 Validator failing constructor call
pt., 12 kwi 2024 o 08:19 napisał(a):
>
> Sorry for missing the Struts version. We are on 6.3.0.2 and can't wait to
> move on to 7 alon
pt., 12 kwi 2024 o 08:19 napisał(a):
>
> Sorry for missing the Struts version. We are on 6.3.0.2 and can't wait to
> move on to 7 along with JDK 21
Did you migrate from 6.2 recently? And what Java version do you use?
Cheers
Lulasz
workaround.
Here is the relevant part of the validation config file:
http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd;>
... more validators here ...
... more validators here ...
We are us
czw., 11 kwi 2024 o 17:07 napisał(a):
> I have a 10 year old struts2 web application that uses validation with rules
> defined in XML files.
Do you try to migrate to the latest version? What version do you use?
> One of these instantiates a java.util.Date to compare the the value of a bean
>
Hi group!
I have a 10 year old struts2 web application that uses validation with rules
defined in XML files.
One of these instantiates a java.util.Date to compare the the value of a bean
with the current date:
( employee.birthday == null || employee.birthday.before(new
nt: Thursday, March 14, 2019 5:42 PM
>To: user@struts.apache.org
>Subject: No Form Found under '' in locale 'en_CA'. A Form Must be defined in
>the
>Commons Validator configuration...
>
>Morning,
>
>I am running into an issue, first let me give you a high level of the pr
Morning,
I am running into an issue, first let me give you a high level of the problem.
Main Site: When accessing website users are able to click a button which will
trigger a series of Strut actions and take that user to a confirmation page.
Everything works as it should.
Now our new
ed beans and I can
> `inject` ( or `autowire`) other beans in them.
>
> This validator is working fine which shows the validator is an spring bean:
>
> public class MyValidator(){
>
> @javax.inject.Inject
> private HelperClass aHelperClass;
> }
&
We are using Struts 2.5 and spring 4. The struts is configured spring as
mentioned in https://struts.apache.org/docs/spring-and-struts-2.html.
The struts `actions` and `validators` are spring managed beans and I can
`inject` ( or `autowire`) other beans in them.
This validator is working fine
Obviously I am speaking to other users as is the case for me, do not have too
much knowledge of the use of these functions. Not to the Struts
conceptors.;-)Be carreful, double equal sign is good for comparaison,...
Le Mercredi 21 octobre 2015 16h15, Chris a écrit :
Hi,Thank, It works with fieldexpression.
I tried this :
personBean.over21
You must be 21 or older
Be carreful, double egal sign is good for comparaison, but only one egal sign
is an affectation !
= = = = = = = = = = = = = = = = = = = = = = = = = = =
I
ns
to give user to make a choice when agree/disagree or 21 or older. Regards,
chris
Le Mercredi 21 octobre 2015 11h53, Lukasz Lenart <lukaszlen...@apache.org>
a écrit :
2015-10-21 10:41 GMT+02:00 Chris <christal...@yahoo.fr>:
> Struts 2.5 BETA2 / form-xml-validation sa
2015-10-21 12:22 GMT+02:00 Chris :
> Hi,
>
> I don't know what PRs means. :-)
PR means Pull Request on GitHub - a change from some other user
> I already tried "required" with checkbox, but it doesn't work.
>
> personBean.over21
> You must be 21 or
2015-10-21 10:41 GMT+02:00 Chris <christal...@yahoo.fr>:
> Struts 2.5 BETA2 / form-xml-validation sample / boolean validator /
>
> Hello,
> https://github.com/apache/struts-examples/blob/master/form-xml-validation/src/main/webapp/edit.jsp
> The edit.jsp file contains this
Struts 2.5 BETA2 / form-xml-validation sample / boolean validator /
Hello,
https://github.com/apache/struts-examples/blob/master/form-xml-validation/src/main/webapp/edit.jsp
The edit.jsp file contains this line
but the file EditAction-validation.xml doesn't contain a validation
Hi,
1 - When you wrote select box, did you mean drop-down list ?
Because drop-down list are not exactly input fields. The user can't write
something he wants. Could you please give examples ?
2 - Why don't you use validator type=requiredstring like in
EditAction-validation.xml ?
3 - If you
i have a select box. by defualt it submits -1. I want to write a
validation using regex tosay the selection is mandatory. I have written the
validator in the following way but it is not working. Please help.
field-validator type=regex
param name=regex![CDATA[[1-9]{1,3}]]/param
Why use a regex for what appears to be a number?
On Dec 27, 2014 5:36 AM, Yaragalla Muralidhar yaragallamur...@gmail.com
wrote:
i have a select box. by defualt it submits -1. I want to write a
validation using regex tosay the selection is mandatory. I have written the
validator
Number is fine Dev. But regex validator has to work right. i worked with it
before. Now it is not working. I want to make it work.
*Thanks and Regards,*
Muralidhar Yaragalla.
*http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*
On Sat, Dec 27, 2014 at 6:37 PM, Dave Newton davelnew
On Sat, Dec 27, 2014 at 7:23 AM, Yaragalla Muralidhar
yaragallamur...@gmail.com wrote:
validator in the following way but it is not working. Please help.
Define not working.
--
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton
b: Bucky Bits
g: davelnewton
so: Dave
Hi Dave,
when -1 is getting submited it has to display error msg which is
not getting displayed. successfully moving to the next page. It is not
moving to the input page even.
Now i have changed the validator to int so everything is working fine.
but i need regex validator to work even
is
not getting displayed. successfully moving to the next page. It is not
moving to the input page even.
Now i have changed the validator to int so everything is working fine.
but i need regex validator to work even for further validations.
*Thanks and Regards,*
Muralidhar Yaragalla.
*http
i have changed my validator from required to requiredstring and i am
getting the following error. before changing everything is working fine.
what could be the problem?
Dec 26, 2014 2:22:05 PM org.apache.catalina.core.ApplicationDispatcher
invoke
SEVERE: Servlet.service() for servlet jsp threw
in production and we’ve found
that the client-side XML email validator always fails in the iOS 7.1 Safari
browser. We haven’t tested it iOS 8 yet. However, removing the email
validation from the following XML solved the problem.
field name=user.email
field-validator type=email
2014-10-11 4:20 GMT+02:00 John Boyer j...@rodaxsoft.com:
Hi All:
We’re using the latest version of Struts 2 in production and we’ve found that
the client-side XML email validator always fails in the iOS 7.1 Safari
browser. We haven’t tested it iOS 8 yet. However, removing the email
Hi All:
We’re using the latest version of Struts 2 in production and we’ve found that
the client-side XML email validator always fails in the iOS 7.1 Safari browser.
We haven’t tested it iOS 8 yet. However, removing the email validation from the
following XML solved the problem.
field name
This is the regex for email validation in Struts:
\\b^['_a-z0-9-\\+]+(\\.['_a-z0-9-\\+]+)*@[a-z0-9-]+(\\.[a-z0-9-]+)\*
\.([a-z]{2}|aero|arpa|asia|biz|com|coop|edu|gov|info|int|jobs|mil|mobi|
museum|name|nato|net|org|pro|tel|travel|xxx)$\\b
I had a report of this failing for a user with an umlaut
I looked up the RFC. The document lists itself as a proposed standard [1]
so it's not really available yet for general use (but correct me if wrong).
I propose that an enhancement should be made in JIRA to handle this.
[1] http://tools.ietf.org/html/rfc6531
Cheers,
Paul
On Mon, Aug 25, 2014
I have added it to the JIRA -
https://issues.apache.org/jira/browse/WW-4389
I can't seem to find the actual standard though (i.e., the one in place
that essentially doesn't allow these characters). For documentation
purposes, does anyone know what effective standard disallows these
characters?
http://tools.ietf.org/html/rfc2822
IIRC http://tools.ietf.org/html/rfc2047 discusses non-0-127 chars in
headers, I'm not sure if that extends to addresses.
The bottom line is that any realistic email regex will miss a lot of edge
cases, and some fairly normal use cases as well. Email regexes are
Note: I pasted the wrong JIRA issue. The correct one is:
https://issues.apache.org/jira/browse/WW-4395
On Mon, 2014-08-25 at 12:22 -0400, Dave Newton wrote:
http://tools.ietf.org/html/rfc2822
IIRC http://tools.ietf.org/html/rfc2047 discusses non-0-127 chars in
headers, I'm not sure if that
It's impossible to generalize if the developer wants ASCII characters or
Unicode characters in email validation. A switch is obviously mandated.
However, for Unicode characters, this can be easily solved by using the \w
switch (word characters), I believe, as a replacement for the typical
2014-08-25 18:27 GMT+02:00 Miguel Almeida mig...@almeida.at:
Note: I pasted the wrong JIRA issue. The correct one is:
https://issues.apache.org/jira/browse/WW-4395
But you can simple override default pattern with regex or
regexExpression param (don't use both)
validator type=regex
param name
Thanks for the informations
De : Lukasz Lenart lukaszlen...@apache.org
À : Struts Users Mailing List user@struts.apache.org
Envoyé le : Jeudi 19 septembre 2013 7h59
Objet : Re: validator type=regex : param name is regex , not expression
Sometime ago
---
Done, thanks for reporting!
https://cwiki.apache.org/confluence/display/WW/Form+Validation+Using+XML
2013/9/16 Chris
Hi Lukasz,
Good example of regex in
http://struts.apache.org/development/2.x/docs/form-validation-using-xml.html
,
and choose between JavaScript validator or Java
---
Done, thanks for reporting!
https://cwiki.apache.org/confluence/display/WW/Form+Validation+Using+XML
2013/9/16 Chris
Hi Lukasz,
Good example of regex in
http://struts.apache.org/development/2.x/docs/form-validation-using-xml.html
,
and choose between JavaScript validator or Java
Hi Lukasz,
Good example of regex in
http://struts.apache.org/development/2.x/docs/form-validation-using-xml.html ,
and choose between JavaScript validator or Java validator will be another
story .;-)
but the file EditAction-validation.xml seems contain a wrong value.
.
I found
validator or Java validator will be another
story .;-)
but the file EditAction-validation.xml seems contain a wrong value.
.
I found it in testing PhoneNumber with many wrong values and it always worked
!
I thought maybe a jar is missing ?
But it was the param name in the file EditAction
https://issues.apache.org/jira/browse/WW-4198
On Tue, Sep 10, 2013 at 5:09 AM, Lukasz Lenart lukaszlen...@apache.orgwrote:
2013/9/5 Bruno Klava bkl...@gmail.com:
Hi folks,
in Struts 2.3.15 the form-close-validate.ftl template was updated to use
the regex field, but there is no such
2013/9/5 Bruno Klava bkl...@gmail.com:
Hi folks,
in Struts 2.3.15 the form-close-validate.ftl template was updated to use
the regex field, but there is no such field in
com.opensymphony.xwork2.validator.annotations.UrlValidator neither a
default value for it
in
Hi folks,
in Struts 2.3.15 the form-close-validate.ftl template was updated to use
the regex field, but there is no such field in
com.opensymphony.xwork2.validator.annotations.UrlValidator neither a
default value for it
in com.opensymphony.xwork2.validator.validators.URLValidator (like is done
in
Hi:
Suddenly, in-production, we're getting file-not-found errors for the
xwork-validator-1.0.2.dtd at http://www.opensymphony.com/xwork.
How can resolve this problem? We're running Struts 2 v2.3.4.1
Thanks, John
-
10:01:18 ERROR http-8443-1
-validator-1.0.2.dtd at http://www.opensymphony.com/xwork.
How can resolve this problem? We're running Struts 2 v2.3.4.1
Thanks, John
-
10:01:18 ERROR http-8443-1
com.opensymphony.xwork2.validator.AnnotationActionValidatorManager - Caught
Hi Martin:
Okay, but my validation XML is pointing to
http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd, which is no longer
available. What should it point to now?
Thanks, John
---
?xml version=1.0 encoding=UTF-8?
!DOCTYPE validators PUBLIC -//OpenSymphony Group
Hi John
xwork-validator-1.0.2.dtd *should* be in xwork-core-version.jar
jar -tvf xwork-version.jar | grep xwork-validator
?
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich
use this
!DOCTYPE validators PUBLIC
-//Apache Struts//XWork Validator 1.0.2//EN
http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd;
--
Regards
Srikanth
On Wed, Aug 7, 2013 at 11:06 PM, John Boyer j...@rodaxsoft.com wrote:
Hi Martin:
Okay, but my
I don't know if it's the latest, but
http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd appears to work.
(*Chris*)
On Wed, Aug 7, 2013 at 10:36 AM, John Boyer j...@rodaxsoft.com wrote:
Hi Martin:
Okay, but my validation XML is pointing to
http://www.opensymphony.com/xwork/xwork
Hi Srikanth:
That fixed it. Thank you!
John
On Aug 7, 2013, at 10:41 AM, Sreekanth S. Nair
sreekanth.n...@egovernments.org wrote:
use this
!DOCTYPE validators PUBLIC
-//Apache Struts//XWork Validator 1.0.2//EN
http://struts.apache.org/dtds/xwork-validator
I dont know which DTD reference in which validator.xml is going fubar
assume the dtd is co-located in same folder where Login-validation.xml is
located at
/pathToLoginValidationXML/xwork-validator-1.0.2.dtd
you would need to change the http protocol to file protocol in the specified
filed to be an integer with minimum value of
1
I describe the field type as Integer (not int )
Add below validation rule
field name=amount
field-validator type=required
message ${getText(validate.required)}/message
/field-validator
field-validator
: Re: Int Validator
The field value error comes from the type conversion process. The field
should be an int or an Integer, with the caveat that an int has a default
value of 0, which may not be desirable.
Save
On Jul 12, 2013 11:56 PM, Alireza Fattahi afatt...@yahoo.com wrote:
Hi,
I want
Hi,
I want to validate the amount filed to be an integer with minimum value of 1
I describe the field type as Integer (not int )
Add below validation rule
field name=amount
field-validator type=required
message ${getText(validate.required)}/message
/field
=fieldError.required, message = *)
@EmailValidator (key=fieldError.emailFormat, message=*)
public void setEmail(String email) {
getUser().setEmail(email);
}
My bean receives data but validators stop to function, so I receive bad
validation messages
Does validator need a getter (not present also
Hi, the goal that I'm trying to reach is to reduce the number of variables
and method into the Struts action to improve code readability and
maintainability.
I'm using hibernate, so I could obtain a good synergy if i can set value
coming from parameters directly into the hibernate model bean,
(email);
}
My bean receives data but validators stop to function, so I receive bad
validation messages
Does validator need a getter (not present also in the first release) or use
reflection on local variables to check data?
How can I implement my new data model in Struts2
dependency
I have to add checking each and every form field in my application for
sql injection attacks (I need a method that will return a boolean false
if any character that is typically used in sql injection is found).
Each of my form classes has a validator() method. I was thinking of
creating my
application for sql
injection attacks (I need a method that will return a boolean false if any
character that is typically used in sql injection is found).
Each of my form classes has a validator() method. I was thinking of
creating my own abstract form class
public abstract MyBaseForm() extends
that will return a boolean false if any
character that is typically used in sql injection is found).
Each of my form classes has a validator() method. I was thinking of
creating my own abstract form class
public abstract MyBaseForm() extends DynaValidatorForm {
public boolean validateSQL
), that I want to move away from using
MyForm.java / validator() method to declarative form validation using
Apache Commons Validator project but have toiled and toiled to get it to
work.
Any help would be greatly appreciated.
thanks
J.V
a working example where YourAction.java extends Action
and this action uses YourForm.java where DynaValidatorActionForm is used?
I have an app (Struts 1.3), that I want to move away from using
MyForm.java / validator() method to declarative form validation using
Apache Commons Validator project
=error.validation.password/
/field
/form
--
View this message in context:
http://struts.1045723.n5.nabble.com/DynaValidatorActionForm-using-Apache-Commons-Validator-project-tp5712255p5712258.html
Sent from the Struts - User mailing list archive at Nabble.com
As I said, DynaValidatorActionForm validates by looking for the matching
URI in the Struts Config. If you want to continue using that superclass,
your Validator XML contents must change to this:
form name=/your_context/your_executing_action
Otherwise, switch your base class to DynaValidatorForm
,
your Validator XML contents must change to this:
form name=/your_context/your_executing_action
Otherwise, switch your base class to DynaValidatorForm and keep your
Validator XML contents as-is.
Paul
On Thu, Mar 21, 2013 at 3:57 PM, J.V. jvsr...@gmail.com wrote
I am not sure I understand.
--
View this message in context:
http://struts.1045723.n5.nabble.com/DynaValidatorActionForm-using-Apache-Commons-Validator-project-tp5712255p5712261.html
Sent from the Struts - User mailing list archive at Nabble.com
Given my struts-config.xml entry in the previous post: what is the
validator-users.xml entry supposed to look like? In other words what is
wrong with my validator-users.xml file such that what is needed to be
changed to get this to work?
thanks for all the help.
--
View this message
Struts looks for the Validator configuration based on a key. The key is
selected by the form. The key can either be the URI
(DynaValidatorActionForm) or the Form Name (DynaValidatorForm).
Your config file is obviously using bean names:
form name=loginFormBean
So you need the correct Form
/maurizio.cucchiara?r=maurizio.cucchiara
Maurizio Cucchiara
On 19 March 2013 08:31, Muralidhar Yaragalla java.yaraga...@gmail.com wrote:
Hi I am defining a reg which is valid in java. The regex is [^]+. But
when i use this with regex validator it displays error. The error is It
should consist
=maurizio.cucchiara
Maurizio Cucchiara
On 19 March 2013 08:31, Muralidhar Yaragalla java.yaraga...@gmail.com
wrote:
Hi I am defining a reg which is valid in java. The regex is [^]+. But
when i use this with regex validator it displays error. The error is It
should consist well formed
2013/3/19 Muralidhar Yaragalla java.yaraga...@gmail.com:
I tried with what you suggested. This gives different problem. I don't
think we should think about cdata and all. regex means it should be just
regex.
You should think about taking some XML experience - CDATA has nothing
to do with
Basically i want use regular expressions in validators. xml experience is
fine but why sould i learn dtd syntax to write simple regex for regex
validator? Anyways the suggested regex with cdata by another user is also
not working. so any help on writing regex for regex validator which is
equalent
for regex
validator? Anyways the suggested regex with cdata by another user is also
not working. so any help on writing regex for regex validator which is
equalent to [^] this , (which is also valid for most of the regex
engines including java.) will be appreciated. Thanks in advance.
On Tue, Mar
2013/3/19 Muralidhar Yaragalla java.yaraga...@gmail.com:
Basically i want use regular expressions in validators. xml experience is
fine but why sould i learn dtd syntax to write simple regex for regex
validator? Anyways the suggested regex with cdata by another user is also
not working. so any
If i pass ![CDATA[[^]+]] in the xml file to the regex validator the
xml file is not generating any error but then the input is allowing the
and characters. That means still there is problem. Any help on this?
On Tue, Mar 19, 2013 at 4:59 PM, Lukasz Lenart lukaszlen...@apache.orgwrote:
2013/3
2013/3/19 Muralidhar Yaragalla java.yaraga...@gmail.com:
If i pass ![CDATA[[^]+]] in the xml file to the regex validator the
xml file is not generating any error but then the input is allowing the
and characters. That means still there is problem. Any help on this?
Maybe the problem
I tried but it shows up the earlier problem. (formatted character data)
On Tue, Mar 19, 2013 at 5:45 PM, Lukasz Lenart lukaszlen...@apache.orgwrote:
2013/3/19 Muralidhar Yaragalla java.yaraga...@gmail.com:
If i pass ![CDATA[[^]+]] in the xml file to the regex validator the
xml file
The regex that i am trying works in java and also works with most regex
engines but that is not working with regex validator.
On Tue, Mar 19, 2013 at 5:45 PM, Lukasz Lenart lukaszlen...@apache.orgwrote:
2013/3/19 Muralidhar Yaragalla java.yaraga...@gmail.com:
If i pass ![CDATA
2013/3/19 Muralidhar Yaragalla java.yaraga...@gmail.com:
I tried but it shows up the earlier problem. (formatted character data)
Did you put it inside CDATA block? You must use CDATA as and are
xml specific characters.
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/3/19 Muralidhar Yaragalla java.yaraga...@gmail.com:
The regex that i am trying works in java and also works with most regex
engines but that is not working with regex validator.
RegexFieldValidator uses java.util.regex.Pattern internally, try to
increase logging level to DEBUG
Now I tried ![CDATA[^[]+]] this. when I did this the xml file does
not show any error but the problem is validation does not happen.
On Tue, Mar 19, 2013 at 7:51 PM, Lukasz Lenart lukaszlen...@apache.orgwrote:
2013/3/19 Muralidhar Yaragalla java.yaraga...@gmail.com:
I tried but it shows up
2013/3/19 Muralidhar Yaragalla java.yaraga...@gmail.com:
Now I tried ![CDATA[^[]+]] this. when I did this the xml file does
not show any error but the problem is validation does not happen.
Ok, but what value did you try to enter into the field? Do you use
s:actionerror/ / s:fielderror/ tag? or
works with most regex
engines but that is not working with regex validator.
RegexFieldValidator uses java.util.regex.Pattern internally, try to
increase logging level to DEBUG for it and you should see in the log
the regexp it tries to use:
Defined regexp as [#0]
Regards
--
Łukasz
2013/3/19 Muralidhar Yaragalla java.yaraga...@gmail.com:
Do u want me to change the application log4j level to debug or is there
anything that i should do in struts?
log4j
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Hi I am using s:fielderror/ in my jsp. The value that i entered in the
field is hjghj(without quotes).
On Tue, Mar 19, 2013 at 8:22 PM, Lukasz Lenart lukaszlen...@apache.orgwrote:
2013/3/19 Muralidhar Yaragalla java.yaraga...@gmail.com:
Now I tried ![CDATA[^[]+]] this. when I did this the
2013/3/19 Muralidhar Yaragalla java.yaraga...@gmail.com:
Hi I am using s:fielderror/ in my jsp. The value that i entered in the
field is hjghj(without quotes).
So everything is ok, hjghj matches ^[]+ and there is no error.
http://regexp.pl/main/show/182003
Regards
--
Łukasz
+ 48 606 323 122
Then i tried jhbkkjnklj this but no validation.
when i press the submit button of the form the following log is being
generated on the server
2013-03-19 20:48:49 DEBUG cache:81 -
template/xhtml/fielderror.ftl[en_US,UTF-8,parsed] no source found.
2013-03-19 20:48:49 DEBUG cache:81 -
2013/3/19 Muralidhar Yaragalla java.yaraga...@gmail.com:
Then i tried jhbkkjnklj this but no validation.
when i press the submit button of the form the following log is being
generated on the server
2013-03-19 20:48:49 DEBUG cache:81 -
template/xhtml/fielderror.ftl[en_US,UTF-8,parsed] no
I have added the following to log4j
log4j.logger.com.opensymphony.xwork2.validator.validators=debug
But it doe not print anything on console. The logger was set for console
and for file.(both appenders)
On Tue, Mar 19, 2013 at 8:56 PM, Lukasz Lenart lukaszlen...@apache.orgwrote:
2013/3/19
I'm pretty sure you can't use CDATA inside an attribute value. Have you
tried: [^lt;gt;]
(*Chris*)
On Tue, Mar 19, 2013 at 8:52 AM, Muralidhar Yaragalla
java.yaraga...@gmail.com wrote:
I have added the following to log4j
log4j.logger.com.opensymphony.xwork2.validator.validators=debug
It's not an attribute value, it's an element's content.
On Tue, Mar 19, 2013 at 3:00 PM, Chris Pratt thechrispr...@gmail.comwrote:
I'm pretty sure you can't use CDATA inside an attribute value. Have you
tried: [^lt;gt;]
(*Chris*)
On Tue, Mar 19, 2013 at 8:52 AM, Muralidhar Yaragalla
My bad, but the [^lt;gt;] should still work.
(*Chirs*)
On Tue, Mar 19, 2013 at 12:06 PM, Dave Newton davelnew...@gmail.com wrote:
It's not an attribute value, it's an element's content.
On Tue, Mar 19, 2013 at 3:00 PM, Chris Pratt thechrispr...@gmail.com
wrote:
I'm pretty sure you
Hi Chris, I tried with the regex that you suggested but it did not work.
any way i am fed up understanding that validator so i have written my own
and it works fine. Thanks all of you for helping me.
On Wed, Mar 20, 2013 at 12:30 AM, Chris Pratt thechrispr...@gmail.comwrote:
I'm pretty sure
with the regex that you suggested but it did not work.
any way i am fed up understanding that validator so i have written my own
and it works fine. Thanks all of you for helping me.
On Wed, Mar 20, 2013 at 12:30 AM, Chris Pratt thechrispr...@gmail.com
wrote:
I'm pretty sure you can't use CDATA
Nothing works. I am not sure why? but then I am good with my custom
validator for regex. One note is that xwork classes dont use log4j for
logging.
On Wed, Mar 20, 2013 at 2:09 AM, Paul Benedict pbened...@apache.org wrote:
[^lt;gt;] means any character that is not the angled brackets
When the validator isn't working, it could signify none of your validation
is working. Have you tried the required-string validator or anything else
is working?
Paul
On Tue, Mar 19, 2013 at 3:49 PM, Muralidhar Yaragalla
java.yaraga...@gmail.com wrote:
Nothing works. I am not sure why
Hi, All the other validators are working fine except regex.
On Wed, Mar 20, 2013 at 2:21 AM, Paul Benedict pbened...@apache.org wrote:
When the validator isn't working, it could signify none of your validation
is working. Have you tried the required-string validator or anything else
pbened...@apache.org
wrote:
When the validator isn't working, it could signify none of your
validation
is working. Have you tried the required-string validator or anything
else
is working?
Paul
On Tue, Mar 19, 2013 at 3:49 PM, Muralidhar Yaragalla
java.yaraga...@gmail.com wrote
1 - 100 of 1759 matches
Mail list logo