IDEMPIERE-4007 Allow to use set Tool Tip text in the right Help panel from code. i.e in Forms
This commit is contained in:
parent
65673117c1
commit
e32d1f4312
|
@ -203,6 +203,11 @@ public class HelpController
|
||||||
*/
|
*/
|
||||||
public void renderToolTip(String hdr, String desc, String help, String otherContent)
|
public void renderToolTip(String hdr, String desc, String help, String otherContent)
|
||||||
{
|
{
|
||||||
|
if (Util.isEmpty(hdr) && Util.isEmpty(otherContent))
|
||||||
|
pnlToolTip.setVisible(false);
|
||||||
|
else if (!pnlToolTip.isVisible())
|
||||||
|
pnlToolTip.setVisible(true);
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append("<html>\n<body>\n<div class=\"help-content\">\n");
|
sb.append("<html>\n<body>\n<div class=\"help-content\">\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue