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
http://clasificados-gratis.netfirms.com/bogob.html
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
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/
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.
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
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,
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
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
9 matches
Mail list logo