This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 21962 - help for plug-in tabs doesn't seem to work
Summary: help for plug-in tabs doesn't seem to work
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: -FFJ-
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-29 08:27 UTC by Roger Blumer
Modified: 2003-07-01 15:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch for Composite look and web module (1.97 KB, patch)
2002-04-02 12:24 UTC, _ rkubacki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roger Blumer 2002-03-29 08:27:24 UTC
I tried setting a help-id for my RI plug-in tab on the web module (web.xml file),
but hitting F1 when the RI tab is being displayed still shows the general web.xml 
help page.

The code I used was (inside RIWebTopItem.createSheetSets())
Comment 1 Roger Blumer 2002-03-29 08:30:19 UTC
(sorry for the incomplete description; I was clicking between browser 
& code editor and clicked on the Commit button by accident)
As I was saying:

The code I used was (inside RIWebTopItem.createSheetSets()):
	ps.setValue("helpID", 
"propertysheets_web_module_prop_ri_html");//NOI18N


which works OK for the ejb, ejb-module, and app-asm property sheets.
Is this a bug, or do I need to use a different call for the web-module 
to enable a separate help page for the RI tab?
Comment 2 leslie-robertson 2002-04-01 17:29:18 UTC
Roger, I don't know the answer to your question, but Damian Frach or
Milan Kucktiak probably do. I agree that the ctx-sensitive help needs
to be enabled at the tab level. Once this is implemented, here are the
proper IDs:

* For the Deployment tab of the web.xml property sheet, the help id
should be:  dd_properties
* For the References tab of the web.xml property sheet, the help id
should be:  dd_references
* For the Security tab of the web.xml property sheet, the help id
should be: dd_security
* As there are no properties related to Tomcat on the web.xml property
sheet, there is no ctx_help required for that tab. 
* Help for the other tabs of the web.xml property sheet will be
provided by the teams developing those plugins. 
Comment 3 _ rkubacki 2002-04-02 12:24:05 UTC
Created attachment 5260 [details]
patch for Composite look and web module
Comment 4 _ rkubacki 2002-04-02 12:27:33 UTC
This requires proper copying of helpID attribute in CompositeLook when
property sets are merged. Patch for this is attached. Yarda, can you
review it?
Comment 5 Jaroslav Tulach 2002-04-02 12:58:15 UTC
I have no connection to those deprecated org/openidex/looks. I'am
CCing Hrebejk.
Comment 6 Petr Hrebejk 2002-04-03 08:29:21 UTC
I think that the proposed patch should be applyied. Feel free to do so. 
Comment 7 _ rkubacki 2002-04-03 17:22:30 UTC
The patch is applied
Comment 8 Petr Jiricka 2002-04-24 16:19:43 UTC
Assigning to openidex.
Comment 9 Quality Engineering 2003-07-01 15:47:32 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 10 Quality Engineering 2003-07-01 15:52:50 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.