Problem with context/dynamic help [message #605388] |
Wed, 12 December 2007 17:09 |
Philipp Simon Messages: 26 Registered: July 2009 |
Junior Member |
|
|
Hey
i got following setup here:
an editor containing a form.
the form contains a scrolledcomposite on its body.
the scrolledcomposite contains another composite with some inputfields on
it.
My goal was to open a dynamichelp view and depending on which composite is
the current "setContent" one for the scrolledcomposite, let the help view
display another context. to achieve that i defined some contexts, bound
those to the composites via .getHelpSystem().setHelp(composite,contextid)
and set focus to the composite when its set as content for the
scrolledcomposite.
Well the problem is it simply doesnt want to work. When i do it like that
the help view does not recognize the new context when i swap the
composites inside the scrolled one (it does not even recognize the first
Composite somehow).
I allready tested if the contexts maybe dont work by simply putting 2 of
the inputcomposites next to each other. when i do it like that it works
and depending on which composite one clicks the helpview shows the fitting
context.
Well maybe someone has an idea on what could be the problem in this
scenario.
many thanks in advance
Philipp
|
|
|
Powered by
FUDForum. Page generated in 0.03274 seconds