This content has been marked as final.
Show 3 replies
-
1. Re: how to findComponent with Id inside a bean
ilya_shaikovsky Nov 10, 2008 5:20 AM (in response to lmk)maybe just use binding on the input ?
-
2. Re: how to findComponent with Id inside a bean
lmk Nov 10, 2008 6:09 AM (in response to lmk)"ilya_shaikovsky" wrote:
maybe just use binding on the input ?
yes it works fine,
I tried without success to get inside the backing bean the EL expression:#{rich:findComponent('id').value}"
-
3. Re: how to findComponent with Id inside a bean
nbelaevski Nov 10, 2008 9:48 PM (in response to lmk)Hello,
<f:view> <html xmlns="http://www.w3.org/1999/xhtml"> <body> <h:outputText value="#{rich:findComponent('text').value}" /> <h:form> <h:inputText value="" id="text"/> <h:commandButton value="Submit" /> </h:form> </body> </html> </f:view>
works for me. Can you please provide some more info about your case? Thank you in advance!