• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

h:data_table tag

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I have following tag in my JSf page.
<h ataTable id="teamInfoTable" value="#{pc_AdminMenu.teamMembers}" var="member">.............
Here value is assigned to backing bean's property which is of Collection type. This collection contains objects of UserInfo bean . Now can anybody tell me how does tag processing happens? I mean how the evaluator come to know class type of objects in the Collection . Because when we call get methos on the collection object it returns it as Object but to use it as UserInfo bean object we have to type cast it into UserInfo class instance. And if i am not wrong java doesn't support runtime type casting . I really wonder how JSF creator acheived this . Plz guide me thru this.
Thanks in advance.

Vab
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic