|
From: Peter De B. <pet...@gm...> - 2007-09-18 13:24:14
|
Benoit,
some code/pointers to get you started:
Context sensitive help in forms:
- the JavaHelpFormComponentInterceptorFactory has to be defined in your list
of form component interceptors, and the helpSetPath property has to point to
your helpset location.
- make sure your FormModel has an id, otherwise only the property name will
be used
- create entries in your <xxxxxx>.jhm files (one for each form property):
<mapID target="<formModelId>.<property>" url="path to html
help file"/> <!-- path to html file can contain named anchor, so you can
bundle all information about one form in one html file, divided in sections
using named anchors-->
- when you open your form, press F1 when in a form component, the help wil
open and jump to the correct html file
- JavaHelpFormComponentInterceptorFactory will be committed to svn, when I
have time ;-), but still needs some cleanup (error handling, ...)
The method above uses <formModelId>.<property> as helpkey. A future version
could first check for a helpKey entry in a properties file, and fall back to
the <formModelId>.<property> behaviour.
Hope this helps,
Peter
On 9/18/07, Benoit Xhenseval <bx...@ob...> wrote:
>
> Hi *,
>
>
>
> I'd like to benefit from our experience here. Have you developed some
> JavaHelp?
>
> If so, which tool did you find easiest to keep a "manual" as well as a
> javahelp export?
>
>
>
> How did you integrate it in a SpringRC application? I have used the
> HelpContentCommand:
>
> org.springframework.richclient.command.support.HelpContentsCommand
>
>
>
> This is useful, however, has anyone done some Context-sensitive help? Is
> there any support in Spring RC for it? An "F1" key?
>
> Like the ability to specify a help path for a view or a field? We have
> the .label, .caption, .icon, .image fields etc it would be great to add a
> .helpPath or something similar with an overlay…
>
>
>
> Any suggestion, comment, experience, code would be welcomed!
>
>
>
> Many thanks, as usual,
>
>
>
> Benoit.
>
>
>
> -------------------------------
>
> IMPORTANT NOTICE This communication contains information that is
> considered confidential and may also be privileged . It is for the exclusive
> use of the intended recipient(s). If you are not the intended recipient(s)
> please note that any form of distribution, copying or use of this
> communication or the information in it is strictly prohibited and may be
> unlawful. If you have received this communication in error please return it
> to the sender and delete the original.
>
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.487 / Virus Database: 269.13.22/1013 - Release Date:
> 17/09/2007 13:29
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Springframework-rcp-dev mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev
>
>
|