Search in sources :

Example 11 with OAuthServer

use of org.apache.openmeetings.db.entity.server.OAuthServer in project openmeetings by apache.

the class OAuthForm method onSaveSubmit.

@Override
protected void onSaveSubmit(AjaxRequestTarget target, Form<?> form) {
    oauthDao.update(getModelObject(), getUserId());
    OAuthServer oauthServer = oauthDao.get(getModelObject().getId());
    this.setModelObject(oauthServer);
    hideNewRecord();
    target.add(this);
    target.add(listContainer);
    reinitJs(target);
}
Also used : OAuthServer(org.apache.openmeetings.db.entity.server.OAuthServer)

Aggregations

OAuthServer (org.apache.openmeetings.db.entity.server.OAuthServer)11 Test (org.junit.Test)2 ArrayList (java.util.ArrayList)1 HashMap (java.util.HashMap)1 OAuth2Dao (org.apache.openmeetings.db.dao.server.OAuth2Dao)1 LdapConfig (org.apache.openmeetings.db.entity.server.LdapConfig)1 User (org.apache.openmeetings.db.entity.user.User)1 SearchableDataView (org.apache.openmeetings.web.admin.SearchableDataView)1 PagedEntityListPanel (org.apache.openmeetings.web.common.PagedEntityListPanel)1 DataViewContainer (org.apache.openmeetings.web.data.DataViewContainer)1 OmOrderByBorder (org.apache.openmeetings.web.data.OmOrderByBorder)1 AjaxEventBehavior (org.apache.wicket.ajax.AjaxEventBehavior)1 AjaxRequestTarget (org.apache.wicket.ajax.AjaxRequestTarget)1 Label (org.apache.wicket.markup.html.basic.Label)1 Item (org.apache.wicket.markup.repeater.Item)1 Serializer (org.simpleframework.xml.Serializer)1 Registry (org.simpleframework.xml.convert.Registry)1 RegistryStrategy (org.simpleframework.xml.convert.RegistryStrategy)1 Persister (org.simpleframework.xml.core.Persister)1 Strategy (org.simpleframework.xml.strategy.Strategy)1