aspose file tools*
The moose likes JSF and the fly likes add children to panel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
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: 4968
    
    1

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: add children to panel