Infocenter: enabling filtering [message #474921] |
Fri, 19 December 2008 06:03  |
Eclipse User |
|
|
|
I'm working with developing our application's help system (which we expect
would be the infocenter deployed in a WAR to Tomcat).
One of our application's requirements is that the Tables of Content
displayed to the user must vary based on the role the user has within our
application.
I've managed to filter the TOCs displayed by using the filtering
capability... but I've just discovered that the infocenter has filtering
disabled.
Is there any way to turn filtering back on for the infocenter? Or am I
missing something, and there's actually a very good reason why filtering
is off?...
Alternatively, can anyone suggest a different way of filtering the TOCs?
Cheers all,
Oliver Tupman
|
|
|
|
|
|
Re: Infocenter: enabling filtering [message #474974 is a reply to message #474972] |
Tue, 06 January 2009 14:17  |
Eclipse User |
|
|
|
Currently there is no way to turn on filtering in infocenter mode. If I
understand correctly you would like a single infocenter to be able to
vary either the table of contents or the content of individual pages
based on the users role. I have actually been looking into the
feasibility of doing this but it's a fairly large task and is not going
to happen for Eclipse 3.5.
Oliver Tupman wrote:
> Ok, so far answers to my query focus on how to do the filtering - this
> I've implemented by using TOC providers, as mentioned in comment #6 of
> Bug 42907 ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=42907 ).
>
> My main issue issue remains: the help system filters only in workbench
> mode. Is there a way to enable filtering in infocenter mode?
>
|
|
|
Re: Infocenter: enabling filtering [message #622747 is a reply to message #474921] |
Fri, 19 December 2008 12:17  |
Eclipse User |
|
|
|
This sounds very similar to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=42907 The discussion on
that bug report seems to have gone dormant but I think that this is a
good idea, it's just a question of finding the development resources to
do this.
The way filtering works in Eclipse is to preprocess the TOC files during
TOC assembly and exclude any segments that do not apply. For example if
the system is Windows any sections which are tagged as being Linux only
are excluded when the TOC is built. This does not work for the
infocenter because the infocenter needs to support all possible clients
and the TOC is only assembled once. Looking back at this implementation
it might have been better to have flagged the TOC entries with role
information and only present those elements which satisfy the right
criteria.
Maybe you can add a comment to that bug so we can reopen the discussion.
Chris
Oliver Tupman wrote:
> I'm working with developing our application's help system (which we
> expect would be the infocenter deployed in a WAR to Tomcat).
> One of our application's requirements is that the Tables of Content
> displayed to the user must vary based on the role the user has within
> our application.
>
> I've managed to filter the TOCs displayed by using the filtering
> capability... but I've just discovered that the infocenter has filtering
> disabled.
>
> Is there any way to turn filtering back on for the infocenter? Or am I
> missing something, and there's actually a very good reason why filtering
> is off?...
>
> Alternatively, can anyone suggest a different way of filtering the TOCs?
>
> Cheers all,
>
> Oliver Tupman
>
|
|
|
Re: Infocenter: enabling filtering [message #622749 is a reply to message #474966] |
Fri, 19 December 2008 14:53  |
Eclipse User |
|
|
|
Hi Chris,
I think something similar is also mentioned in Bugzilla 252661 as
"filtering of the navigation tree based on Criteria"
A 'role' would be a specific type of criteria.
Bugzilla 252661: https://bugs.eclipse.org/bugs/show_bug.cgi?id=252661
Hope this helps,
Lee Anne
Chris Goldthorpe wrote:
> This sounds very similar to
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=42907 The discussion on
> that bug report seems to have gone dormant but I think that this is a
> good idea, it's just a question of finding the development resources to
> do this.
>
> The way filtering works in Eclipse is to preprocess the TOC files during
> TOC assembly and exclude any segments that do not apply. For example if
> the system is Windows any sections which are tagged as being Linux only
> are excluded when the TOC is built. This does not work for the
> infocenter because the infocenter needs to support all possible clients
> and the TOC is only assembled once. Looking back at this implementation
> it might have been better to have flagged the TOC entries with role
> information and only present those elements which satisfy the right
> criteria.
>
> Maybe you can add a comment to that bug so we can reopen the discussion.
>
> Chris
>
> Oliver Tupman wrote:
>> I'm working with developing our application's help system (which we
>> expect would be the infocenter deployed in a WAR to Tomcat).
>> One of our application's requirements is that the Tables of Content
>> displayed to the user must vary based on the role the user has within
>> our application.
>>
>> I've managed to filter the TOCs displayed by using the filtering
>> capability... but I've just discovered that the infocenter has
>> filtering disabled.
>>
>> Is there any way to turn filtering back on for the infocenter? Or am I
>> missing something, and there's actually a very good reason why
>> filtering is off?...
>>
>> Alternatively, can anyone suggest a different way of filtering the TOCs?
>>
>> Cheers all,
>>
>> Oliver Tupman
>>
|
|
|
|
Re: Infocenter: enabling filtering [message #622764 is a reply to message #474972] |
Tue, 06 January 2009 14:17  |
Eclipse User |
|
|
|
Currently there is no way to turn on filtering in infocenter mode. If I
understand correctly you would like a single infocenter to be able to
vary either the table of contents or the content of individual pages
based on the users role. I have actually been looking into the
feasibility of doing this but it's a fairly large task and is not going
to happen for Eclipse 3.5.
Oliver Tupman wrote:
> Ok, so far answers to my query focus on how to do the filtering - this
> I've implemented by using TOC providers, as mentioned in comment #6 of
> Bug 42907 ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=42907 ).
>
> My main issue issue remains: the help system filters only in workbench
> mode. Is there a way to enable filtering in infocenter mode?
>
|
|
|
Powered by
FUDForum. Page generated in 0.04447 seconds