• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

I have doubt in this code.

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic