wood burning stoves*
The moose likes JSF and the fly likes using a workaround for datasets not beeing updated correctly with the <cc:insertChildren/> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "using a workaround for datasets not beeing updated correctly with the <cc:insertChildren/> " Watch "using a workaround for datasets not beeing updated correctly with the <cc:insertChildren/> " New topic
Author

using a workaround for datasets not beeing updated correctly with the <cc:insertChildren/>

conny pemfors
Greenhorn

Joined: Oct 19, 2007
Posts: 29
there is a problem with an object selector connected to a dataset consisting of composite components fields, when using insertChildren tag creating a new record, validation exception causes the fields to be cleared,
but there is a work around for it wrap around a h:panelGroup, however this panelGroup creates another bug which makes another validation error not updating the fields accordingly to the object selector.
when reselecting object. when debugging all the input components look correct according to the data in the data set, but the fields in the browser are never updated. so how do I make the h:panelGroup refreshed, or is there a better way to fix the insertChildren bug.

<!-- <h:panelGroup> -->
<cc:insertChildren/>
<!-- </h:panelGroup> -->


SCJD 1.5<br />SCJP 1.5
 
 
subject: using a workaround for datasets not beeing updated correctly with the <cc:insertChildren/>