Thanks very much for the examples, I will have a look at them.

On Sun, Aug 15, 2010 at 8:09 AM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:

> and you can see the grid at work here
>
>
> http://wiquery-plugins-demo.appspot.com/demo/?wicket:bookmarkablePage=:com.wiquery.plugins.demo.GridPage
>
> Ernesto
>
> On Sun, Aug 15, 2010 at 8:07 AM, Ernesto Reinaldo Barreiro
> <reier...@gmail.com> wrote:
> > Erik,
> >
> > Grid component [1] does something similar to what you are asking for:
> >
> > -Grid is created via JavaScript
> > -Grid ask back to server for some XML containing the data to render
> > and generate the grids contents.
> >
> > The trick I use to render XML back to the server is creating a "div"
> > that will  stream back the contents as XML. See classes [1] and [2]
> > for details.
> >
> > Regards,
> >
> > Ernesto
> >
> > References.
> >
> > 1-
> http://code.google.com/p/wiquery-plugins/source/browse/trunk/wiquery-plugins/jqgrid/src/main/java/com/wiquery/plugins/jqgrid/component/Grid.java
> > 2-
> http://code.google.com/p/wiquery-plugins/source/browse/trunk/wiquery-plugins/jqgrid/src/main/java/com/wiquery/plugins/jqgrid/component/DocumentResourceListener.java
> >
> > On Sat, Aug 14, 2010 at 10:59 PM, Erik Brakkee <erik.brak...@gmail.com>
> wrote:
> >> Hi,
> >>
> >>
> >> I would like to write an component that will retrieve page-specific
> >> information using AJAX from the javascript running in the browser and
> >> interpret it itself instead of having wicket rendering the content.
> >>
> >> This approach is slightly different from the usual behavior as in those
> >> cases a wicket component renders its own content again and the page is
> >> updated with the new content of the component. In this case however, I
> would
> >> like to return an XML document which is interpreted by the javascript
> >> directly, where the XML document is page specific.
> >>
> >> How can I achieve such a scenario? Any examples somewhere? Is there a
> >> specific Component type or behavior I should use?
> >>
> >> Cheers
> >>  Erik
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to