Re:

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. Otherwise, the more common way would be: (*Chris*) On Mon, Jan 31, 2011 at 10:59 PM, A

user@struts.apache.org

2011-01-31 Thread Agoston Bejo
Hi! I would like to specify the "action" attribute of an such that it points to an action in a namespace other than which the jsp is in: struts.xml: ... ... /p/p2/x.jsp: ... <%-- WORKS, but not an s:submit --%> <%-- NEITHER OF THESE WORKS: --%> Any ideas? Thanks, Agoston

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 wrote: > Hello, > I was wondering about how to do this, and I just saw yo

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
Looks like this will work for me. Thanks! On Mon, Jan 31, 2011 at 4:14 PM, Johannes Geppert 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. > > > > http://www.jgeppert.com/2010/06/h

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/ http://www.jgeppert.com/2010/06/how-to-parse

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 JS

rafael_muneton

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

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 https://tk-ui.svn.sourceforge.net/svnroot/tk-ui/cnaf.sidoc.ide/docs/org.appache.struts2.ide.o