[Image] EchoPoint
Helping you build truly dynamic and stateful web applications!
nothing

HtmlTemplatePanel   Click here for complete JavaDoc

The HtmlTemplatePanel is one of the more interesting and powerful components provided by EchoPoint.  It allows you to use HTML as a template into which you can place Components.  It is fully discuss in the article Using The HtmlTemplatePanel Component.

 


 

 

 

 

 

 


java.net.URL urlTemplate = getResource(templateFile);



template = new HtmlTemplatePanel();

template.setTemplate(urlTemplate);



template.add(new TextField(), "textfield1");

template.add(new DatePicker(), "datepicker1");

template.add(moreInfo, "moreInfo");



ButtonGroup group = new ButtonGroup();

for (int i = 0; i < 4; i++) {

RadioButton b = new RadioButton("Radio " + (i + 1));

group.add(b);

template.add(b, "radioButton=" + i);

}



template.add(new SelectField(), "select1");

template.add(new ListBox(), "list1");



pane.add(template);

Client Browser Support :

All clients supported by the Echo Framework.


Home

SourceForge Logo

The EchoPoint project is kindly hosted by SourceForge