Hi,
How do I use html:label in java file?
Say, I want to produce the following from my java file:
<html:label> test label </html:label>
I tried this:
import org.zkoss.zul.Html;
public class TestLabel {
private Label testLabel;
TestLabel() {
testLabel.setTextContent("test label");
}
}
This throws an error as there is no such method as setTextContent for a label. Which method do I use to achieve this?
Thanks, Sony