Re: Password comparison has a strange behavior.please help(struts2)

2011-04-12 Thread Dave Newton
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

Password comparison has a strange behavior.please help(struts2)

2011-04-12 Thread alex zaim
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

Re: Help Struts2 + interceptor

2010-07-14 Thread Paweł Wielgus
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

Re: Help Struts2 + interceptor

2010-07-13 Thread Fabio Alves de Araujo Ebner - DnaSolution
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

Re: Help Struts2 + interceptor

2010-07-13 Thread JP Cafaro
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

Re: Help Struts2 + interceptor

2010-07-12 Thread Fabio Alves de Araujo Ebner - DnaSolution
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

Re: Help Struts2 + interceptor

2010-07-12 Thread JP Cafaro
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

Re: Help Struts2 + interceptor

2010-07-12 Thread Fabio Alves de Araujo Ebner - DnaSolution
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

Re: Help Struts2 + interceptor

2010-07-12 Thread JP Cafaro
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

Help Struts2 + interceptor

2010-07-12 Thread Fabio Alves de Araujo Ebner - DnaSolution
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";>

Help Struts2

2010-06-17 Thread Fabio Alves de Araujo Ebner - DnaSolution
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

Re: help: struts2 validators doesn't work in java 1.6

2009-07-22 Thread Wes Wannemacher
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

help: struts2 validators doesn't work in java 1.6

2009-07-21 Thread gwen harold autencio
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

Re: [Help]: Struts2 List object validation

2008-11-24 Thread EoneZhang
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

Re: [Help]: Struts2 List object validation

2008-11-24 Thread Burton Rhodes
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. >

Re: [Help]: Struts2 List object validation

2008-11-24 Thread Dave Newton
--- 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

[Help]: Struts2 List object validation

2008-11-24 Thread EoneZhang
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

RE: HELP!!! Struts2 bugs? DoubleSeclect tag with default values

2008-11-10 Thread Jipu Jiang
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