You're managed bean should be something like this:
@ManagedBean(name="Login")
@RequestScoped
public class Login{
private String code;
private String password;
//getters an setters
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
}
[Message sent by forum member 'epsa' (emiperez_at_fiestas.net)]
http://forums.java.net/jive/thread.jspa?messageID=392144