Re: Navigate back from Popup-Window

Susanne Schneider <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Hi Jürgen,

Jürgen Lorenz Simon schrieb:
> Selfhtml was the first place I looked. 
I find this recource most valuable, every time I have such problems I 
look there.

>> In either case, sometimes it is better to give the target a custom 
>> name and use that as the target (build a name with some session 
>> value). Since the feature of Firefox that the tabs could be moved 
>> around you will get surprising results if you try to address the 
>> "opener". The page will be most likely directed to the last active 
>> tab, if it belong to your application or not.
> 
> Exactly.  
> 
We had a lot of hassle dealing with that "feature" as we use this kind 
of navigation a lot.

> I found an example which fits a 
> little here: http://en.wikibooks.org/wiki/Programming:WebObjects/Web_Applications/Development/Examples/Open_Link_in_New_Window
> 
> Hyperlink3: WOHyperlink {
>        action = myCustomAction;
>        onclick = "return openInNewWindow(this)";
>        target = "_new";
> }
I think the problem comes from the "onclick" handler wich call a custom 
javascript function to open a separate window. If you just remove that 
and set your target that should be sufficient.

This example seems to be for opening a separate window from the main 
browser window, not from a popup.

Regards,
Susanne
-- 
Susanne Schneider
Coordinator secuSuite Development

iAS interActive Systems GmbH
Dieffenbachstraße 33 c, D-10967 Berlin

fon    +49(0)30 69 00 42 - 05
fax    +49(0)30 69 00 42 - 10
mail   [email protected]
web    http://www.interActive-Systems.de

----------------------------------------------------
Geschäftsführer: Dr. Marko Reschke, Thomas Fritzsche
Sitz der Gesellschaft: Berlin
Amtsgericht Berlin Charlottenburg, HRB 106103B
----------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.