Interesting.
My first comment would be that client side validation doesn't support
expression validations; only the following are supported as per [1].
* required validator
* requiredstring validator
* stringlength validator
* regex validator
* email validator
* url validator
* int validator
* do
hello. I'm trying to register a user but what i'm testing is validations.
The
problem i have is the password comparison. When i want to compare the
two password fields everything gets messed-up (and it also calls an
actionclass even though it's client side validation). Please see the
screen sho
Hi all,
You can try this way:
http://poulwiel.blogspot.com/2009/01/intercepting-all-actions-inside-my-app.html
Best greetings,
Paweł Wielgus.
2010/7/13 Fabio Alves de Araujo Ebner - DnaSolution
:
> The problem is: When he pass through interceptor and go to action
> "cadastrarOrdemServico" my va
The problem is: When he pass through interceptor and go to action
"cadastrarOrdemServico" my var cdProjetoOS are set with null :(
thanks, follow my all code:
CLASS LoginClienteInterceptor .java
---
package br.com.dnasolution.site.interceptor;
im
I'm fairly new to this myself so maybe someone else can jump in. First
things first, put a print statement in the intercept methods of your
interceptors so you at least know if the interceptor is even getting
called.
Secondly, I didn't ever use a line like this:interceptorRefs = {
@Intercept
Hey man, this is my structure
MY ACTION
package br.com.dnasolution.site.action;
/** import **//
@ParentPackage("my-secure")
public class OrdemServicoAction {
@Action(value = "cadastrarOrdemServico", results = {...@result(name = "valido",
location = "/jsp/ordemservico/cadastro_sucesso.jsp
ion wrote:
so i put in my aciotn
ParentPackage("loginClienteAndUsuario")
and i got the same problem
- Original Message - From: "JP Cafaro"
To: "Struts Users Mailing List"
Sent: Monday, July 12, 2010 2:18 PM
Subject: Re: Help Struts2 + interceptor
The
so i put in my aciotn
ParentPackage("loginClienteAndUsuario")
and i got the same problem
- Original Message -
From: "JP Cafaro"
To: "Struts Users Mailing List"
Sent: Monday, July 12, 2010 2:18 PM
Subject: Re: Help Struts2 + interceptor
The action ha
The action has to be a part of that package, it has to extend that package.
Fabio Alves de Araujo Ebner - DnaSolution wrote:
Hi, i need help to use interceptor, i create one to test if the user are logged in my application until he execute one Action, but when the server pass throw interceptor
Hi, i need help to use interceptor, i create one to test if the user are logged
in my application until he execute one Action, but when the server pass throw
interceptor and back to action, all my var are null, this is my struts.xml
http://struts.apache.org/dtds/struts-2.0.dtd";>
Hi, i'm trying to integrate Adobe Flex + Struts2 + BlazeDS Integration +
Spring but i got some problems with spring, he only works on Flex, if i
put @Autowired in one Action's Class(i put my class in package action)
i get the error: nullPointException, the Spring don't injects my class
anyon
Validation works fine for me... From looking at the exception, I would
guess that your validation file has unparseable XML. Can you post some
more information? We'll help you sort it out.
-Wes
On Wed, Jul 22, 2009 at 1:55 AM, gwen harold
autencio wrote:
> Hi
>
>
>
> Any workaround on validation o
Hi
Any workaround on validation of struts2 to work using java1.6 ?
Seems to work using java 1.5..
version : struts2-core-2.0.11.2
Getting Error 500 in page
java.lang.ExceptionInInitializerError
at
com.opensymphony.xwork2.validator.ValidatorFileParser.addValidatorConfigs(ValidatorF
But that's no related items validation, I think what should to be done in
validation method should be related items check.
anyway, it's also a good idea in my current solution. thank you
Burton:handshake:
Burton Rhodes wrote:
>
> I'm my experience it is much easier to implement Validateable i
I'm my experience it is much easier to implement Validateable in your
action object. That way you can have very complex validation rules.
Also allows you not keep track of another 'validation' file!
On 11/24/08, EoneZhang <[EMAIL PROTECTED]> wrote:
>
> Now I suffer a problem with s2' validation.
>
--- On Mon, 11/24/08, EoneZhang <[EMAIL PROTECTED]> wrote:
> in my validation config file I write like this:
>
>
>type="requiredstring">
>/>
> [...]
> It seems doesn't work.
Correct, it doesn't. At this point there's no support for collection-based
validation (that I'm aware of). Thi
Now I suffer a problem with s2' validation.
Here is my problem:
In my action,there is a property
List persons;
now in jsp, I use iterator like below:
I want to validation user input while submit the form, “name" should not
empty, and "age" must be number.
in my validation confi
Hi Felippe,
Thank you for your fast reply. I have double checked with what you have
suggested. But the problem is still here.
Regarding to the situation, the second list contains all the options
actually. If I show only the doubleselect box without default values to
show, all the options are the
18 matches
Mail list logo