Skip to main content

[JAVAHELP] Using context sensitive

1 reply [Last post]
Anonymous

I have a problem using context sensitive help.
The problem is as follows:

1. I am using the same htm file in different items of the toc file, that is
because in different parts of my application the same panel is used in
several different parts.

2. The problem is that when i am going to set the mapID for the panel (using
the CSH.setHelpIDString()) all the ocurrences in the toc have the same
mapId.

How can i specify to the javahelp CSH which one of the toc items I want to
select?

In the mapID file there is only one mapId:

The toc file looks like this:

The ndx file looks like this:

Thanks everyone for your help,

Juan Daniel Riveros

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Roger Brinkley

Juan Daniel Riveros wrote:
> I have a problem using context sensitive help.
> The problem is as follows:
>
> 1. I am using the same htm file in different items of the toc file, that is
> because in different parts of my application the same panel is used in
> several different parts.
>
> 2. The problem is that when i am going to set the mapID for the panel (using
> the CSH.setHelpIDString()) all the ocurrences in the toc have the same
> mapId.
>
> How can i specify to the javahelp CSH which one of the toc items I want to
> select?
>
>

Use two mapIDs, both pointing to the same file

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.