/** * Execute a task an send the output to a subset of the total list of users. * The {@link ScriptSessionFilter} defines which subset. * This method could be used to alert administrators wherever they are on a * site about urgent action that need attention. * @param filter Used to define the set of browser windows which should * receive the update. * @param task A code block to execute */ public static void withAllSessionsFiltered(ScriptSessionFilter filter, Runnable task) { withAllSessionsFiltered(getServerContext(), filter, task); }
+ "to see the changes.", locale); Browser.withAllSessionsFiltered( new ScriptSessionFilter() { public boolean match(ScriptSession session) {