Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Add dynamic component to panelgrid with existing component

 
Ghazi Jamal
Greenhorn
Posts: 8
Hibernate Java MySQL Database
  • Mark post as helpful
  • send pies
  • 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.

 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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 Java MySQL Database
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic