cancel
Showing results for 
Search instead for 
Did you mean: 

HTMLB Link issue

Former Member
0 Kudos

Hi all,

We have a trouble using htmlb link object.

How can I link an image?

I'm using the following code but no work's:

<hbj:link

id="search"

text=""

target="_TOP"

onClick="search_now" />

<hbj:image

src="advanced.gif"

alt="" />

</hbj:link>

Can anyone help us?

Thanks in advance,

David

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

How to call onClientClick(Javascript) event ,using htmlb:Link.

I am getting NO ATTTIBUTE FOUND ERROR .

any suggestions please,

Regds,

Anto.

detlev_beutner
Active Contributor
0 Kudos

Hi Anto,

it's a bug within HTMLB, see

I don't know if someone (e.g. MS) has opened an OSS for this, but it seems that this is not the case, for in EP6 SP2 P27 the bug still exists...

It's not my trouble, it's yours, so I kindly ask you to help SAP getting rid of this one-thousand-years-old-wearing-white-beard-bug... and open an OSS message.

Hope it helps &

have a nice weekend

Detlev

detlev_beutner
Active Contributor
0 Kudos

Hi David,

try this

Hope it helps

Detlev

Former Member
0 Kudos

Hi,

I can display correctly the image, but the link no work's.

thank's in advance,

david

detlev_beutner
Active Contributor
0 Kudos

Hi David,

just trying your approach, it works as expected. The only error in your code was the trailing slash

<hbj:link id="search" text="" target="_TOP" onClick="search_now" <b>/</b>>

This closes the link tag before the image comes up. If this is not a typo but also to be found in your code, just kill it.

Hope it helps

Detlev

Former Member
0 Kudos

Great,

thanks for your help,

david

detlev_beutner
Active Contributor
0 Kudos

Hi David,

you're welcome. Please consider awarding points for helpful answers like this (using the yellow star).

Thanks in advance

Detlev