RE: JSON Property

2011-02-07 Thread Jose Luis Martinez Avial
never mind, it can be avoided with the attribte escapeXml='false' in the tag. -Original Message- From: Jose Luis Martinez Avial Sent: Monday, February 07, 2011 2:43 PM To: 'Struts Users Mailing List' Subject: RE: JSON Property Question, the tag is writing the quotes

RE: JSON Property

2011-02-07 Thread Jose Luis Martinez Avial
t;EDP\/SPR","idDistributionList":"3"}],"label":null}; How can I avoid that? -Original Message- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: Monday, February 07, 2011 1:15 PM To: Struts Users Mailing List Subject: Re: JSON Property The

RE: JSON Property

2011-02-07 Thread Jose Luis Martinez Avial
That was the problem. I hadn't included the jstl library. It works fine now. Thanks!! -Original Message- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: Monday, February 07, 2011 1:15 PM To: Struts Users Mailing List Subject: Re: JSON Property The right url s

Re: JSON Property

2011-02-07 Thread Maurizio Cucchiara
---Original Message- > From: Jose Luis Martinez Avial [mailto:jlmarti...@pb-santander.com] > Sent: Monday, February 07, 2011 12:56 PM > To: Struts Users Mailing List > Subject: RE: JSON Property > > Hello, > I'm trying to use this combination of tags to convert to JSO

RE: JSON Property

2011-02-07 Thread Biesbrock, Kevin
Excuse me, I Google searched "jstl taglib"... Beez r 5347 -Original Message- From: Jose Luis Martinez Avial [mailto:jlmarti...@pb-santander.com] Sent: Monday, February 07, 2011 12:56 PM To: Struts Users Mailing List Subject: RE: JSON Property Hello, I'm try

RE: JSON Property

2011-02-07 Thread Biesbrock, Kevin
11 12:56 PM To: Struts Users Mailing List Subject: RE: JSON Property Hello, I'm trying to use this combination of tags to convert to JSON, but it seems I have some problems with the TLD. I'm getting the following error: manageDocuments.jsp:2:5: No tag library could be found with this

RE: JSON Property

2011-02-07 Thread Jose Luis Martinez Avial
essage- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: Thursday, January 06, 2011 11:51 AM To: Struts Users Mailing List Subject: Re: JSON Property Try <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> 2011/1/6 Jim Talbut : > Ah, sort

Re: JSON Property

2011-01-07 Thread Maurizio Cucchiara
I'm glad you got it working 2011/1/7 Jim Talbut : > Brilliant, thanks. > > Jim > > -Original Message- > From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] > Sent: 06 January 2011 16:51 > To: Struts Users Mailing List > Subject: Re: JSON Propert

RE: JSON Property

2011-01-07 Thread Jim Talbut
Brilliant, thanks. Jim -Original Message- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: 06 January 2011 16:51 To: Struts Users Mailing List Subject: Re: JSON Property Try <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core";

Re: JSON Property

2011-01-06 Thread Maurizio Cucchiara
Thanks > > Jim > > -----Original Message- > From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] > Sent: 05 January 2011 19:23 > To: Struts Users Mailing List > Subject: Re: JSON Property > > Did this answer your question? > https://issues.apache.org/j

RE: JSON Property

2011-01-06 Thread Jim Talbut
have to do something in order to use an OGNL-based expression with c:out? Thanks Jim -Original Message- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: 05 January 2011 19:23 To: Struts Users Mailing List Subject: Re: JSON Property Did this answer your question? https

Re: JSON Property

2011-01-05 Thread Maurizio Cucchiara
. >> > > >> > > I've filed a feature request against it ( >> > https://issues.apache.org/jira/browse/WW-3553), but it doesn't seem to >> be >> > a very active project. >> > > I'm also confused by the fact that this page >> > https://cwiki

Re: JSON Property

2011-01-05 Thread Chris Pratt
( > > https://issues.apache.org/jira/browse/WW-3553), but it doesn't seem to > be > > a very active project. > > > I'm also confused by the fact that this page > > https://cwiki.apache.org/S2PLUGINS/json-plugin.html says that the plugin > > is bundled with

Re: JSON Property

2011-01-05 Thread Steven Yang
suaded > to add it to the plugin, or just add what you've got to the bug? > > > > Jim > > > > > > -Original Message- > > From: Chris Pratt [mailto:thechrispr...@gmail.com] > > Sent: 05 January 2011 02:32 > > To: Struts Users Mailing List

Re: JSON Property

2011-01-05 Thread Maurizio Cucchiara
the JSONUtil class is not in struts-core. > > Steven, if you have a more complete and tested tag could you be persuaded to > add it to the plugin, or just add what you've got to the bug? > > Jim > > > -Original Message----- > From: Chris Pratt [mailto:thechrispr.

RE: JSON Property

2011-01-05 Thread Jim Talbut
tt [mailto:thechrispr...@gmail.com] Sent: 05 January 2011 02:32 To: Struts Users Mailing List Subject: Re: JSON Property The plugin has several things it can do, from parsing JSON to generating JSON results. And yes, the default is to JSON up the whole Action, but you can have it objectify any obj

Re: JSON Property

2011-01-04 Thread Chris Pratt
think it should be in > > > struts-json-tags). > > > > > > Jim > > > > > > -Original Message- > > > From: Chris Pratt [mailto:thechrispr...@gmail.com] > > > Sent: 04 January 2011 15:54 > > > To: Struts Users Mailing

Re: JSON Property

2011-01-04 Thread Steven Yang
the same job it seems to me that there ought to > be > > some common entity for providing it (i.e. I think it should be in > > struts-json-tags). > > > > Jim > > > > -Original Message- > > From: Chris Pratt [mailto:thechrispr...@gmail.com] >

Re: JSON Property

2011-01-04 Thread Chris Pratt
ding it (i.e. I think it should be in > struts-json-tags). > > Jim > > -Original Message- > From: Chris Pratt [mailto:thechrispr...@gmail.com] > Sent: 04 January 2011 15:54 > To: Struts Users Mailing List > Subject: Re: JSON Property > > You might also nee

RE: JSON Property

2011-01-04 Thread Jim Talbut
ere ought to be some common entity for providing it (i.e. I think it should be in struts-json-tags). Jim -Original Message- From: Chris Pratt [mailto:thechrispr...@gmail.com] Sent: 04 January 2011 15:54 To: Struts Users Mailing List Subject: Re: JSON Property You might also need the

Re: JSON Property

2011-01-04 Thread Chris Pratt
You might also need the executeResult="true" attribute on the tag. (*Chris*) On Tue, Jan 4, 2011 at 7:06 AM, Biesbrock, Kevin wrote: > > I don't want to use a separate roundtrip for loading the jqGrid for > two reasons: > > 1. I want to handle the contents of the grid, and additional fields, >

RE: JSON Property

2011-01-04 Thread Biesbrock, Kevin
> I don't want to use a separate roundtrip for loading the jqGrid for two reasons: > 1. I want to handle the contents of the grid, and additional fields, in a single transaction. > 2. It's inefficient and unnecessary. > Obviously the first is the more important :) I think you could do something l

RE: JSON Property

2011-01-04 Thread Jim Talbut
- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: 04 January 2011 02:10 To: Struts Users Mailing List Subject: Re: JSON Property Pardon me if I'm probably wrong, but why can't you use JSON action? I mean, something like this: [...] jQuery("#list2").jqGr

Re: JSON Property

2011-01-03 Thread Maurizio Cucchiara
___ > From: Aaron Brown [aa...@thebrownproject.com] > Sent: 03 January 2011 13:11 > To: Struts Users Mailing List > Subject: Re: JSON Property > > Have you considered using an include? You can call a json-result-type action > with it or switch to some other fragment resu

Re: JSON Property

2011-01-03 Thread Steven Yang
> From: Aaron Brown [aa...@thebrownproject.com] > Sent: 03 January 2011 13:11 > To: Struts Users Mailing List > Subject: Re: JSON Property > > Have you considered using an include? You can call a json-result-type > action > with it or switch to some other fragment

RE: JSON Property

2011-01-03 Thread Jim Talbut
#x27;t get updated). Jim From: Aaron Brown [aa...@thebrownproject.com] Sent: 03 January 2011 13:11 To: Struts Users Mailing List Subject: Re: JSON Property Have you considered using an include? You can call a json-result-type action with it or switch to some other fragment result if neede

Re: JSON Property

2011-01-03 Thread Aaron Brown
Have you considered using an include? You can call a json-result-type action with it or switch to some other fragment result if needed. Perhaps it's quick and dirty compared with creating a custom tag but it seems to me it would be a lot easier to implement. - Aaron On Jan 3, 2011 6:50 AM, "Jim T

JSON Property

2011-01-03 Thread Jim Talbut
Hi, I keep needing to put the JSON equivalent of an expression into a JSP page to be used by client side javascript. This is done during the evaluation of the JSP, it's not AJAX. At the moment I'm doing it by creating a special "get" method on the action, but that's not nice - the action should