Skip to Content
0
Former Member
Sep 29, 2005 at 11:13 PM

BSP tableview iterator question

29 Views

Hi all experts,

I try to use iterator in my tableview in order to make

one of my column an URL link.

Here is some code section in RENDER_CELL_START method:

case p_column_key.

when 'URL'.

check m_row_ref->url is not initial.

create object col1_lnk.

col1_lnk->id = p_cell_id.

col1_lnk->tooltip = 'Open'.

col1_lnk->onclick = 'PartnerDetail'.

col1_lnk->text = 'Document Link'.

col1_lnk->reference = m_row_ref->url.

col1_lnk->target = '_blank'.

p_replacement_bee = col1_lnk.

endacse.

The display is fine and link contains the right URL.

However the problem is that when I click on this

link, it won't launch a new window to show this document.

Nothing happens.

But I can right click on this link and choose OPEN from the context menu to launch it w/o any problem.

How can I make it launch a new window automatically to show the content whenever I click on a link?

Thank you very much,

Bin