is setting up the InputStream from
> > Gson.
> >
> > setJsonStream(new ByteArrayInputStream(new
> > Gson().toJson(jsonResult).getBytes()));
> >
> >
> > jsonResult is a Map, but could be any object or list of Objects.
> >
> > Paul
> >
> >
11 1:19 AM, "Maurizio Cucchiara"
wrote:
> What do you mean by "not blessed"?
>
> Maurizio Cucchiara
>
> Il giorno 09/mar/2011 00.24, "Harsh C" ha scritto:
> Hi,
>
> I don't know if this is the right list for a question regarding 2.0.11.1,
if
&g
Hi,
I don't know if this is the right list for a question regarding 2.0.11.1, if
not please let me know the right forum.
I am trying to use Struts 2.0.11.1 to work on an AJAX-ified app using Dojo.
Problem is, struts-json plugin is not blessed.
Is there a way in which I can code an Action which r
],
> "targetIdBox":17101}
>
> As required by the json plugin, I would need to define a
> setIdentifier(String), setTargetIdBox(int), and a setItems(List). That
> works correctly, but I would like to automatice the conversion from a Map
> to
> a bean. Is it pos
t; http://www.jgeppert.com/2010/06/how-to-parse-a-json-object-when-using-multisearch-for-jqgrid-with-java/
>
> http://www.jgeppert.com/2010/06/how-to-parse-a-json-object-when-using-multisearch-for-jqgrid-with-java/
>
> Johannes
>
>
> Harsh C wrote:
> >
> > I have be
I have been working with the Struts 2 JSON plugin and I have got it set up
so that I can serialize my Java beans as a JSON string and pass it along to
the browser.
Is the reverse possible using the plugin? That is, if I have a JS widget
(Dojo, in this case) that spits out JSON, can I read in the JS
How can I setup a AJAX-ified file upload page using Struts 2? If there is
some integration with Dojo, it would be even better i.e. not use the OS
specific file upload button etc.
--
*Thanks,
Harsh*
Thanks!
Actually, I used the template attribute and it worked great. Now, I have
access to the default ftl as well as to the templates that I am creating.
On Tue, Nov 23, 2010 at 3:23 PM, Dave Newton wrote:
> Use the "theme" attribute.
>
> Dave
>
> On Tue, Nov 23,
Is there a way to specify a template to use for a struts tag, on a per tag
basis e.g.
I am trying to change the checkboxlist default L&F so that it renders in a
table. This is working fine. But if I want to use the default L&F also, how
do I do that.
As of now, I copied the struts provided .ftl f
I am using Struts 2.2.1 and would like to get some AJAX functionality in my
app, specifically, I would like to use Dojo. The Dojo plugin was deprecated
for this release, is there some good documentation/tutorials for getting
into Struts 2.2.1 with DOJO?
a list of Model
objects, and upon checking some models, I wanted a list of selectedModel
objects, is there a way in struts to do it?
Thanks,
HC
On Wed, Nov 17, 2010 at 11:47 AM, Dave Newton wrote:
> Could also be a type conversion error.
> On Nov 17, 2010 2:46 PM, "Harsh C"
r back to the input result.
>
> Dave
> On Nov 17, 2010 2:29 PM, "Harsh C" wrote:
> > Hi,
> >
> > I have an input page which has a checkbox list in a form. Clicking submit
> > takes the user to a 2nd JSP.
> > The problem is that when I don't sele
Hi,
I have an input page which has a checkbox list in a form. Clicking submit
takes the user to a 2nd JSP.
The problem is that when I don't select a checkbox and click on submit, I
get to the output page, of course no value is displayed on the output page
though.
But if I select a checkbox and cli
13 matches
Mail list logo