This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
conny pemfors
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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> -->
 
That which doesn't kill us makes us stronger. I think a piece of pie wouldn't kill me. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!