This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes h:data_table tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "h:data_table tag" Watch "h:data_table tag" New topic
Author

h:data_table tag

Vab Gandhi
Greenhorn

Joined: Jul 29, 2004
Posts: 6
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: h:data_table tag