This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Adding components dynamically based on data retrieved!!  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
Can you help to sort out this problem... I need to dynamically show a jsf page depending on the data retrieved from the database. This means that based on the data I need to add labels and components like prepopulated drop downs etc to the page which again can be submitted to retrieve the data selected by the user.
Is there a way that exist to solve the problem?? Are there any examples related to the same?? I'd highly appreciate if someone can render help to the same!!
Thanks.
 
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what type of way are you looking for ? I have done something similar to what you have described and for creating the labels and other fields dynamically i had to code it in the backing bean .. create HtmlPanelGroup, HtmlPanelGrid and add your components to the grid..

Thanks,
 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also have similar kind of requirement..wherein i have to create components based on type,which comes from the backened server. I have to create these components in datatable, which i have binded in my backing beans.
I think im close to gettting it..wil post once i acheive it.

thanks
ved
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!