Thanks so much Craig. JV Craig McClanahan-3 wrote: > > On 9/30/06, Jorge V?squez <[EMAIL PROTECTED]> wrote: >> >> Thanks Craig, >> >> Another question: After finding a component how can I erase it from the >> tree in order to force its "rebinding" during the RenderResponse phase. >> > > Every component has a couple of very useful properties that tie the tree > together: > > * parent (of type UIComponent) -- the component that is the parent of > this > component in the tree > > * children (of type java.uitl.List) -- the list of children components of > this component in the tree. > > Whey you manipulate these values, you are explicitly modifying the > structure > of the tree. Thus, to delete a particular component from its parent: > > UIComponent component = ...; // The component to be deleted > component.getParent().getChildren().remove(component); // Remove this > component from its parent > > Craig > >
-- View this message in context: http://www.nabble.com/Low-level-myFaces-component-maniulation...-tf2363297.html#a6585201 Sent from the MyFaces - Users mailing list archive at Nabble.com.

