Re: Question about "Form Validation Using XML" example

2013-10-02 Thread Lukasz Lenart
Maybe your browser is filling the field and it has nothing to do with Struts validation? Check that in anonymous mode. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/10/2 Antonio Sánchez : > I can't see what's going on behind the scenes in this example so I'm asking > for hel

Re: S2-018, Struts 2.3.15.2: action: prefix for buttons not working after upgrade to Struts 2.3.15.2

2013-10-02 Thread Lukasz Lenart
There is no other way - you must wait for new release (hope soon) or write custom action mapper. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/10/2 Markus Fischer : > Hi everyone, > > I have just upgraded a web application from Struts 2.3.15.1 to Struts > 2.3.15.2 (running o

Re: s:token doesn't accept data- attributes, cssClass ignored

2013-10-02 Thread Lukasz Lenart
2013/10/2 Miguel Almeida : > Hi, > > I am creating an ajax call for a method which is protected by the > TokenSessionStoreInterceptor. This means I need to pass the token onto > the request. > > I was expecting the s:token tag to accept data-foo="bar" attributes > (they'd be passed along to the cor

s:token doesn't accept data- attributes, cssClass ignored

2013-10-02 Thread Miguel Almeida
Hi, I am creating an ajax call for a method which is protected by the TokenSessionStoreInterceptor. This means I need to pass the token onto the request. I was expecting the s:token tag to accept data-foo="bar" attributes (they'd be passed along to the corresponding hidden elements), but this is

Question about "Form Validation Using XML" example

2013-10-02 Thread Antonio Sánchez
I can't see what's going on behind the scenes in this example so I'm asking for help in order to understand the Strtus process. I run the example, leave empty "First Name" to make validation fail, and submit. Then go back to index: http://localhost:8084/form_xml_validation and click on edit.

S2-018, Struts 2.3.15.2: action: prefix for buttons not working after upgrade to Struts 2.3.15.2

2013-10-02 Thread Markus Fischer
Hi everyone, I have just upgraded a web application from Struts 2.3.15.1 to Struts 2.3.15.2 (running on Tomcat 7.0.27). Now, for any button using the "action:" prefix as described in S2-018, the action mapping does not working anymore. I.e., Backward Compatibility for the "action:" prefix is not g

Re: S2: Using HTTPS, when I redirect, I get HTTP

2013-10-02 Thread Lukasz Lenart
2013/10/2 Néstor Boscán : > So if I use: > > https://${ > host}/cambioPassword!input.action > > It will work? > > Don't I have to set the servlet context and namespace? It won't work OOTB - you must add additional getters to your action - it was just an idea how you can solve that. I give you few

Re: S2: Using HTTPS, when I redirect, I get HTTP

2013-10-02 Thread Néstor Boscán
So if I use: https://${ host}/cambioPassword!input.action It will work? Don't I have to set the servlet context and namespace? Regards, Néstor Boscán On Wed, Oct 2, 2013 at 1:08 AM, Lukasz Lenart wrote: > 2013/10/1 Paul Benedict : > > Hmm. Well, there's a couple issues to consider here. > >