> /jsp/product/productSearch.jsp
>
> /jsp/product/productSearchJsonResult.jsp
>
>
>
>
>
> extends="json-default">
>
>
>
>class="com.demand.product.ProductSearchResults">
>
> products
>
>
>
>
>
>
>
>
> With kind regards
>
> Christer Gjerstad
>
>
>
Hello Leonidas,
Common practice for doing this would be as follows:
SelectStepA
yourRedirectActionsNamespace
sp/product/productSearchJsonResult.jsp
products
Cheers!
- 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
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
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
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!
>
>
7 matches
Mail list logo