Thanks
serban.balamaci wrote:
>
> Hi.
>
> I need to open a popup page that displays information that is related to
> parameters in the parent page. For example, a popuppage with a list of
> streets, and in the parent i would have a combo with counties ids, name
> and only the street in that county would be shown in the popup. The
> problem is that i would not want to make an unnecesary trip back to the
> server, but by not doing so the model behind the combo of counties is not
> updated, and an invocation on the onClick method of the link and calling
> combo.getModelObject does not return what was selected, since no data is
> passed to the server.
>
> I guess that the problem could be solved by using javascript, but i tried
> and found no solutions to how i could pass the parameters without forcing
> the user to first submit the form and then open the popup.
>
> Temporary solution is an update of the model with
> combo.add(new AjaxFormComponentUpdatingBehavior("onblur") {
> protected void onUpdate(AjaxRequestTarget target) {
> // nothing
> }
> });
>
> Can it be done some other way?
>
> Thanks.
>
--
View this message in context:
http://www.nabble.com/Pass-popup-parameters-from-parent-page-tf3252580.html#a9076917
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user