mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 03:38:33 +08:00
Messages Inject in screens, messages in AbstractFrame not injected #PL-2030
This commit is contained in:
parent
5e0f3d64bc
commit
1274e2c2a6
@ -7,9 +7,7 @@
|
|||||||
package com.haulmont.cuba.gui.app.security.session.browse;
|
package com.haulmont.cuba.gui.app.security.session.browse;
|
||||||
|
|
||||||
import com.haulmont.chile.core.datatypes.Datatypes;
|
import com.haulmont.chile.core.datatypes.Datatypes;
|
||||||
import com.haulmont.cuba.core.entity.Entity;
|
|
||||||
import com.haulmont.cuba.core.global.ClientType;
|
import com.haulmont.cuba.core.global.ClientType;
|
||||||
import com.haulmont.cuba.core.global.Messages;
|
|
||||||
import com.haulmont.cuba.core.global.UserSessionSource;
|
import com.haulmont.cuba.core.global.UserSessionSource;
|
||||||
import com.haulmont.cuba.gui.AppConfig;
|
import com.haulmont.cuba.gui.AppConfig;
|
||||||
import com.haulmont.cuba.gui.WindowManager;
|
import com.haulmont.cuba.gui.WindowManager;
|
||||||
@ -31,25 +29,22 @@ import java.util.*;
|
|||||||
public class SessionBrowser extends AbstractLookup {
|
public class SessionBrowser extends AbstractLookup {
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
private UserSessionSource userSessionSource;
|
protected UserSessionSource userSessionSource;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
private UserSessionService uss;
|
protected UserSessionService uss;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
private Table sessionsTable;
|
protected Table sessionsTable;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
private UserSessionsDatasource sessionsDs;
|
protected UserSessionsDatasource sessionsDs;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
protected Messages messages;
|
protected Label lastUpdateTsLab;
|
||||||
|
|
||||||
@Inject
|
|
||||||
private Label lastUpdateTsLab;
|
|
||||||
|
|
||||||
@Named("sessionsTable.message")
|
@Named("sessionsTable.message")
|
||||||
private Action messageAction;
|
protected Action messageAction;
|
||||||
|
|
||||||
public void init(Map<String, Object> params) {
|
public void init(Map<String, Object> params) {
|
||||||
super.init(params);
|
super.init(params);
|
||||||
|
Loading…
Reference in New Issue
Block a user