This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes add children to panel Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "add children to panel" Watch "add children to panel" New topic
Author

add children to panel

madhubabu angadala
Greenhorn

Joined: Apr 11, 2009
Posts: 8
hi i am getting data from ajax call..how to add that data to the jsf panel .
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4967

Simply iterate through the data, adding each data element into a new child. It's easy!

What does your code look like? Where are you having the problem? Can you get it to work without using an Ajax call? What is the complexity or problem that Ajax has introduced that wasn't there when you weren't doing an Ajax call?

-Cameron McKenzie


Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: add children to panel
 
Similar Threads
Resizing issues in JTree
JScrollPane - More than One Component
JPanel
how to set this a borderq
how to add background image to applet