@Override public void onSubmit() { MasterPasswordConfig config = (MasterPasswordConfig) getForm().getModelObject(); try { getSecurityManager().saveMasterPasswordConfig(config); doReturn(); } catch (Exception e) { error(e); } } });
public PasswordPage() { Form form = new Form("form", new CompoundPropertyModel(new MasterPasswordConfigModel())); add(form);
public PasswordPage() { Form form = new Form("form", new CompoundPropertyModel(new MasterPasswordConfigModel())); add(form);
@Override public void onSubmit() { MasterPasswordConfig config = (MasterPasswordConfig) getForm().getModelObject(); try { getSecurityManager().saveMasterPasswordConfig(config); doReturn(); } catch (Exception e) { error(e); } } });
public PasswordPage() { Form form = new Form("form", new CompoundPropertyModel(new MasterPasswordConfigModel())); add(form);
@Override public void onSubmit() { MasterPasswordConfig config = (MasterPasswordConfig) getForm().getModelObject(); try { getSecurityManager().saveMasterPasswordConfig(config); doReturn(); } catch (Exception e) { error(e); } } });