I found out looking at the code that in order that properties of superclass get included in the json output you need to set ignoreHierarchy param to false: <result type="json"> <param name="ignoreHierarchy">false</param> </result>
Alfredo Osorio -----Mensaje original----- De: Alfredo Manuel Osorio Martinez Enviado el: Monday, November 22, 2010 2:03 PM Para: Struts Users Mailing List Asunto: ActionErrors and ActionMessages not included in the result generated by org.apache.struts2.json.JSONResult Hello, I'm trying to generate a json output with the JSONResult but the problem is that actionMessages and actionErrors properties are not being included. I also tried to pass this parameter to the interceptor but it didn't work: <result type="json"> <param name="includeProperties">actionErrors,actionMessages</param> </result> Please help, what am I doing wrong? Thanks in advance Alfredo Osorio --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org