| Author |
Add dynamic component to panelgrid with existing component
|
Ghazi Jamal
Greenhorn
Joined: Sep 07, 2011
Posts: 8
|
|
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
Joined: Jun 25, 2001
Posts: 14460
|
|
|
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.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Ghazi Jamal
Greenhorn
Joined: Sep 07, 2011
Posts: 8
|
|
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.
|
 |
 |
|
|
subject: Add dynamic component to panelgrid with existing component
|
|
|