Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to add a context-sensitive help question-mark icon and hook it up.

Add the help text content to the HelpMessages.properties file:

discussionForum = The Synapse team is happy to announce the release of the new Discussion feature to help your team create a record of communications within your project.

...

xmlns:h="urn:import:org.sagebionetworks.web.client.help"

<ui:with field='help' type='org.sagebionetworks.web.client.help.HelpMessages' />

<h:HelpButton href="https://docs.synapse.org/discussionForum" placement="RIGHT">
         <bh:Text><ui<ui:text from='{help.discussionForum}'/></bh:Text>>
</h:HelpButton>

This results in an icon with popover help, where the Learn More button will open your href in a new window:

...