• 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

Add dynamic component to panelgrid with existing component

 
Greenhorn
Posts: 8
Hibernate MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I'm using jsf1.2, richfaces 3.3.3.

i was be able to add dynamic component to an empty panelgrid through binding.


but i still have one question :
how to add dynamic components to a panelgrid using my bean knowing that this panelgrid contains other static components that i I do not want to lose?



thinks in advance.

 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The panelGrid is a container, and its children are all located in a sequential list of child components. When you add additional child components to that list, the original (static) components won't be affected unless you actively affect them. Say, by explicitly removing them from their parent's child component list or re-arranging where in the list they're positioned.
 
Ghazi Jamal
Greenhorn
Posts: 8
Hibernate MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Holloway wrote:The panelGrid is a container, and its children are all located in a sequential list of child components. When you add additional child components to that list, the original (static) components won't be affected unless you actively affect them. Say, by explicitly removing them from their parent's child component list or re-arranging where in the list they're positioned.



ok, i now understand.. no impact. resolved !

Thank you Tim.
 
reply
    Bookmark Topic Watch Topic
  • New Topic