Yep, thanks a lot Volker :-)

Here is my code, component id is "PIN":

UIInput pincomponent = (UIInput)input.findComponent("PIN");

pin = (String)pincomponent.getSubmittedValue();


Volker Weber wrote:
| Hi,
| 
| what you need is the *other* UIComponent!
| 
| You can find this component via the findComponent() method.
| 
| public void validateLoginData(
|   FacesContext context, UIComponent username, Object value) {
|   uiPassword = username.findComponent('passwordFildId');
| 
| ...
| }
| 
| Of cause you need to know the Id of your password field.
| 
| Bye
| 
| 
| Christian wrote:
|| 
|| What I need to do is to retrieve the entered input of the the *other*
|| field (password) within the component tree. The following code does
|| not work, as the password-Attribute of LoginBackingBean is still
|| empty.


Reply via email to