Skip to main content

[JAVAHELP] "expand=false" not working?

5 replies [Last post]
Anonymous

Reply viewing options

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

John,

Yes it was fixed. Small example:


2.0//EN"
"http://java.sun.com/products/javahelp/toc_2_0.dtd">










The two folders t1 and t2 are initially shown collapsed.

Stephan
--
Software 7 GmbH
*** Helen 1.5 - the JavaHelp tool - now supports JavaHelp 2.0 ***
http://www.software7.biz

At 14:03 08.01.2004, you wrote:
>Did this bug ever get fixed? I'm trying to keep the top-level folders
>from expanding with jh-2.0.1 and it's still expanding them.
>
>-John
>
>Roger Brinkley wrote:
>
>>John Jullion-Ceccarelli wrote:
>>
>>>Hi folks,
>>>
>>>I'm working with the JH2.0 beta and the expand="false" attribute for
>>>tocitem doesn't seem to have any effect. Any idea what I'm doing wrong?
>>>TOC entries below. Thanks,
>>>
>>>-John
>>>
>>> >>>PUBLIC
>>>"-//Sun Microsystems Inc.//DTD
>>>JavaHelp TOC Version 2.0//EN"
>>>"http://java.sun.com/products/javahelp/toc_2_0.dtd">
>>>
>>>
>>> >>>expand="false" >
>>>

>>
>>
>>There is a bug in that it doesn't work on the top-level object. The bug
>>was filed yesterday and will be fixed before V2.0 ships.
>>
>>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.

Eidos
Offline
Joined: 2006-02-17
Points: 0

Instead using expand="false", try expand="0". It should work better. Look in tree.js for insight. The code in there is matching the expandtype="0" instead of "false". Go figure. jh2.0's docmentation has mislead us all:)

Roger Brinkley

javahelp@JAVADESKTOP.ORG wrote:
> Instead using expand="false", try expand="0". It should work better.
> Look in tree.js for insight. The code in there is matching the
> expandtype="0" instead of "false". Go figure. jh2.0's docmentation
> has mislead us all:)

tree.js is not part of the JavaHelp software. It's just a demo piece. It
can have bugs in it. Most of the topic was related to the gui side.
Also, while I haven't checked the code I suspect that false is properly
converted in the xml code to a binary value and hence the tree.js is
correct if it uses 0.

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.

John Jullion-Ceccarelli

Did this bug ever get fixed? I'm trying to keep the top-level folders
from expanding with jh-2.0.1 and it's still expanding them.

-John

Roger Brinkley wrote:

> John Jullion-Ceccarelli wrote:
>
>> Hi folks,
>>
>> I'm working with the JH2.0 beta and the expand="false" attribute for
>> tocitem doesn't seem to have any effect. Any idea what I'm doing wrong?
>> TOC entries below. Thanks,
>>
>> -John
>>
>> >> PUBLIC
>> "-//Sun Microsystems Inc.//DTD
>> JavaHelp TOC Version 2.0//EN"
>> "http://java.sun.com/products/javahelp/toc_2_0.dtd">
>>
>>
>> >> expand="false" >
>>

>
>
> There is a bug in that it doesn't work on the top-level object. The bug
> was filed yesterday and will be fixed before V2.0 ships.
>
> 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.

Per Lundkvist

It is fixed because it works for me.

Per

-----Original Message-----
From: Discussion list of JavaHelp
[mailto:JAVAHELP-INTEREST@JAVA.SUN.COM]On Behalf Of John
Jullion-Ceccarelli
Sent: torsdag januari 8, 2004 14:04
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] "expand=false" not working?

Did this bug ever get fixed? I'm trying to keep the top-level folders
from expanding with jh-2.0.1 and it's still expanding them.

-John

Roger Brinkley wrote:

> John Jullion-Ceccarelli wrote:
>
>> Hi folks,
>>
>> I'm working with the JH2.0 beta and the expand="false" attribute for
>> tocitem doesn't seem to have any effect. Any idea what I'm doing wrong?
>> TOC entries below. Thanks,
>>
>> -John
>>
>> >> PUBLIC
>> "-//Sun Microsystems Inc.//DTD
>> JavaHelp TOC Version 2.0//EN"
>> "http://java.sun.com/products/javahelp/toc_2_0.dtd">
>>
>>
>> >> expand="false" >
>>

>
>
> There is a bug in that it doesn't work on the top-level object. The bug
> was filed yesterday and will be fixed before V2.0 ships.
>
> 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.

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

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.