Skip to main content
1-Visitor
March 25, 2013
Question

Dynamically generate HTML fragment in Data Utility

  • March 25, 2013
  • 1 reply
  • 941 views

Hello all.


I am trying to display custom HTML fragment inside the OOTB attribute panel. I already created a controller that generates the fragment.


HTMLComponent hc = new HTMLComponent(" Goole Link " );


But I need help figuring out how to dynamically generate that HTML. Can i wire my controller into the Data Utility?



1 reply

1-Visitor
March 29, 2013

Hello ,


There are few customisation components available like , URLDisplayComponent which will accept URL and render the page on-click.


Even tool-tip can be set for this component.


UrlDisplayComponent urlDisplayComp = new UrlDisplayComponent(Label,Label, URL,ICON);
urlDisplayComp.setToolTip("Click");


Regards,


Sriram Rammohan