Re: json result type not parse OGNL expressions in params

2012-10-22 Thread Lukasz Lenart
2012/10/22 JOSE L MARTINEZ-AVIAL : > I just created the issue: > > https://issues.apache.org/jira/browse/WW-3906 > > I think I can implement part of this issue on my own. What do I need to do > in order to collaborate in this? Just prepare a patch and attach it to the issue with granting rights to

Re: json result type not parse OGNL expressions in params

2012-10-22 Thread JOSE L MARTINEZ-AVIAL
I just created the issue: https://issues.apache.org/jira/browse/WW-3906 I think I can implement part of this issue on my own. What do I need to do in order to collaborate in this? Thanks JL 2012/10/22 Lukasz Lenart > 2012/10/21 JOSE L MARTINEZ-AVIAL : > > I just reviewed the code, and it se

Re: json result type not parse OGNL expressions in params

2012-10-22 Thread Lukasz Lenart
2012/10/21 JOSE L MARTINEZ-AVIAL : > I just reviewed the code, and it seems that the HttpHeaderResult only > parses the parameters headers and errorMessage, but not the parameters > status or error. I think it could be a nice thing to have. my workaround is > to extend JSONResult incorporating the

Re: json result type not parse OGNL expressions in params

2012-10-21 Thread JOSE L MARTINEZ-AVIAL
I just tried that, but it does not make any difference. 2012/10/21 Per Pascal Grube > Hi, > > On Sunday 21 October 2012 03:12:07 JOSE L MARTINEZ-AVIAL wrote: > > Hi, > > I'm using a json result type defined as follows: > > > > class="org.apache.struts2.json.JSONResult"> > > false > > > > name=

Re: json result type not parse OGNL expressions in params

2012-10-21 Thread Per Pascal Grube
Hi, On Sunday 21 October 2012 03:12:07 JOSE L MARTINEZ-AVIAL wrote: > Hi, > I'm using a json result type defined as follows: > > > false > name="includeProperties">resultName,resultMessage,data.*,fieldErrors.*,actio > nErrors.*,actionMessages.* name="excludeNullProperties">true > true > ${erro

Re: json result type not parse OGNL expressions in params

2012-10-21 Thread JOSE L MARTINEZ-AVIAL
I just reviewed the code, and it seems that the HttpHeaderResult only parses the parameters headers and errorMessage, but not the parameters status or error. I think it could be a nice thing to have. my workaround is to extend JSONResult incorporating the following: public void setStatusCode(Strin