Skip to Content

ImageMap not working in PDK

Hi All

I am using the following code to implement an ImageMap in my portal component using jsps.

<% String ImageURL = componentRequest.getWebResourcePath() + "/images/"; %>

http://www.sap.com" />

<hbj:imageMap id="imageMapID" >

<hbj:imageArea areaType="RECTANGLE"

coordinates="0,0,39,30"

link="linkID"

tooltip="Click here to go to the SAP site" />

</hbj:imageMap>

<hbj:image

id="Logo"

imageMapId="imageMapID"

tooltip="People Finder"

width="434"

height="224"

src="<%= ImageURL +"welcome1.jpg" %>"

alt="picture peopleFinder.jpg"

/>

When I compile this and deploy to the local pdk portal i get the following error

java.lang.ClassNotFoundException: com.sapportals.htmlb.taglib.ImageMapTag

Any help on this is very appreciated

Pankaj

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jan 06, 2004 at 04:17 PM

    Stupid trick to get the message at the top of the forum.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2004 at 10:08 AM

    An update, based on the error message "java.lang.ClassNotFoundException: com.sapportals.htmlb.taglib.ImageMapTag" I opened the htmlb.jar from the location "irj ootWEB-INFpluginsportalserviceshtmlblib" using Winzip. And voila this class was not there.

    With this in mind my question is how do I get an updated htmlb.jar file containg the ImageMapTag class. FYI I asked some one who is working on EP60 to check his htmlb.jar file and this class is there.

    Any suggestions are welcome.

    Regards

    Pankaj

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Pankaj Kumar

      Hi Pankaj,

      did you use it in a hbj-tag cell or a standard html <TD> ?

      Do you know a way to access the CM directly to store the images there?

      Cause the par gets too big with some more images attached... thnx!

      Cheers, Jens

      Btw. regarding your Blog:

      I deployed components from eclipse to the pdk remotely but debugging didn`t work so far...

      Maybe a permission thing?

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.