I do not understand why would you transfer to using adf in any case. I do not see how the approach suggested by Americo Pinto solves anything.
Nirvan Buddha: Why would you like to send the state through user interface anyway? Do you have a good reason for doing so? User may found a way to change the property and then you have a potential security problem there.
I do not know why the readonly would prevent you getting the property back to bean but maybe it has something to do with the fact that readonly means just that (i.e. maybe
JSF tries to prevent changing the property). But that is easy to
test by removing the readonly and testing the code then.
If you absolutely must iterate the property through UI then then how about something like this
I did not test this.
EDIT: Maybe Americo Pinto wanted to use the value attribute of the binded component but he does not say so. And yes, that is one way of doing it if the value does indeed go to the binded component but does not populate to the value.