Package org.directwebremoting

Examples of org.directwebremoting.ServerContext


   * @param instance the widget instance whose siblings should be invoked
   * @param method the method to invoke on sibling widget instances
   */
  public static void notifyWidgets(HttpSession session, IWidgetInstance instance, String method){
    ServletContext ctx = session.getServletContext();
    ServerContext sctx = ServerContextFactory.get(ctx);
    String currentPage = new SiblingPageNormalizer().getNormalizedPage(instance);
    Collection<?> pages = sctx.getScriptSessionsByPage(currentPage);
    call(pages,method);
 
View Full Code Here


   * @param instance the widget instance whose siblings should be invoked
   * @param method the method to invoke on sibling widget instances
   */
  public static void notifyWidgets(HttpSession session, IWidgetInstance instance, String method){
    ServletContext ctx = session.getServletContext();
    ServerContext sctx = ServerContextFactory.get(ctx);
    String currentPage = new SiblingPageNormalizer().getNormalizedPage(instance);
    Collection<?> pages = sctx.getScriptSessionsByPage(currentPage);
    call(pages,method);
 
View Full Code Here

TOP

Related Classes of org.directwebremoting.ServerContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.