Re: @SMD annotation

2012-09-20 Thread Salvatore Lionetti
Hi Frans, Thanks for your suggestion, really interesting Built-in resource transformer for JSON and XML. But struts-json plugin seems to provide all the tools in my case. I see the code changed a lot, expecially now the annotation on SMD object is now done in SMDGenerator::generate() instead of

Re: @SMD annotation

2012-09-20 Thread Frans Thamura
we have working more than 2 years to map the REST standard GET PUT DELETE POST to S2 Plugins. we have a showcase also there. but if you wanna to try our yama, (struts2-spring-hibernate), showcase, that will help you a lot, and the license also same Apache . http://yama.java.net, all our work in

Re: @SMD annotation

2012-09-20 Thread Maurizio Cucchiara
Hi Salvatore, I would like to help you, but unfortunately I didn't get you. Could you provide a deeper explanation of your issues, please? What is the expected output? Could you also provide a runnable example (maybe through a pastebin)? Twitter :http://www.twitter.com/m_cucchiara G+

Re: @SMD annotation

2012-09-20 Thread Salvatore Lionetti
Hi Maurizio, === The situation === Environment Apache 7.0.14 Plugins struts2-{core,json-plugin}-2.3.1.2.jar, aspectjrt-1.6.11.jar, ... Application Similar to that explained@ http://struts.apache.org/2.1.8/docs/json-plugin.html section JSON RPC but decorated with the following annotation:

Re: @SMD annotation

2012-09-20 Thread Salvatore Lionetti
Here the code: http://pastebin.com/K28NsN0F 2012/9/20, Salvatore Lionetti salvatore.lione...@youco.eu: Hi Maurizio, === The situation === Environment Apache 7.0.14 Plugins struts2-{core,json-plugin}-2.3.1.2.jar, aspectjrt-1.6.11.jar, ... Application Similar to that explained@

Type conversion on a Map

2012-09-20 Thread Miguel Almeida
Dear all, Considering: 1) the action property MapCodeProperty, String complexMap; 2) CodeProperty has an int id property How would you configure type conversion and refer to it on the JSP to populate it? I am currently trying the following -conversion configuration: KeyProperty_complexMap=id

Re: Type conversion on a Map

2012-09-20 Thread Lukasz Lenart
Hi, Could you share the unit test as well ? The whole code would be the best :-) Regards -- Ɓukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional