Package org.sgx.yuigwt.yui.pjax

Examples of org.sgx.yuigwt.yui.pjax.Pjax


      "<a class=\"yui3-pjax\" href=\""+base+"page2.html\">page2</a>&nbsp;"+
      "<a class=\"yui3-pjax\" href=\""+base+"page3.html\">page3</a>&nbsp;"+
      "<a class=\"yui3-pjax\" href=\""+base+"page4donotexits.html\">page4 - do not exists</a>&nbsp;"+
      "<div id=\"pjaxcontent\" style=\"\">original content</div>");   
   
    Pjax pj1 = Y.newPjax(PjaxConfig.create().container("#pjaxcontent"));
   
//note for not casting EventFacade to subclass PjaxEvent
pj1.on("error", new EventCallback<PjaxEvent>() {     
  @Override
  public void call(PjaxEvent e) {
    Window.alert("PJAX ERROR: node: "+e.content().node());
  }
});
View Full Code Here

TOP

Related Classes of org.sgx.yuigwt.yui.pjax.Pjax

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.