Well its just a requirement where the results are to be shown up in a new
browser window, where a wizard (part of external application) is
launched...with that let me add that if need be i can opt for using a
link/ajax-link too, but i think the problem would still persist...

I didnt think its gonna be that difficult.. 

Nino.Martinez wrote:
> 
> Yes, that were what I was talking about.
> 
> But why do you open a new browser window?
> 
> mfs wrote:
>> well i dont think that will work, the onSubmit is called on the new
>> browser
>> Window, now if i make my form to be an ajaxForm doing a
>> model.close(ajaxtarget) wouldnt work, since the control is a seperate
>> window
>> now...i hope i am making sense...
>>
>> So basically here is what i will be doing if i make the form submission
>> ajax-based ...
>>
>>             protected void onSubmit(AjaxRequestTarget arg)
>>             {
>>               urlToTheExternalPage = "http://";;
>>               getRequestCycle().setRequestTarget(
>>                     new RedirectRequestTarget(urlToTheExternalPage ));
>>               modalWindow.close(arg));
>>             }
>>
>>
>>
>> Nino.Martinez wrote:
>>   
>>> Just provide the modal window to the form and call modalwindow.close in 
>>> the form..?
>>>
>>> mfs wrote:
>>>     
>>>> Guys,
>>>>
>>>> I am posting this question yet again, hoping to get some feedback...
>>>>
>>>> The problem is regarding modal windows, as to how close it, when a form
>>>> (within it) is submitted in a new window. Any suggestions
>>>>
>>>>
>>>> Thanks in advance 
>>>>   
>>>>       
>>> -- 
>>> -Wicket for love
>>>
>>> Nino Martinez Wael
>>> Java Specialist @ Jayway DK
>>> http://www.jayway.dk
>>> +45 2936 7684
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>>     
>>
>>   
> 
> -- 
> -Wicket for love
> 
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Modal-Window-question-tp17989203p17998439.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]

Reply via email to