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 fr...@meruvian.org wrote:
You can use rest plugina
Automatic
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 alvincks...@gmail.com wrote:
Good day,
If we have a collection like a list of custom object need to send back to
page via ajax, do 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 alvincks...@gmail.com wrote:
Good day,
If we have a collection like a list of custom object need to send back to
page via ajax, do
Nathan Schulte nathan.schulte at ngc.com writes:
Nathan Schulte nathan.schulte at ngc.com writes:
here, http://article.gmane.org/gmane.comp.jakarta.struts.user/170543,
http://article.gmane.org/gmane.comp.jakarta.struts.user/170543
Here is a link to the error,
accepter aucune responsabilité
pour le contenu fourni.
To: user@struts.apache.org
From: nathan.schu...@ngc.com
Subject: Re: Struts2 + JPA + JSON - Help with error
Date: Fri, 31 Jul 2009 13:50:14 +
Nathan Schulte nathan.schulte at ngc.com writes:
Nathan Schulte nathan.schulte
Hey all, I've got an issue I can't seem to solve.
I'm using Struts2 with the JSON Plugin. The error I am receiving is below.
This occurs when trying to access the Action. I am not sure why this error is
being thrown, but I believe it has something to do with the way I implemented
the Open
Nathan Schulte nathan.schulte at ngc.com writes:
here, http://article.gmane.org/gmane.comp.jakarta.struts.user/170543,
http://article.gmane.org/gmane.comp.jakarta.struts.user/170543
Here is a link to the error, http://pastebin.com/m5d0d22c8.
http://pastebin.com/m5d0d22c8
Also, here is the
Hi All,
I am using the REST plugin for Struts 2.1.3-SNAPSHOT. I want to make
sure that the content encoding for the JSON output from the server is
always in UTF8. How can I do this?
Thanks,
Alex
-
To unsubscribe, e-mail: [EMAIL
, 8/4/08, sharath karnati [EMAIL PROTECTED] wrote:
From: sharath karnati [EMAIL PROTECTED]
Subject: Struts2 with JSON.
To: user@struts.apache.org
Date: Monday, August 4, 2008, 10:25 AM
Hi All,
Using JSON, I'm getting below response from action
{list:{com.beans.ComplaintDO
,last__name:Karnati}}}
which I'm passing for JSON
jsonObject=eval( (+ req.responseText +) );
How to read 'first__name' value from jsonObject?
Thanks,
Sharath.
--- On Mon, 8/4/08, sharath karnati [EMAIL PROTECTED] wrote:
From: sharath karnati [EMAIL PROTECTED]
Subject: Struts2 with JSON
Hi All,
Using JSON, I'm getting below response from action
{list:{com.beans.ComplaintDO:{user__complaint__number:08-C0153,user__complaint__key:08-C0153-1,form__type:2000B,first__name:Sharath,last__name:Karnati}}}
In this response, 'com.beans.ComplaintDO' is a javabean.
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
Hi all,
I'm trying to integrate Struts2 with JSON; what is needed beside a reference
to the JAR?
I'm trying to use the plugin and for some reason when I extends
'json-default' in the xml file - the action doesn't work (it works when
extending struts-default).
I'm using eclipse, I added
to use successfully.
-Original Message-
From: xianwinwin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2008 9:22 AM
To: user@struts.apache.org
Subject: struts2 and JSON integration problem (plugin)
Hi all,
I'm trying to integrate Struts2 with JSON; what is needed
beside
changed this line (from struts-default) nothing happens when I
type something in the autocompleter.
Thanks for any pointers.
--
View this message in context:
http://www.nabble.com/struts2-and-JSON-integration-problem-%28plugin%29-tp17917051p17931551.html
Sent from the Struts - User mailing list
: extends=json-default
but when I changed this line (from struts-default) nothing happens when I
type something in the autocompleter.
Thanks for any pointers.
--
View this message in context:
http://www.nabble.com/struts2-and-JSON-integration-problem-%28plugin%29-tp17917051p17931551.html
Sent
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
Date: Tuesday, June 17, 2008
? Is there return data on the
wire?
yes, it is, the action works (called) by the autocompleter if I change the
extends from 'json-default' to 'Struts-default'
--
View this message in context:
http://www.nabble.com/struts2-and-JSON-integration-problem-%28plugin%29-tp17917051p17932560.html
Sent from the Struts
-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 is
listed in the J2EE Module
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--
20 matches
Mail list logo