Thanks Buddy for the advice!
It required no extra library for Struts2, what i really miss is the custom
object which have only the contructors with signature but no getter method
:(
On Tue, Aug 7, 2012 at 7:33 AM, Frans Thamura wrote:
> You can use rest plugina
>
> Automatic become json
>
> We
You can use rest plugina
Automatic become json
We modify the rest plugins for make it full rest.
S2restplugins.java.net
F
On Aug 7, 2012 6:30 AM, "Alvin Chew" wrote:
> Good day,
>
>
> If we have a collection like a list of custom object need to send back to
> page via ajax, do we need to used
Without any code or config it's impossible to diagnose why the JSON plugin
isn't doing it automatically.
Dave
On Mon, Aug 6, 2012 at 7:30 PM, Alvin Chew wrote:
> Good day,
>
>
> If we have a collection like a list of custom object need to send back to
> page via ajax, do we need to used a json
mmm, this is interesting, I get a dialog box and it says:
The currently displayed page contains invalid values.
--
View this message in context:
http://www.nabble.com/struts2-and-JSON-integration-problem-%28plugin%29-tp17917051p1798.html
Sent from the Struts - User mailing list archive at
On Tue, Jun 17, 2008 at 2:38 PM, xianwinwin <[EMAIL PROTECTED]> wrote:
>
> 1. How did you add the reference in eclipse? Make sure it is listed in
> the J2EE Module dependencies.
>
> After placing the JAR I right clicked on the project-->Properties-->Java
> Build Path-->Libraries-->Add External JAR-
> -Original Message-
> From: xianwinwin [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 17, 2008 11:38 AM
> To: user@struts.apache.org
> Subject: RE: struts2 and JSON integration problem (plugin)
>
>
> 1. How did you add the reference in eclipse? Make sure it
1. How did you add the reference in eclipse? Make sure it is listed in
the J2EE Module dependencies.
After placing the JAR I right clicked on the project-->Properties-->Java
Build Path-->Libraries-->Add External JAR--> jsonplugin-0.30.jar
2. Is your URL right? Is the request being made? Is the
Is your URL right? Is the request being made? Is there return data on the wire?
Dave
--- On Tue, 6/17/08, xianwinwin <[EMAIL PROTECTED]> wrote:
> From: xianwinwin <[EMAIL PROTECTED]>
> Subject: RE: struts2 and JSON integration problem (plugin)
> To: user@struts.apache.org
How did you add the reference in eclipse? Make sure it is listed in
the J2EE Module dependencies.
musachy
On Tue, Jun 17, 2008 at 2:22 PM, xianwinwin <[EMAIL PROTECTED]> wrote:
>
> you are right (I guess I was trying to be succinct),
>
> Ok...so here's the deal, I wish to use JSON, for this, I do
you are right (I guess I was trying to be succinct),
Ok...so here's the deal, I wish to use JSON, for this, I downloaded the JAR
(jsonplugin-0.30) and had a reference to it (on my eclipse)
So, this is the previous code I was using that worked well:
XML:
Saying something "doesn't work" doesn't work :) . That tells us
nothing. What are you doing? What happens?
I tried setting up simple examples based on the documentation in the
Wiki, and it worked fine. In addition, there are some additional JSON
changes in 2.1.2 beta which I've also been able
11 matches
Mail list logo