I have the following problem:
from a button call a java method and this method would have the current value of inputText in this same page, you can do this?
I have the following problem: from a button call a java method and this
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Kinda hard to tell what you are asking, but if you are trying to ask: When I click a button, I want the button to call a method in a backing java bean and access the value of an input text field on the ADF Faces pages, the answer is yes.
You need to set the Binding property on the input text field and add a method call to the button. Use the ActionListener property for the button, and specify or create a backing bean with an actionlistener method. Then set the binding property for the input text field. The backing bean should have the get/set methods for the text field and you can use them to get a reference to the text field and call the get/setValue() method.