VS: Form Submit & Passing Post Data to Action with JSON Plugin

2009-02-07 Thread Christer Gjerstad
> /jsp/product/productSearch.jsp > > /jsp/product/productSearchJsonResult.jsp > > > > > > extends="json-default"> > > > >class="com.demand.product.ProductSearchResults"> > > products > > > > > > > > > With kind regards > > Christer Gjerstad > > >

SV: action alias / redirect

2009-02-09 Thread Christer Gjerstad
Hello Leonidas, Common practice for doing this would be as follows: SelectStepA yourRedirectActionsNamespace

Problem with JSON Result and Form Submit

2009-02-09 Thread Christer Gjerstad
sp/product/productSearchJsonResult.jsp products Cheers! - Christer Gjerstad

SV: Problem with JSON Result and Form Submit

2009-02-09 Thread Christer Gjerstad
Mailing List Emne: Re: Problem with JSON Result and Form Submit So you have a page that has a form, and that submits to an action that returns JSON? What is the message that you are talking about? Posting a section of the JSP would also help. musachy On Mon, Feb 9, 2009 at 2:31 PM, Christer Gjerstad

SV: Problem with JSON Result and Form Submit

2009-02-09 Thread Christer Gjerstad
iling List Emne: Re: Problem with JSON Result and Form Submit Ok, so the Dojo script needs to pass some data to the action, and that data is the one that comes from the first request right? musachy On Mon, Feb 9, 2009 at 2:54 PM, Christer Gjerstad wrote: > > Almost. I have a page that has

SV: Problem with JSON Result and Form Submit

2009-02-09 Thread Christer Gjerstad
o a query string (if it is GET request). I forgot the dojo method signatures, google it up :). This way you can avoid building the query string yourself, which is always error prone. musachy On Mon, Feb 9, 2009 at 3:15 PM, Christer Gjerstad wrote: > > Yes, correct. :-) > > So my questi

SV: Problem with JSON Result and Form Submit

2009-02-09 Thread Christer Gjerstad
with JSON Result and Form Submit I forgot to say, escapeJavaScript is available on 2.1 only. If you are using 2.0, there is a similar method (actually the original one) in commons lang StringEscapeUtils. musachy On Mon, Feb 9, 2009 at 3:33 PM, Christer Gjerstad wrote: > > Great! > >