Package gwtappcontainer.client.apps.videos

Examples of gwtappcontainer.client.apps.videos.VideoRpcServiceAsync


  public void render(final FlowPanel fp, Map<String, String> params) {
       
    fp.clear();
    fp.add(new HTML("Fetching video..."))
   
    VideoRpcServiceAsync videoSvc = GWT.create(VideoRpcService.class);
   
    logger = ContainerUtil.getLogger(Presenter.class.getName());
   
    String tag = "";
    if (! params.isEmpty()) {
      if (params.containsKey("tag"))
        tag = params.get("tag");
    }
           
//    String tag = "20130202";
    videoSvc.getVideoProp(tag, new AsyncCallback<VideoProp>() {

      @Override
      public void onFailure(Throwable caught) {
        String errMessage = "Exception thrown by rpc." + caught.getMessage();
        logger.severe(errMessage + "\n" + caught.toString());     
View Full Code Here

TOP

Related Classes of gwtappcontainer.client.apps.videos.VideoRpcServiceAsync

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.