• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I have doubt in this code.

 
anitha vasikarla
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if (templateList != null && !templateList.isEmpty()) {
templateLable = new ArrayList();
for (int i = 0; i < templateList.size(); i++) {
Template lableValueset = (Template) templateList.get(i);
if (lableValueset != null) {
LabelValueBean lvb = new LabelValueBean(lableValueset.getTemplateName(),


In this code "LabelValueBean " used what is the use of that one,how it works.
 
Laxmikant Ruikar
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by anitha vasikarla:
if (templateList != null && !templateList.isEmpty()) {
templateLable = new ArrayList();
for (int i = 0; i < templateList.size(); i++) {
Template lableValueset = (Template) templateList.get(i);
if (lableValueset != null) {
LabelValueBean lvb = new LabelValueBean(lableValueset.getTemplateName(),


In this code "LabelValueBean " used what is the use of that one,how it works.



Hi Anitha

LabelVauleBean is bean to represent label-value pairs. It is use to construct <html ptions> elements which have a label to display and corresponding value to return to the server

LDR
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic