Well, I don't know if this is exactly what you need but in order to
close a modal window via JavaScript I use the following instruction:

Wicket.Window.get().settings.onCloseButton();


>
> Yes..  please give some suggestion to achieve this requirment
>
>
>
>
> |------------------------------------->
> |            Andrea Del Bene          |
> |            <adelb...@ciseonweb.it>  |
> |                                     |
> |                                     |
> |                                     |
> |            2012/04/17 下午 05:53    |
> |                                     |
> |                                     |
> |                Please respond to    |
> |             users@wicket.apache.org |
> |                                     |
> |------------------------------------->
>   
> >--------------------------------------------------------------------------------------------------------------------------------------------------|
>   |                                                                           
>                                                                        |
>   |                                                                           
>                                                                        |
>   |                                                                           
>                                                                      To|
>   |        users@wicket.apache.org                                            
>                                                                        |
>   |                                                                           
>                                                                      cc|
>   |                                                                           
>                                                                        |
>   |                                                                           
>                                                                 Subject|
>   |        Re: How to minimize window ?                                       
>                                                                        |
>   |                                                                           
>                                                                        |
>   |                                                                           
>                                                                        |
>   |                                                                           
>                                                                        |
>   |                                                                           
>                                                                        |
>   |                                                                           
>                                                                        |
>   
> >--------------------------------------------------------------------------------------------------------------------------------------------------|
>
>
>
>
> Hi,
>
> can you be more specific? What kind of window are you trying to
> minimize? A modal window?
>
> PS: btw, the corporate site of tsmc is built with Wicket :)?
>> Dear All:
>>               I want to add a JS code into the following method to minimize
> the
>> window, but it doesn't work..
>> Could anyone give me some suggestion to solve this issue?
>> Thanks a Millions
>>
>>                                               protected CharSequence 
>> getEventHandler
> ()
>>                                               {
>>                                                               
>> AppendingStringBuffer
> rtnJs=new
>> AppendingStringBuffer("if (!confirm('continue?')) return false;
>> How_to_min_win();");
>>                                                               return 
>> rtnJs.append
> (super.getEventHandler()).append
>> ("; return false;");
>>                                               }
>>
>>
>> Best Regards,
>>
>> BSID/ERP
>> Joan Wang
>>
>>
> ---------------------------------------------------------------------------
>>                                                           TSMC PROPERTY
>>   This email communication (and any attachments) is proprietary
> information
>>   for the sole use of its
>>   intended recipient. Any unauthorized review, use or distribution by
> anyone
>>   other than the intended
>>   recipient is strictly prohibited.  If you are not the intended
> recipient,
>>   please notify the sender by
>>   replying to this email, and then delete this email and any copies of it
>>   immediately. Thank you.
>>
> ---------------------------------------------------------------------------
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>
>  --------------------------------------------------------------------------- 
>                                                          TSMC PROPERTY       
>  This email communication (and any attachments) is proprietary information   
>  for the sole use of its                                                     
>  intended recipient. Any unauthorized review, use or distribution by anyone  
>  other than the intended                                                     
>  recipient is strictly prohibited.  If you are not the intended recipient,   
>  please notify the sender by                                                 
>  replying to this email, and then delete this email and any copies of it     
>  immediately. Thank you.                                                     
>  --------------------------------------------------------------------------- 
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

Reply via email to