Since JSF builds the view of the page, wires event handlers and validators to components in the view, and saves the view in the FacesContext instance during the restore view phase, how does it handle view components dynamically added on the view using JS/DHTML. i.e.,
if I have a page where I add/delete rows to a table using DHTML/JS (in order to avoid a server trip) would those modified rows be registered in the JSF view tree?
Nope. How would it without a trip to the server? And in reality you wouldn't want to do it this way. The whole point in using JSF Components in your page is so that JSF handles it's rendering. If you would prefer to handle all your rendering using Js/DHTML I would suggest not using JSF. Either that or write your own custom component(s). [ March 17, 2005: Message edited by: Gregg Bolinger ]