Re: Struts2 IDE, eclipse plugins to manage struts2 xml file, areyou interested?

2011-01-31 Thread Angelo zerr
Hi Struts2 users, I have improved Struts2 plugins for serveral things like manage JSP taglib to have completion, validation, hyperlink for action and messages properties. If you wish you can see screen at

rafael_muneton

2011-01-31 Thread Rafael Muneton
http://clasificados-gratis.netfirms.com/bogob.html

De-serialize JSON to Action

2011-01-31 Thread Harsh C
I have been working with the Struts 2 JSON plugin and I have got it set up so that I can serialize my Java beans as a JSON string and pass it along to the browser. Is the reverse possible using the plugin? That is, if I have a JS widget (Dojo, in this case) that spits out JSON, can I read in the

Re: De-serialize JSON to Action

2011-01-31 Thread Johannes Geppert
for a while i wrote a blog post How to parse a JSON Object when using multiSearch for jqGrid with Java, I think you can adopt it to your problem. http://www.jgeppert.com/2010/06/how-to-parse-a-json-object-when-using-multisearch-for-jqgrid-with-java/

Re: De-serialize JSON to Action

2011-01-31 Thread Harsh C
Looks like this will work for me. Thanks! On Mon, Jan 31, 2011 at 4:14 PM, Johannes Geppert jo...@web.de wrote: for a while i wrote a blog post How to parse a JSON Object when using multiSearch for jqGrid with Java, I think you can adopt it to your problem.

Re: De-serialize JSON to Action

2011-01-31 Thread JOSE L MARTINEZ-AVIAL
Hello, I was wondering about how to do this, and I just saw your mail. The post is interesting and useful, but I was wondering if it is possible to automatice the conversion for beans. According to the documentation( http://struts.apache.org/2.2.1.1/docs/json-plugin.html) a list of beans will be

Re: De-serialize JSON to Action

2011-01-31 Thread Harsh C
I would think probably not because at runtime, the JVM would need to know the type of the objects in the list. But its late here, and I haven't given it much thought. On Mon, Jan 31, 2011 at 11:19 PM, JOSE L MARTINEZ-AVIAL jlm...@gmail.comwrote: Hello, I was wondering about how to do this,

s:submit action=ACTION-IN-ANOTHER-NAMESPACE

2011-01-31 Thread Agoston Bejo
Hi! I would like to specify the action attribute of an s:submit/ such that it points to an action in a namespace other than which the jsp is in: struts.xml: package name=p extends=root namespace=/p ... action name=MyAction class=package1.MyAction ... /package /p/p2/x.jsp: s:form

Re: s:submit action=ACTION-IN-ANOTHER-NAMESPACE

2011-01-31 Thread Chris Pratt
It should have a namespace attribute, like all the other tags with action method attributes, but I don't see it in the documentation. You might give it a try, just in case it's just un-documented. s:submit action=MyAction namespace=/p/ Otherwise, the more common way would be: s:form