wood burning stoves 2.0*
The moose likes JSF and the fly likes Add dynamic component to panelgrid with existing component Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Add dynamic component to panelgrid with existing component" Watch "Add dynamic component to panelgrid with existing component" New topic
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: 16019
    
  20

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Add dynamic component to panelgrid with existing component