I have updated the example to show how validation works with !
https://github.com/lukaszlenart/struts2-dmi-validation
2013/10/2 Lukasz Lenart :
> 2013/10/1 Néstor Boscán :
>> Sorry I made that change so I could use only login in the form tag to make
>> the validation work.
>
> Ok, but you have Lo
2013/10/1 Néstor Boscán :
> Sorry I made that change so I could use only login in the form tag to make
> the validation work.
Ok, but you have LoginAction-validation.xml which should be applied to
the whole LoginAction - doesn't matter what method do you use. I have
prepared a small example base o
Sorry I made that change so I could use only login in the form tag to make
the validation work.
On Tuesday, October 1, 2013, Lukasz Lenart wrote:
> 2013/9/30 Néstor Boscán :
>>
>
> Why do you use login!login as action login is already defined to use
> login method?
>
> So login.action is the
2013/9/30 Néstor Boscán :
>
Why do you use login!login as action login is already defined to use
login method?
So login.action is the same as login!login.action (just drop .action)
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
--
I have:
struts.xml:
struts-seguridad.xml:
/WEB-INF/jsp/seguridad/login.jsp
/WEB-INF/jsp/seguridad/login.jsp
/WEB-INF/jsp/seguridad/login.jsp
Thanks for the help
On Sun, Sep 22, 2013 at 1:49 PM, Lukasz Lenart wrote:
> Can
Can you post your struts.xml? And you don't have such constant defined
?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/9/22 Néstor Boscán :
> Yes and it doesn't work. It only works with "login".
>
> Thanks for the help
>
> On Sunday, September 22, 2013, Lukasz Lenart
> wro
Yes and it doesn't work. It only works with "login".
Thanks for the help
On Sunday, September 22, 2013, Lukasz Lenart
wrote:
> 2013/9/22 Néstor Boscán :
>> Hi
>>
>> > validate="true">
>
> Have you tried to use: login!login ? Attribute action expects action
> name, not how it is rendered (i.e
2013/9/22 Néstor Boscán :
> Hi
>
> validate="true">
Have you tried to use: login!login ? Attribute action expects action
name, not how it is rendered (i.e. if you change default action
extension to .html)
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---
; > versions of the framework worked with DMI.
>>> >
>>> > Regards,
>>> >
>>> > Néstor
>>> >
>>> >
>>> > On Sat, Sep 21, 2013 at 5:24 PM, wrote:
>>> >
>>> > > Can you provide the jsp snipset for th
with DMI.
> >
> > Regards,
> >
> > Néstor
> >
> >
> > On Sat, Sep 21, 2013 at 5:24 PM, wrote:
> >
> > > Can you provide the jsp snipset for the form?
> > > Sent via BlackBerry from T-Mobile
> > >
> > > -Orig
t;
> Regards,
>
> Néstor
>
>
> On Sat, Sep 21, 2013 at 5:24 PM, wrote:
>
> > Can you provide the jsp snipset for the form?
> > Sent via BlackBerry from T-Mobile
> >
> > -Original Message-
> > From: Néstor Boscán
> > Date: Sat, 21 Sep 20
> Can you provide the jsp snipset for the form?
> Sent via BlackBerry from T-Mobile
>
> -Original Message-
> From: Néstor Boscán
> Date: Sat, 21 Sep 2013 16:15:23
> To: Struts Users Mailing List
> Reply-To: "Struts Users Mailing List"
> Subject: S2: Not
> To: Struts Users Mailing List
> Reply-To: "Struts Users Mailing List"
> Subject: S2: Not generating javascript validation
>
> Hi
>
> I'm using the latest 2.3.15.2 version of struts 2 on weblogic 10.3.6. This
> are my files:
>
> LoginAction-validation
Can you provide the jsp snipset for the form?
Sent via BlackBerry from T-Mobile
-Original Message-
From: Néstor Boscán
Date: Sat, 21 Sep 2013 16:15:23
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: S2: Not generating javascript validation
Hi
Hi
I'm using the latest 2.3.15.2 version of struts 2 on weblogic 10.3.6. This
are my files:
LoginAction-validation.xml:
http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd";>
El usuario es requerido
La contrasenia es requerida
validators.xml:
15 matches
Mail list logo