and also for some odd reason, spitting out a window.open through
ajaxtarget.appendjavascript() thought (in the ajaxform.onSubmit) works fine
in IE and Mozilla but doesn't on Safari, am not sure why that is, may be
safari doesnt allow popup onload (which i dont think is the case) or
something else....

mfs wrote:
> 
> that i did try out and it does work, where i do a
> ajaxRequestTarget.appendJavaScript(window.open("externalURL")), but the
> part i dont like is in this scenario is that the popup blockers dive in,
> since the window.open is not a result of a click, and i dont want that to
> happen..
> 
> I want to work out a scenario where the popup blockers don't interfere..
> 
> Farhan.
> 
> 
> igor.vaynberg wrote:
>> 
>> why not just spit out some javascript that opens the results window to
>> some bookmarkable url?
>> 
>> -igor
>> 
>> On Wed, Jun 18, 2008 at 11:06 PM, Matthijs Wensveen <[EMAIL PROTECTED]>
>> wrote:
>>> Hmm, that's a hard one, because you have a requestTarget that does not
>>> even
>>> look at the modal window (I think). A solution (albeit a bit hacky) is
>>> to
>>> set some parameter in the session. Then, add an
>>> AbstractAjaxTimerBehaviour
>>> to the modal window that checks for the session parameter in onTimer and
>>> when it is set calls ModalWindow.this.close(target). Of course the
>>> ugliness
>>> lies in the session state tweaking, so if there's a cleaner solution for
>>> that, that would be preferable.
>>>
>>> Matthijs
>>>
>>> mfs wrote:
>>>>
>>>> No i mean a separate browser window, where i display the results of the
>>>> form-submission.
>>>>
>>>> Matthijs Wensveen-2 wrote:
>>>>
>>>>>
>>>>> What do you mean by "submitted in a new window"? The modal window
>>>>> itself?
>>>>> Matthijs
>>>>>
>>>>> 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
>>>>>
>>>>> --
>>>>> Matthijs Wensveen
>>>>> Func. Internet Integration
>>>>> W http://www.func.nl
>>>>> T +31 20 4230000
>>>>> F +31 20 4223500
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Matthijs Wensveen
>>> Func. Internet Integration
>>> W http://www.func.nl
>>> T +31 20 4230000
>>> F +31 20 4223500
>>>
>>> ---------------------------------------------------------------------
>>> 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]
>> 
>> 
>> 
> 
> 

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