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;
|
||||
|
||||
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.Messages;
|
||||
import com.haulmont.cuba.core.global.UserSessionSource;
|
||||
import com.haulmont.cuba.gui.AppConfig;
|
||||
import com.haulmont.cuba.gui.WindowManager;
|
||||
@ -31,25 +29,22 @@ import java.util.*;
|
||||
public class SessionBrowser extends AbstractLookup {
|
||||
|
||||
@Inject
|
||||
private UserSessionSource userSessionSource;
|
||||
protected UserSessionSource userSessionSource;
|
||||
|
||||
@Inject
|
||||
private UserSessionService uss;
|
||||
protected UserSessionService uss;
|
||||
|
||||
@Inject
|
||||
private Table sessionsTable;
|
||||
protected Table sessionsTable;
|
||||
|
||||
@Inject
|
||||
private UserSessionsDatasource sessionsDs;
|
||||
protected UserSessionsDatasource sessionsDs;
|
||||
|
||||
@Inject
|
||||
protected Messages messages;
|
||||
|
||||
@Inject
|
||||
private Label lastUpdateTsLab;
|
||||
protected Label lastUpdateTsLab;
|
||||
|
||||
@Named("sessionsTable.message")
|
||||
private Action messageAction;
|
||||
protected Action messageAction;
|
||||
|
||||
public void init(Map<String, Object> params) {
|
||||
super.init(params);
|
||||
|
Loading…
Reference in New Issue
Block a user