I thought of contributing some of the changes after a while but then I
realized they were too
project specific and not abstract enough so no one else would be able to use
em.
Example: I created a JQGridDataProvider that the grid uses but the provider
is tightly tied to hibernate
and some other stuff i'm using in the project.

I took a look at AjaxRequestTarget and its inner classes to check how wicket
renders components on ajax requests.
These components always have parent pages and the rendering process looks
something like this:
page.startComponentRender(comp) -> comp.renderComponenet() ->
page.endComponentRender(comp)
then the response from request cycle is set to be the ajax response so the
html is directed to it.

I don't see anyway I can mimic this kind of behavior and render wicket
components without them having
some parent page.

I havn't seen jweekend's implementation in a long time because they added
password protection to labs.jweekend.com/public.
But what I remember is that they had wicket component as a jqgrid subgrid.
If this is the case they probably just rendered a wicket page into the
subgrid, which is a little easier...

On Tue, May 25, 2010 at 2:31 PM, Ernesto Reinaldo Barreiro <
[email protected]> wrote:

> Hi Sam,
>
> > I'm using a "flavor" of wijqgrid. I took wijqgrid as a base code and made
> > major modifications to almost everything.
> >
>
> It is a pity some of those modifications never made it back into the
> original:-(. But I'm still glad to hear the code was useful to you: at
> least as a starting point.
>
> What I would do in order to render arbitrary Wicket components is try
> to implement some kind of "virtual" repeater that is not rendered with
> normal page rendering  and that is used to render grid data (I had the
> idea of looking into the logic that render components via AJAX and see
> how to do something similar for grid data). These "virtual" components
> will be attached to the grid so that they exist on the server side and
> could handle events and so on. These are only ideas and haven't tried
> to implement them: but I know it is possible because jWeekends
> implementation already supports that.
>
> Best,
>
> Ernesto
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to