[mapguide][MG94][Modified] DWF Viewer not opening feature URL links in new window when ...

Walt Welton-Lair walt.welton-lair at autodesk.com
Fri Mar 10 17:53:07 EST 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG94

Type:
Defect

Artifact ID:
MG94 (DWF Viewer not opening feature URL links in new window when set to NEW WINDOW in web layout)

Modified by:
Walt Welton-Lair
waltweltonlair (walt.welton-lair at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Resolution Description set to new value:
Code fix has been submitted.

-- Resolution set to new value:
Submitted
-- Artifact Status changed:
Old value:
New
New value:
Resolved
-- Developer Notes set to new value:
The problem was that the HyperlinkTarget parameter used by the DWF Viewer was getting set to an empty string.  When DWF Viewer opens a link, it first checks if it is running embedded.  If so it calls the IWebBrowser::Navigate method on the parent browser (in our case an IE browser control), passing it a target frame parameter.  If this parameter is empty or NULL then the default behavior for Navigate seems to be to navigate to the link using the same window.

The documentataion for IWebBrowser::Navigate says to use "_BLANK" as the target frame name if you want to open the link in a new window.  I updated the web extension code to use this string, and now the behavior is as expected.

-- Summary changed:
Old value:
DWF Viewer not opening feature URL link in NEW WINDOW when set to NEW WINDOW in web layout
New value:
DWF Viewer not opening feature URL links in new window when set to NEW WINDOW in web layout



---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list