And this one aswell, grabbed from the other thread:
<script language="javascript" type="text/javascript">
jQuery(document).ready(function(){
if (typeof Wicket != 'undefined' &&
Wicket.Window)
Wicket.Window.unloadConfirmation = false;
});
</script>
2009/4/29 TahitianGabriel <[email protected]>:
>
> With Ajax you should use (instead of onSelectionChanged) :
>
> myDropDown.add(new AjaxFormComponentUpdatingBehavior("onchange") {
> protected void onUpdate(final AjaxRequestTarget varTarget) {
> /* do you stuff here... */
>
> if (varTarget != null) {
> /* update your components */
> varTarget.addComponent(componenToUpdate);
> }
> }
> }
>
> Regards,
>
> Gabriel.
>
>
> Steve Flasby wrote:
>>
>>
>> So, to handle a selection change I would normally use:
>>
>> DropDownChoice::onSelectionChanged(){ return true; }
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Ajax-%2B-DropDownChoice-%2B-ModalWindow-tp23292894p23298704.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]