ModalWindow parameters

2012-05-01 Thread Brian Mulholland
I am popping up a modal window when an ajax event fires.  The event
has a parameter of which key the user selected.  I know I can get the
parameters from the AjaxRequestTarget in the onClick event, but in
ModalWindow.PageCreator.createPage(), how can I get the parameters so
that I can load the right record into the popup?

Brian Mulholland
For every complex problem, there is an answer that is clear, simple and wrong.
--H.L. Mencken
Politics is the art of looking for trouble, finding it everywhere,
diagnosing it incorrectly, and applying the wrong remedies.
--Groucho Marx

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



Re: ModalWindow parameters

2012-05-01 Thread Melinda Dweer
Have you tried AjaxRequestTarget.get()? If you are in a middle of an AJAX
request cycle it should give you the request target.

Regards,

Melinda.


On Tue, May 1, 2012 at 2:51 PM, Brian Mulholland blmulholl...@gmail.comwrote:

 I am popping up a modal window when an ajax event fires.  The event
 has a parameter of which key the user selected.  I know I can get the
 parameters from the AjaxRequestTarget in the onClick event, but in
 ModalWindow.PageCreator.createPage(), how can I get the parameters so
 that I can load the right record into the popup?

 Brian Mulholland
 For every complex problem, there is an answer that is clear, simple and
 wrong.
 --H.L. Mencken
 Politics is the art of looking for trouble, finding it everywhere,
 diagnosing it incorrectly, and applying the wrong remedies.
 --Groucho Marx

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