Re: JSON Plugin and S:Action

2009-07-15 Thread Chris Pratt
Yup, I had to change a couple of my helper classes because of that change. (*Chris*) On Wed, Jul 15, 2009 at 9:14 AM, Musachy Barroso wrote: > yeah, something did change and I think ti was some signature from > Map to Map or the other way around. > > On Wed, Jul 15, 2009 at 9:08 AM, Wes Wannem

Re: JSON Plugin and S:Action

2009-07-15 Thread Musachy Barroso
yeah, something did change and I think ti was some signature from Map to Map or the other way around. On Wed, Jul 15, 2009 at 9:08 AM, Wes Wannemacher wrote: > That's weird, now you have me more curious, I don't remember making > changes to get it working in 2.1, other than updating unit tests...

RE: JSON Plugin and S:Action

2009-07-15 Thread Martin Gainty
pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Wed, 15 Jul 2009 12:08:50 -0400 > Subject: Re: JSON Plugin and S:Actio

Re: JSON Plugin and S:Action

2009-07-15 Thread Wes Wannemacher
That's weird, now you have me more curious, I don't remember making changes to get it working in 2.1, other than updating unit tests... Musachy, do you remember that going from 2.1.2 to 2.1.3? I was using it with 2.1.3-SNAPSHOT quite a bit, so it must have been something that changed shortly after

Re: JSON Plugin and S:Action

2009-07-15 Thread Chris Pratt
It was in one of my earlier posts, but I was getting this: java.lang.NoSuchMethodError: com.opensymphony.xwork2.ActionContext.get(Ljava/lang/String;)Ljava/lang/Object; at com.googlecode.jsonplugin.JSONResult.execute(JSONResult.java:157) at com.opensymphony.xwork2.DefaultActionInvoc

Re: JSON Plugin and S:Action

2009-07-15 Thread Wes Wannemacher
On Wed, Jul 15, 2009 at 11:56 AM, Chris Pratt wrote: > Yup, the latest jar file works with 2.1.6 (but not 2.1.2 for the record). >  (*Chris*) What went wrong in 2.1.2? This intrigues me :) -Wes > > On Wed, Jul 15, 2009 at 8:11 AM, Musachy Barroso wrote: > >> I think the last release worked with

Re: JSON Plugin and S:Action

2009-07-15 Thread Chris Pratt
Yup, the latest jar file works with 2.1.6 (but not 2.1.2 for the record). (*Chris*) On Wed, Jul 15, 2009 at 8:11 AM, Musachy Barroso wrote: > I think the last release worked with 2.1 right? > > musachy > > On Wed, Jul 15, 2009 at 5:59 AM, Wes Wannemacher wrote: > > On Wed, Jul 15, 2009 at 3:35

Re: JSON Plugin and S:Action

2009-07-15 Thread Musachy Barroso
I think the last release worked with 2.1 right? musachy On Wed, Jul 15, 2009 at 5:59 AM, Wes Wannemacher wrote: > On Wed, Jul 15, 2009 at 3:35 AM, Chris Pratt wrote: >> Ok, now I'm totally confused.  The documentation at >> http://cwiki.apache.org/S2PLUGINS/json-plugin.html says that the plug-in

Re: JSON Plugin and S:Action

2009-07-15 Thread Wes Wannemacher
On Wed, Jul 15, 2009 at 3:35 AM, Chris Pratt wrote: > Ok, now I'm totally confused.  The documentation at > http://cwiki.apache.org/S2PLUGINS/json-plugin.html says that the plug-in > required 2.0.6 or greater.  It clearly did not support 2.1.2, but it seems > to support 2.1.6.  Is the documentation

Re: JSON Plugin and S:Action

2009-07-15 Thread Chris Pratt
Ok, now I'm totally confused. The documentation at http://cwiki.apache.org/S2PLUGINS/json-plugin.html says that the plug-in required 2.0.6 or greater. It clearly did not support 2.1.2, but it seems to support 2.1.6. Is the documentation wrong, should that say 2.1.6 instead of 2.0.6? (*Chris*)

Re: JSON Plugin and S:Action

2009-07-14 Thread Chris Pratt
Ok, calling it from AJAX, instead of , seems to work, but unfortunately it appears the JSON Plugin isn't compatible with Struts 2.1. I'm currently using 2.1.2, but the documentation says that it works with 2.0.6. Is there any plan to update it to work with 2.1? What I'm seeing is: java.lang.NoSu

Re: JSON Plugin and S:Action

2009-07-14 Thread Chris Pratt
Don't know, I was trying to initialize the variable using the same action that would be used to update it. And, because of this problem, I haven't been able to initialize it. Maybe I'll give it a try later. (*Chris*) On Tue, Jul 14, 2009 at 7:49 AM, Musachy Barroso wrote: > Never thought of

Re: JSON Plugin and S:Action

2009-07-14 Thread Musachy Barroso
Never thought of this use case before. Does it work if you use the action directly, instead of calling from a jsp? musachy On Mon, Jul 13, 2009 at 11:17 PM, Chris Pratt wrote: > I'm having a problem using with an action > whose result type is json.  It doesn't insert the results.  My Action is >