I found a solution and mad an example app.
You can show it here:
https://www.fentool.de/dwr/
The source and description are here:
https://gitlab.com/gpaulab-public/struts-dwr-validate-example
I hope it's useful
Best wishes
Guenter
--
In a second step Iried to use the DWR-method. The app example is simple.
But using the class DWRValidator break:
Dispatcher du = Dispatcher.getInstance();
The Dispatcher is NULL and I can't find the problem.
Perhaps somebody has a solution?
---
I think the class "org.apache.struts2.validators.DWRValidator" will not works
so I try another way. I found a solution, maybe we can use it?
I found a good example using dwr here:
https://www.jitendrazaa.com/blog/java/jsp/step-by-step-dwr-application-simple-ajax-in-java/
What is to do:
- for usi
pon., 25 sty 2021 o 12:38 Guenter Paul
napisał(a):
> DWR valdiation looks fine. Is there any small example? If not, I will try it
> by myself and try to use it. After I would try to use URL- and
> EMail-Validation.
You can check the Showcase app, there should be an example how to use
it. You ca
DWR valdiation looks fine. Is there any small example? If not, I will try it by
myself and try to use it. After I would try to use URL- and EMail-Validation.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For add
niedz., 17 sty 2021 o 15:18 Guenter Paul
napisał(a):>
> I'm not sure. Perhaps a solution with Ajax is possible?
Maybe we should drop support for Client Side Validation in case of
EmailValidator - just in case of pure JS. The Ajax/DWR valdiation
should be used instead.
https://struts.apache.org/c
I'm not sure. Perhaps a solution with Ajax is possible?
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
pt., 15 sty 2021 o 16:21 Guenter Paul
napisał(a):
>
> OK, client validation is a problem, that's true. I don't use it, but yes,
> it's usefull.
>
> I found punycode for that:
> https://github.com/bestiejs/punycode.js
>
> It's MIT-licence, I'm not sure we can use it for standard.
>
> I'm not reall
OK, client validation is a problem, that's true. I don't use it, but yes, it's
usefull.
I found punycode for that:
https://github.com/bestiejs/punycode.js
It's MIT-licence, I'm not sure we can use it for standard.
I'm not really good in javascript, but I can it to write my own decoder. The
bet
czw., 14 sty 2021 o 16:25 Günter Paul
napisał(a):
>
> In Germany we can use domaine-names like "münchen.de".
> The struts validators URLValidator and EmailIdnValidator can't handle such
> name with umlaut.
> The domaine is valide but not for the validator.
>
> Is it possible to change this behavi
In Germany we can use domaine-names like "münchen.de".
The struts validators URLValidator and EmailIdnValidator can't handle such name
with umlaut.
The domaine is valide but not for the validator.
Is it possible to change this behavior?
I overwrite the classes and it works for me.
But I think it
how to validate url and phone in struts give sample code
--
View this message in context:
http://www.nabble.com/how-to-validate-url-and-phone-tf3503923.html#a9785700
Sent from the Struts - User mailing list archive at Nabble.com
B-INF/validator-rules.xml,/WEB-INF/validation.xml" />
>
>
>
> -Mensaje original-
> De: Ben [mailto:[EMAIL PROTECTED]
> Enviado el: jueves, 10 de noviembre de 2005 8:14
> Para: Struts
> Asunto: Validate url
>
>
> Hi
>
> I followed the Struts User
In the file struts-config.xml
Do you have ??
-Mensaje original-
De: Ben [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 10 de noviembre de 2005 8:14
Para: Struts
Asunto: Validate url
Hi
I followed the Struts User's Guide to setup the form so that it
validates the URL
Hi
I followed the Struts User's Guide to setup the form so that it
validates the URL when the user submits the form. I use the following
validation settings for the URL field.
schemes
http,https
No matter what I put in the field, it alwa
15 matches
Mail list logo