Re: RE: Adding Json to existing action

2009-10-28 Thread Michael Varlik
s Mailing List > Betreff: Re: RE: Adding Json to existing action > can you show us your action mapping and the relevant parts of your code? > > musachy > > On Tue, Oct 27, 2009 at 8:50 AM, Michael Varlik wrote: > > I just noticed a mistake I made. When adding the paramet

Re: RE: Adding Json to existing action

2009-10-28 Thread Michael Varlik
" but it only returns "success". Original-Nachricht > Datum: Tue, 27 Oct 2009 12:56:51 -0700 (PDT) > Von: Struts Two > An: Struts Users Mailing List > Betreff: Re: RE: Adding Json to existing action > What I meant was either to use Json Pl

Re: RE: Adding Json to existing action

2009-10-27 Thread Musachy Barroso
did wrong. Any hints are appreciated. > > Cheers, > Markus > > Original-Nachricht >> Datum: Tue, 27 Oct 2009 16:09:25 +0100 >> Von: "Michael Varlik" >> An: "Struts Users Mailing List" , >> user@struts.apache.org >&g

Re: RE: Adding Json to existing action

2009-10-27 Thread Struts Two
hints are appreciated. > > Cheers, > Markus > > Original-Nachricht > > Datum: Tue, 27 Oct 2009 16:09:25 +0100 > > Von: "Michael Varlik" > > An: "Struts Users Mailing List" , > user@struts.apache.org > > Betreff: Re:

Re: RE: Adding Json to existing action

2009-10-27 Thread Michael Varlik
t; An: "Struts Users Mailing List" , > user@struts.apache.org > Betreff: Re: RE: Adding Json to existing action > Thanks for that hint. I have extended my mapping by adding " name=root>jsonData" to my action mapping's result tag. Now I don't > get any &g

Re: RE: Adding Json to existing action

2009-10-27 Thread Michael Varlik
be wrong here? Cheers, Markus Original-Nachricht > Datum: Tue, 27 Oct 2009 09:39:01 -0400 > Von: "Mike Baranski" > An: "\'Struts Users Mailing List\'" > Betreff: RE: Adding Json to existing action > I do this to pass parameters, usi

RE: Adding Json to existing action

2009-10-27 Thread Mike Baranski
struts...@yahoo.ca] >Sent: Tuesday, October 27, 2009 9:24 AM >To: Struts Users Mailing List >Subject: Re: Adding Json to existing action > >You can either use Json plugin or write your own customized result type >that return JSON. > >--- On Tue, 10/27/09, Michael Varlik wr

Re: Adding Json to existing action

2009-10-27 Thread Struts Two
You can either use Json plugin or write your own customized result type that return JSON. --- On Tue, 10/27/09, Michael Varlik wrote: > From: Michael Varlik > Subject: Adding Json to existing action > To: user@struts.apache.org > Received: Tuesday, October 27, 2009, 1:07 PM >

Adding Json to existing action

2009-10-27 Thread Michael Varlik
Hi, I need to call an existing struts action within my application from a JavaScript function. I thought it might be possible to create an additional entry in the struts mapping file like this: and then call the action with "getDataJson.action". Unfortunately, when I try this a NullPointerEx