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());