on 01-06-2004 4:14 PM
Hi All
I am using the following code to implement an ImageMap in my portal component using jsps.
<% String ImageURL = componentRequest.getWebResourcePath() + "/images/"; %>
<hbj:link id="linkID" reference="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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do you get your images displayed on the Portal if you include it with:
componentRequest.getWebResourcePath() + "/images/";
I tried that for a background image which works fine in the PDK but not in the Portal?
Any ideas?
Cheers, Jens
btw: I couldn`t try the remote deployment from within eclipse because I`m out of office for a while... but I`ll get back to you when I`m back...
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?
Stupid trick to get the message at the top of the forum.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.