- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 38 of file AccountInput.java.
◆ AccountInput()
org.turro.contacts.zul.contact.AccountInput.AccountInput |
( |
final Contact |
contact | ) |
throws WrongValueException |
Definition at line 42 of file AccountInput.java.
44 this.contact = contact;
46 Constraint ctt =
new Constraint() {
48 public void validate(Component comp, Object value)
throws WrongValueException {
49 if(!isReadonly() && !Strings.isEmpty((String) value)) {
50 if(exists((String) value)) {
52 throw new WrongValueException(
AccountInput.this, I_.get(
"Login already exists"));
58 addEventListener(Events.ON_CHANGE,
new EventListener<Event>() {
60 public void onEvent(Event event) throws Exception {
61 contact.setEmailAccount(getValue());
The documentation for this class was generated from the following file: