Hi,
So I define some thing like
package name=myPackage extends=json-default,rest-default namespace=/
/package
Is it possible that I say the struts that this the default package for all
packages ?!
~Regards,
~~Alireza Fattahi
From: Lukasz Lenart
Hi,
I am trying to use REST Plugin with convention plugin .
For all REST actions I should extend RestActionMapper, After I extend
RestActionMapper instead of ActionSuppor, the convention plugin those not find
the action any more !
~Regards,
~~Alireza Fattahi
2013/7/10 Alireza Fattahi afatt...@yahoo.com:
Hi,
So I define some thing like
package name=myPackage extends=json-default,rest-default
namespace=/
/package
Is it possible that I say the struts that this the default package for all
packages ?!
There is nothing like that - a
2013/7/10 Alireza Fattahi afatt...@yahoo.com:
Hi,
I am trying to use REST Plugin with convention plugin .
For all REST actions I should extend RestActionMapper, After I extend
RestActionMapper instead of ActionSuppor, the convention plugin those not
find the action any more !
Check this
2013/7/5 Bruno Klava bkl...@gmail.com:
As far as I can tell, this difference is due to changes made
in org.apache.struts2.components.Form.getValidators(String name)
I would say that now is ok and previously it was a bug ;-) But you are
right, that breaks backward compatibility
Regards
--
2013/7/10 Lukasz Lenart lukaszlen...@apache.org:
2013/7/5 Bruno Klava bkl...@gmail.com:
As far as I can tell, this difference is due to changes made
in org.apache.struts2.components.Form.getValidators(String name)
I would say that now is ok and previously it was a bug ;-) But you are
right,
Hi,
I get these two warnings:
2013-07-10 16:42:45,683 WARN
(com.opensymphony.xwork2.interceptor.ParametersInterceptor:56) - Parameter
[struts.enableJSONValidation] is on the excludeParams list of patterns!
2013-07-10 16:42:45,683 WARN
Use Case: request some protected resource - redirect action for authentication
- access protected resource.
I'm using a custom interceptor that redirects (redirectAction) to a global
result if no user object is found in session. The final action result then
redirects to a login page.
The
Second question: because it's a redirect, hence a new request.
Dave
On Jul 10, 2013 7:28 AM, Antonio Sánchez juntandolin...@gmail.com
wrote:
Use Case: request some protected resource - redirect action for
authentication - access protected resource.
I'm using a custom interceptor that
It should definitely be possible because what you described is out of the box
functionality in Spring Security where their concept of intercepters is a
filter.
I would recommend that if you need a complete authentication and permissions
checking functionality to look into Spring Security. We
Hi,
Are there Global Validation in struts 2 ?!
~Regards,
~~Alireza Fattahi
2013/7/10 Alireza Fattahi afatt...@yahoo.com:
Hi,
Are there Global Validation in struts 2 ?!
What you mean by that? Validations which affects each and every
action? If so, no.
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Second question: because it's a redirect, hence a new request.
http://localhost:8084/mycontext/autenticar = login.jsp - OK
Returned by interceptor:
global-results
result name=AUTENTICAR/autenticar/result
/global-results
El Miércoles, 10 de julio de 2013 13:00:44 CRANFORD, CHRIS escribió:
It should definitely be possible because what you described is out of the box
functionality in Spring Security where their concept of intercepters is a
filter.
How can I remember the original request? Piece by piece? I can
Can't forward even without using global results:
http://localhost:8084/mycontext/autenticar = login.jsp - OK
action name=forward
result/autenticar/result
/action
http://localhost:8084/mycontext/forward = 404 ERROR - /mycontext/autenticar
not available
Forwarding to another action means you want to do chaining:
http://struts.apache.org/release/2.3.x/docs/action-chaining.html
result type=chain
param name=actionNameautenticar/param
/result
On Wed, Jul 10, 2013 at 10:00 AM, Antonio Sánchez
juntandolin...@gmail.comwrote:
Can't forward even
Or configure the server to run forwards through the filter.
On Jul 10, 2013 10:08 AM, Paul Benedict pbened...@apache.org wrote:
Forwarding to another action means you want to do chaining:
http://struts.apache.org/release/2.3.x/docs/action-chaining.html
result type=chain
param
in my application, the following br newline charactor never happen.
s:property value=Out of Stock BRAvg:2-5 days/
how to let above BR take effect?
thanks
john
Escape it. Check out the tag Docs.
On Jul 10, 2013 11:16 PM, john lee sh_thorn_b...@yahoo.com wrote:
in my application, the following br newline charactor never happen.
s:property value=Out of Stock BRAvg:2-5 days/
how to let above BR take effect?
thanks
john
thanks, it works
the format is
s:property value=Out of Stock BRAvg:2-5 days escape=false/
From: Dave Newton davelnew...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, July 10, 2013 10:17 PM
Subject: Re: struts s:property
20 matches
Mail list logo