SmartClient Version: v10.0p_2015-01-20/Pro Deployment (built 2015-01-20)
Hi I trying to create some html to serve as the argument for EventHandler.setDragTracker(String html)
If I create a Label I can get it's html via label.getInnerHTML(), but if I put the Label inside a HLayout then hLayout.getInnerHTML() returns "nbsp;".
Am I misunderstanding the intended functionallity of getInnerHTML or shouldn't it return the html for the layout including all it's members?
TestCase:
Hi I trying to create some html to serve as the argument for EventHandler.setDragTracker(String html)
If I create a Label I can get it's html via label.getInnerHTML(), but if I put the Label inside a HLayout then hLayout.getInnerHTML() returns "nbsp;".
Am I misunderstanding the intended functionallity of getInnerHTML or shouldn't it return the html for the layout including all it's members?
TestCase:
Code:
Label label = new Label("THIS IS A LABEL!"); SC.logWarn("LabelHTML: " + label.getInnerHTML()); // <-- Prints the correct HTML HLayout hLayout = new HLayout(); hLayout.addMember(label); SC.logWarn("HLayout HTML: " + hLayout.getInnerHTML()); // <-- Prints
Comment