myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Schofield <>
Subject Re: Another bug in h:selectBooleanCheckbox while embeded in a x:dataTable
Date Tue, 08 Feb 2005 21:07:34 GMT

If I understand you correctly, the problem applies to h:/x:dataTable. 
Can you provide us a simple example to look at that demonstrates the
problem?  Please leave the tabbed panel stuff out of the example in
order to simplify things.

While I am awaiting your example, I have a theory.  There are some
tricky issues with components that manage their own children.  I
learned this while doing some research for the new tree component I am
working on.  In dataTable (and simliar components) you need to make
sure that the submitted values get passed all the way through to the
child components in the appropriate manner.

When I looked at the MyFaces dataTable code last week I had trouble
convincing myself that this was being handled properly in all cases. 
I didn't find a bug, I was just not sure of how things worked.  It
might be possible that this is your problem.  I will try and look at
it some more tonight.


On Tue, 08 Feb 2005 14:25:32 -0400, Sylvain Vieujot <> wrote:
>  I still have problems with h:selectBooleanCheckbox when they are in a
> h:/x:dataTable.
>  Even setting preserveDataModel="true", the submitted value is lost.
>  To see the error, make an x:panelTab, with an x:dataTable with
> h:selectBooleanCheckbox.
>  If you select another tab, and then come back to the initial tab, the
> submitted values are lost.
>  But if you have just a h:selectBooleanCheckbox inside a x:panelTabbedPane,
> the submitted value is retained.
>  So, I guess this is just an x:dataTable related bug.
>  As I saw some discussions on that topic, does someone has any clue that
> would help me fix this bug ?
>  Thanks,
>  Sylvain.

View raw message