I added immediate=true to inputHidden, and that at least ensures that the managed bean exists, but the property aproperty is not yet set when my other managed bean first gets called.
It turns out that the first calls to the other managed bean (which is handling the model for a dataTable):
<h
ataTable id="myTable" ... rows="#{myTable.noOfRows}"
are for the method noOfRows.
Unfortunately, in this case, the value of that is dependent on reloading data as keyed by the value of aProperty.
In fact, the getNoOfRows method is called 16 times in all, and the first 4 times aProperty has not been set. Everything seems to work out ok regardless, so apparently returning a zero those first 4 times has no ill effect (so I am not sure why it is called at all.)
Is it possible to force the controller to set the inputHidden value prior to executing the dataTable methods?
Note: I am using MyFaces 1.1
Thanks,
ken