Skip to Content
author's profile photo
Former Member

HTML-B Link Control

Hi,

I have created an iView from a PAR file on EP6 SP2. The iView provides a link written in HTML-B to a LiveLink Content Management Server. Here's the piece of code that provides the link:

<b>Link myLink = new Link("Link");

myLink.addText("Link to the Server!");

myLink.setTooltip("Connect to the Server");

myLink.setId("cmp");

myLink.setReference("http://172.13.18.99/ll.exe");

myLink.setTarget("_top");

myForm.addComponent(myLink);</b>

This iView is placed on a page that has four other iViews too.

When I click the link, the link should open in the iView itself, displaying the login page of LiveLink. In my case, the link opens up a session with the LiveLink Server, occupying the whole screen. Thus, I am not able to view the Portal screen anymore. To view my other iViews, I have to press the 'Back' button of my browser.

I think that this behavior is controlled by the setTarget() method of the Link. But somehow, it is not working.

If anybody of you has any ideas or suggestions on this, please let me know.

Thanks and Regards,

Sagar.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Mar 17, 2004 at 09:53 AM

    By using the setTarget of _top it is telling the link to replace the whole browser with the contents. You should consider using the other target options

    D

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I have the same problem and i tried _self and _parent, but the iview is always loaded into a new window.

      As a workaround I´m trying to use the EPCM.doNavigte method, but I don´t find any documentation about it.

      Alexander