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.

...

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<ui:Text><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:

...