Erik,

Its been a while since I implemented that code but as far as I
remember the CDATA parts are embedded in a bigger XML wich is streamed
back to the client: CDATA is needed because grid cell contents can be
anything so you have to use it to make sure that the XML you stream
back is well formed. The sequence of event is as follows.

-GRID is build on the client and client issues a jQuere AJAX call to
the sever (to the URL generated using the AJAX behavior)
-GRID component generates the XML on the server side and this XML is
streamed back to client
-Client uses this data to render grid cell contents.

That's all about it;-)

Can you describe more precisely what you want to achieve?

Cheers,

Ernesto

On Wed, Aug 18, 2010 at 11:12 PM, Erik Brakkee <erik.brak...@gmail.com> wrote:
> I have been looking at the example from jqgrid and as far as I can
> understand the resource listener is used to stream back the XML content as
> CDATA from the server to the browser. However, I cannot see how it would be
> possible to stream back XML from the browser to the server.
>
> One way I can imagine it would work is by creating a form (with CSS style
> display none) which has a form text field with a value). In that case,
> submitting the form will also submit the text field and it becomes possible
> to both read the XML from the custom text field and rerender other wicket
> components as part of the same request (and also use prepend and/or append
> javascript).
>
> Am I missing something?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to