Hi, see inline


My current problems are related to container components. When I remove
container components odd things happen. Removing component a results
in the entire component subtree not being rendered.

? Maybe i don't understand you correct, if you remove the parent why
did you expect the children are rendered?

If I remove
container b I fail to get any response for the HTTP request,

and if I
remove both I get an error about MyFaces not being able to add a child
node (see below).

What did you mean with remove both ? When you removing a the entire
subtree is removed.

Plese post the code for adding an removing. did you already assign
uniqe ids to all created components, the exception says someting about
dublicate ids. Also add ids to all tags to identifiy the problematic
components.



Here's what the component tree looks like:

h:panelGrid             # a) custom components not rendered if removed
-- my:inputSelectSet
---- HtmlPanelGrid      # b) no response if removed

------ HtmlPanelGroup # this subhierarchy can repeat 1-n times
-------- HtmlOutputLabel
-------- MyInputSelect
---------- UIInput
---------- HtmlSelectManyListBox

---- ...


Here's the exception I'm getting:

javax.faces.FacesException: cannot add component with id '_idJsp3 to
its parent component with id : '_idJsp0' and path '{Component-Path :
[Class: javax.faces.component.UIViewRoot,ViewId:
/jsp/reportParameters.jspx][Class:
javax.faces.component.html.HtmlForm,Id: _idJsp0]}'at position :2 in
list of children. This might be a problem due to a duplicate id in a
previously added component,if this is the case, the problematic id
might be one of : _idJsp1,_idJsp2

Regards,
 Volker

Reply via email to