This content has been marked as final.
Show 1 reply
-
1. Re: CDI @Produces doesn't return value from jsf
mkouba Jan 22, 2014 8:02 AM (in response to alexander.mayr)Hi Alexander,
I think this could never work. #{selectedCustomerFirstname} resolves to an immutable String instance (your producer is dependent and thus the field value is retrieved for every evaluation of the EL expression). So there is no way to propagate your change to the original backing bean when the you submit the form - I mean JSF value binding will not work here. Do you have a reason to use producer field?