Skip to main content

[JAVAHELP] Testing Helpset hsviewer

13 replies [Last post]
Anonymous

In my foolishness, I thought that integrating the JavaHelp system with our rather complex application was going to be the tricky party. Silly me, what was I thinking?

I created three help topics (html files)
I created the HelpSet file
I created the map file
I created the toc file
I created the index file

Basically I cloned one of the demos (The simplest of them) and pointed the map at my topics and changed some of the labels of things. Fundamentally no rocket science involved.

hsviewer runs just fine, but it neither displays the TOC, nor any of the help files. No errors, no messages, just nothing in the viewer. Any thoughts comments or suggestions would be most welcome. I know this is kind of a cryptic question, but I don't want to clutter the board with pages of xml if I don't have to.

Thank you very kindly for any help.

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

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.
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
brinkley
Offline
Joined: 2003-06-06
Points: 0

Bad mapref definition. It should be

Binky

brinkley
Offline
Joined: 2003-06-06
Points: 0

Bad mapref definition. It should be

Binky

brinkley
Offline
Joined: 2003-06-06
Points: 0

What the directory layout? Include the actual files.

Binky

brinkley
Offline
Joined: 2003-06-06
Points: 0

What the directory layout? Include the actual files.

Binky

chrism
Offline
Joined: 2003-06-19
Points: 0

You have a wrongly defined mapref tag

main
mapref location="Area51.jhm"/>

it should read

main

chrism
Offline
Joined: 2003-06-19
Points: 0

You have a mis-defined mapref tag

main
mapref location="Area51.jhm"/>

it should read

main

Anonymous

I wanted to thank everybody for their help. I did get it working. Turned out to be multiple problems in the .hs file that have been corrected now and it's working fine.

Thanks again.

Tryon, Jason P.

Thanks Chris, unfortunately no change in behavior after making that change. I'll keep digging on it.

-----Original Message-----
From: Chris Morris [mailto:Chris.Morris@SAACONSULTANTS.COM]
Sent: Wednesday, October 08, 2003 9:59 AM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Testing Helpset hsviewer

JTyron Wrote:

>Ok, since I'm not making any progress on this, I'm going to resort to
posting the code and see if anybody can smack me in >the head and show me
what I'm doing wrong.

>Here's the .hs file (Area51.hs)...........

You have a wrongly defined mapref tag

main
mapref location="Area51.jhm"/>

it should read

main

Hope this helps.

Chris

====================================================
Chris Morris
Technical Author
SAA Consultants Ltd
http://www.saaconsultants.com
http://www.reims.net
====================================================

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

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.

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

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.

Richard Gregor

Hi Tyron,
there are few problems -
encoding should be ISO-8859-1 not ISO-8859-01
mapref... instead of in search view use "data engine" instead of "dataengine"

let me know if it works for you - for me it works.
Richard

Tryon, Jason P. wrote:

>Thanks Chris, unfortunately no change in behavior after making that change. I'll keep digging on it.
>
>-----Original Message-----
>From: Chris Morris [mailto:Chris.Morris@SAACONSULTANTS.COM]
>Sent: Wednesday, October 08, 2003 9:59 AM
>To: JAVAHELP-INTEREST@JAVA.SUN.COM
>Subject: Re: [JAVAHELP] Testing Helpset hsviewer
>
>
> JTyron Wrote:
>
>
>
> >Ok, since I'm not making any progress on this, I'm going to resort to
> posting the code and see if anybody can smack me in >the head and show me
> what I'm doing wrong.
>
> >Here's the .hs file (Area51.hs)...........
>
>
>
>
>
>You have a wrongly defined mapref tag
>
> main
> mapref location="Area51.jhm"/>
>

>it should read
>
> main
>
>

>
>Hope this helps.
>
>Chris
>
>====================================================
>Chris Morris
>Technical Author
>SAA Consultants Ltd
>http://www.saaconsultants.com
>http://www.reims.net
>====================================================
>
>********************************************************************************
>
>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.
>
>********************************************************************************
>
>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.
>
>
>

--
Sun Microsystems Czech s.r.o.
Evropsk� 33E
160 00 Praha 6 - Dejvice

Tel.: +420-2-3300-9246
Fax.: +420-2-3300-9299
mail.: Richard.Gregor@sun.com

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

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.
[att1.html]

Chris Morris

JTyron Wrote:

>Ok, since I'm not making any progress on this, I'm going to resort to
posting the code and see if anybody can smack me in >the head and show me
what I'm doing wrong.

>Here's the .hs file (Area51.hs)...........

You have a wrongly defined mapref tag

main
mapref location="Area51.jhm"/>

it should read

main

Hope this helps.

Chris

====================================================
Chris Morris
Technical Author
SAA Consultants Ltd
http://www.saaconsultants.com
http://www.reims.net
====================================================

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

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.

Anonymous

Ok, since I'm not making any progress on this, I'm going to resort to posting the code and see if anybody can smack me in the head and show me what I'm doing wrong.

Here's the .hs file (Area51.hs)

[code]

PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN"
"http://java.sun.com/products/javahelp/helpset_1_0.dtd">

Area 51 Help System


main
mapref location="Area51.jhm"/>


TOC

javax.help.TOCView
Area51TOC.xml


Index

javax.help.IndexView
Area51Index.xml


Search

javax.help.SearchView

MasterSearchIndex


[/code]

And here's the .jhm file (Area51.jhm)

[code]

PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Map Version 1.0//EN"
"http://java.sun.com/products/javahelp/map_1_0.dtd">





[/code]

and finally the toc file (Area51TOC.xml)

[code]

PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN"
"http://java.sun.com/products/javahelp/toc_1_0.dtd">








[/code]

All suggestions gratefully accepted.

Regards,

Jason

chrism
Offline
Joined: 2003-06-19
Points: 0

You have a mis-defined mapref tag

main
mapref location="Area51.jhm"/>

it should read

main

Roger Brinkley

Tryon, Jason P. wrote:
> In my foolishness, I thought that integrating the JavaHelp system with
> our rather complex application was going to be the tricky party. Silly
> me, what was I thinking?
>
> I created three help topics (html files)
> I created the HelpSet file
> I created the map file
> I created the toc file
> I created the index file
>
> Basically I cloned one of the demos (The simplest of them) and pointed
> the map at my topics and changed some of the labels of things.
> Fundamentally no rocket science involved.
>
> hsviewer runs just fine, but it neither displays the TOC, nor any of the
> help files. No errors, no messages, just nothing in the viewer. Any
> thoughts comments or suggestions would be most welcome. I know this is
> kind of a cryptic question, but I don't want to clutter the board with
> pages of xml if I don't have to.

Hum. If the TOC isn't displayed then I would assume you have some type
of error in the toc file. Look at closely or use the xml validator
that's described somewhere in the archives. Also make sure your file
hierarchy is set up correctly as it was in the demos.

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.