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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Jan 06, 2004 at 04:17 PM

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

    Add comment
    10|10000 characters needed characters exceeded

  • 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 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?