My understanding of the lifecycle is that the
valuechangelistener will be called during the 'Invoke Application' phase. There
I update the List that is associated with the datatable. I thought that those
values would be put back into the table after that in the 'Render Response'
phase. Do I have to explicitly call something on the dataTable to map the list
values back to the datatable. Keep in mind, my list is not a list of
UIComponents. It is a list of model/dto type objects with a value mapping to the
fields on the page.
Hope
this clarifies my question...
Senior Developer
FX
From: Frank Russo
Sent: Tuesday, May 02, 2006 11:46 AM
To: MyFaces Discussion
Subject: Rendering Issue
I have a screen that
has a dropdown value with an onchange listener. When the value changes, it
populates a list that is rendered as a datatable. The first time the screen
renders, the table is not rendered, as the dropdown doesn't have a
selection. When the value changes, the db is queried for the data, and the
screen is rendered with the correct values. When the value changes again, the db
is queried for the new data, but when the screen renders, it has all of the same
data prior to the new query, except some dropdowns in the datatable have
the correct values.
Has anyone seen this type of behavior before? Not sure
what I'm doing wrong...
Senior Developer
FX
646.268.9949

