<%@page import="com.vaadin.ui.UI"%> <%@page import="com.vaadin.server.VaadinSession"%> JSP integration <% HttpSession httpSession = request.getSession(false); for (VaadinSession vs : VaadinSession.getAllSessions(httpSession)) { try { vs.lock(); for (UI ui : vs.getUIs()) { out.append(""); out.append(""); out.append(""); out.append(""); out.append(""); out.append(""); out.append(""); } } finally { vs.unlock(); } } %>
Available UIs:
Service Name CSRF token UI id UI type Main content
" + vs.getService().getServiceName() + "" + vs.getCsrfToken() + "" + ui.getUIId() + "" + ui.getClass().getName() + "" + ui.getContent().getClass().getName() + "