Quantcast
Channel: MarsHut
Viewing all articles
Browse latest Browse all 6551

Link to BreadCrumbPanel from javascript

$
0
0
I have written an integration between Google Visualization api and Wicket. I
can click on a chart and receive an onSelection() event in java and it hands
me information about what was clicked. This all works great.

The problem is that often times I want to bread crumb to another panel
instead of calling setResponsePage(new MyPage()) so that the user can return
to the chart easily. I have looked at BreadCrumbLink and used some of the
code in there to modify the BreadCrumbModel and set the active participant.
However, since it is ajax, the page never gets updated. I've tried adding
several panels to the AjaxRequestTarget to no avail. Is there a trick for
doing something like this?

Thanks!

Viewing all articles
Browse latest Browse all 6551

Trending Articles