You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ma...@ensam.eu on 2012/04/04 09:28:07 UTC
RE: JSon, includeProperties and modelDriven
Thanks a lot, it resolved my problem
Adding : <param name="root">action</param>
Matthieu
---
Matthieu MARC
Responsable du Service Informatique
Centre Arts et Métiers Angers
Tel : 02 41 20 73 61
-----Message d'origine-----
De : maurizio.cucchiara@gmail.com [mailto:maurizio.cucchiara@gmail.com] De la part de Maurizio Cucchiara
Envoyé : jeudi 8 mars 2012 16:39
À : Struts Users Mailing List
Objet : Re: JSon, includeProperties and modelDriven
Hi Matthieu,
I have experienced the same issue today, referencing to the action element should fix the problem.
So try to add the follow line:
<action name="evts" class="org.project.controllers.json.EventsAction"
method="executeEvts" >
<result name="success" type="json">
****<param name="root">action</root>****
<param name="includeProperties">
^day,
events,
events\[\d+\],
events\[\d+\].id,
</param>
</result>
</action>
Twitter :http://www.twitter.com/m_cucchiara
G+ :https://plus.google.com/107903711540963855921
Linkedin :http://www.linkedin.com/in/mauriziocucchiara
Maurizio Cucchiara
On 5 March 2012 16:29, <Ma...@ensam.eu> wrote:
> TimetableManager
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org