-
1. dataTable - invoke of walk() method and datamodel bean
iabughosh May 2, 2011 6:40 AM (in response to yosrbnrt)Hi,
please provide us with a snapshot of your code.
regards.
-
2. Re: dataTable - invoke of walk() method and datamodel bean
yosrbnrt May 2, 2011 7:02 AM (in response to iabughosh)The following is a short snapshot:
<h:form id="listModeForm">
<h:inputHidden id="sortingExpressionField" value="#{myDM.sortingExpression}"/>
< rich:dataTable id="dTable"value="#{myDM}" sortMode="single"
rows="#{myDM.rows}"
rowKeyVar="row"
var="dm"
>Basicly, I want to get some input from user - like sorting and filterring options and upon a click on "search" button I would like to submut the info to the server and rerender the data table.What I see in the log file is that the "walk" method is getting called before the setters of the data bean are called with the new submited value.How can this be fixed? -
3. dataTable - invoke of walk() method and datamodel bean
iabughosh May 2, 2011 8:15 AM (in response to yosrbnrt)where did you call this ('walk') method ?
-
4. dataTable - invoke of walk() method and datamodel bean
nbelaevski May 2, 2011 12:51 PM (in response to iabughosh)Yossi,
It's ok that data table is calling walk method before actual data update - this is done in order to get submitted data processed with the old filter/sort criterias and only after then switch to new ones.
-
5. dataTable - invoke of walk() method and datamodel bean
yosrbnrt May 3, 2011 2:35 AM (in response to nbelaevski)Nick,
Is there a way to invoke the "walk" method again? after the submited data was updated in the data model bean?
-
6. dataTable - invoke of walk() method and datamodel bean
nbelaevski May 3, 2011 3:01 AM (in response to yosrbnrt)It should be invoked once again after model update when table is rendered.