Re: JSONPlugin breaks in 2.1.8.1

2009-11-03 Thread Wes Wannemacher
Heh, it was my idea to make it a proper, built-in result type... But, my motivation for this was that plugins shouldn't depend on other plugins. I was planning the JQuery plugin in my mind and I wanted proper support for JSON. Since it was not only a plugin, but an external plugin, using JSON in a

Re: JSONPlugin breaks in 2.1.8.1

2009-11-03 Thread David C. Hicks
Wes, is this new plugin referenced in a new struts package type? That seems to be where I'm getting the GoogleCode plugin from. My package extends "json-default", and, as far as I can tell, this is where the plugin itself is referenced. Thanks again! Dave Wes Wannemacher wrote: > We moved that

Re: JSONPlugin breaks in 2.1.8.1

2009-11-03 Thread David C. Hicks
Thanks, Wes! Wes Wannemacher wrote: > No, Chris, it's definitely still a plugin... > > David, download the jar from here - > > http://repo1.maven.org/maven2/org/apache/struts/struts2-json-plugin/2.1.8/ > > -Wes > > On Tue, Nov 3, 2009 at 4:23 PM, Chris Pratt wrote: > >> From what I understand,

Re: JSONPlugin breaks in 2.1.8.1

2009-11-03 Thread Chris Pratt
What happened to the whole decision to bring JSON into the core? Is it true that all that was done was to move the link from a Google Code URL to a harder to find Apache URL? That's not the discussion I remember... (*Chris*) On Tue, Nov 3, 2009 at 1:25 PM, Wes Wannemacher wrote: > No, Chris,

Re: JSONPlugin breaks in 2.1.8.1

2009-11-03 Thread Chris Pratt
>From what I understand, it's no longer a plugin, it's part of the base Struts functionality. You don't have to do anything extra. All you have to do is define your result type to be json and struts will know what you mean. (*Chris*) On Tue, Nov 3, 2009 at 1:17 PM, David C. Hicks wrote: > OK

Re: JSONPlugin breaks in 2.1.8.1

2009-11-03 Thread David C. Hicks
OK. I removed the original GoogleCode dependency from my project, but now it doesn't appear to find *any* such plugin. It's unclear to me where the JSON Plugin is located within the Struts framework and how to get it, now. I tried adding the struts2-plugins 2.1.8.1 jar, but that doesn't appear t

Re: JSONPlugin breaks in 2.1.8.1

2009-11-03 Thread David C. Hicks
Musachy Barroso wrote: > what he meant was: we are too lazy to maintain code in 2 different > repositories :) > Can't say I blame you. Makes sense to me to have it all in one place, anyway. Great work, by the way! 2.1.8.1 seems to be pretty solid.

Re: JSONPlugin breaks in 2.1.8.1

2009-11-03 Thread Wes Wannemacher
No, Chris, it's definitely still a plugin... David, download the jar from here - http://repo1.maven.org/maven2/org/apache/struts/struts2-json-plugin/2.1.8/ -Wes On Tue, Nov 3, 2009 at 4:23 PM, Chris Pratt wrote: > From what I understand, it's no longer a plugin, it's part of the base > Struts

Re: JSONPlugin breaks in 2.1.8.1

2009-11-03 Thread David C. Hicks
That was the magic jar. Thanks! Wes Wannemacher wrote: > No, Chris, it's definitely still a plugin... > > David, download the jar from here - > > http://repo1.maven.org/maven2/org/apache/struts/struts2-json-plugin/2.1.8/ > > -Wes >

Re: JSONPlugin breaks in 2.1.8.1

2009-11-03 Thread Musachy Barroso
what he meant was: we are too lazy to maintain code in 2 different repositories :) musachy On Tue, Nov 3, 2009 at 1:40 PM, Wes Wannemacher wrote: > Heh, it was my idea to make it a proper, built-in result type... But, > my motivation for this was that plugins shouldn't depend on other > plugins.

Re: JSONPlugin breaks in 2.1.8.1

2009-11-02 Thread David C. Hicks
Thanks, Wes! Wes Wannemacher wrote: > We moved that plugin into Apache... Poke around the 2.1.8.1, you'll > find a struts2-json-plugin in there. It's a port of the one on > googlecode, so it should be a compatible replacement (a few package > names changed, but that should be easy to sort out). >

Re: JSONPlugin breaks in 2.1.8.1

2009-11-02 Thread Wes Wannemacher
We moved that plugin into Apache... Poke around the 2.1.8.1, you'll find a struts2-json-plugin in there. It's a port of the one on googlecode, so it should be a compatible replacement (a few package names changed, but that should be easy to sort out). -Wes On Mon, Nov 2, 2009 at 4:54 PM, David C.

JSONPlugin breaks in 2.1.8.1

2009-11-02 Thread David C. Hicks
I've been trying to build our application using the 2.1.8.1 candidate. There was an older bug that we needed the fix for. That problem seems to be resolved. However, I find that the JSONPlugin for Struts from Googlecode is broken due to an upgrade of the XWork2 framework. There is a class (com.