Skip to Content
0
Former Member
Mar 17, 2004 at 05:34 AM

HTML-B Link Control

27 Views

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.