Skip to main content

[JAVAHELP] Javahelp, WWP and Favorites view

3 replies [Last post]
Anonymous

After a long hiatus, I'm returning to the world of JavaHelp (and discovering
that I've forgotten more than I originally knew :-) ). Right now, I'm trying
to add in the Favorites view. I seem to have most of it working. But, for
some of the topics, the favoriteitem text value does not match the title of
the topic. Instead, for the first page in the help set, I'm getting a value
of Home page. For some of other topics, I get the same name of a specific
topic no matter which of the multiple topics I select. (all of these topics
are in the same FrameMaker source file).

Then, there are a bunch of files (from another Frame source file) that work
as expected.

I've checked my FrameMaker files and WWP mappings and all looks as it
should. Has anyone run into this weirdness? Does the head level of the text
matter to the Favorites feature?

(Latest version of JavaHelp, java version 1.4.2_05, FrameMaker 7.1, WWP
8.0.5.1556)

thanks for any guidance.

Joan Goldstein
Technical Writer
Connected Corporation
508-808-7327

"Just as the hand, held before the eye,
can hide the tallest mountain, so the
routine of everyday life can keep us
from seeing the vast radiance and
secret wonders that fill the world."

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

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.
Joan Goldstein

Thanks! I think the problem in my environment was that I had a style mapped
to the WWP style "Title". Once I took that away, the Favorites worked
appropriately.

I don't plan to actually ship a product with a populated Favorites
file...but I had to test it to make sure I edited the hs file correctly. ;-)

But...now I'm VERY curious about the nasty bug. We're not shipping until
March so I'm hoping the new JavaHelp will be out before then ;-)

Joan Goldstein
Technical Writer
Connected Corporation
508-808-7327

"Just as the hand, held before the eye,
can hide the tallest mountain, so the
routine of everyday life can keep us
from seeing the vast radiance and
secret wonders that fill the world."

-----Original Message-----
From: Roger Brinkley [mailto:Roger.Brinkley@SUN.COM]
Sent: Wednesday, October 06, 2004 11:33 AM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Javahelp, WWP and Favorites view

Joan Goldstein wrote:

> After a long hiatus, I'm returning to the world of JavaHelp (and
> discovering that I've forgotten more than I originally knew :-) ). Right
> now, I'm trying to add in the Favorites view. I seem to have most of it
> working. But, for some of the topics, the favoriteitem text value does
> not match the title of the topic. Instead, for the first page in the
> help set, I'm getting a value of Home page. For some of other topics, I
> get the same name of a specific topic no matter which of the multiple
> topics I select. (all of these topics are in the same FrameMaker source
> file).

Favorites uses it's own title. Generally that is derived from the
document's Title but lacking a title will use the first H1 it
encounters. You shouldn't be populating the Favorites file as that is
generally done by users. I guess you could populate it with some key
elements, except that it's a user file and would be hard to get to.

Also there is a nasty bug in Favorites that is fixed in the next release
( and don't anyone ask me when that is).

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.

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

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]

Roger Brinkley

Joan Goldstein wrote:

> Thanks! I think the problem in my environment was that I had a style
> mapped to the WWP style "Title". Once I took that away, the Favorites
> worked appropriately.
>
> I don't plan to actually ship a product with a populated Favorites
> file...but I had to test it to make sure I edited the hs file correctly. ;-)
>
> But...now I'm VERY curious about the nasty bug. We're not shipping until
> March so I'm hoping the new JavaHelp will be out before then ;-)

Significantly before. It's going into the cinnabar release of the
JavaDesktop Operating System which is due out the end of this month.

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.

Roger Brinkley

Joan Goldstein wrote:

> After a long hiatus, I'm returning to the world of JavaHelp (and
> discovering that I've forgotten more than I originally knew :-) ). Right
> now, I'm trying to add in the Favorites view. I seem to have most of it
> working. But, for some of the topics, the favoriteitem text value does
> not match the title of the topic. Instead, for the first page in the
> help set, I'm getting a value of Home page. For some of other topics, I
> get the same name of a specific topic no matter which of the multiple
> topics I select. (all of these topics are in the same FrameMaker source
> file).

Favorites uses it's own title. Generally that is derived from the
document's Title but lacking a title will use the first H1 it
encounters. You shouldn't be populating the Favorites file as that is
generally done by users. I guess you could populate it with some key
elements, except that it's a user file and would be hard to get to.

Also there is a nasty bug in Favorites that is fixed in the next release
( and don't anyone ask me when that is).

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.