MyLinkItem download = new MyLinkItem("模板文件下载","点击下载");
download.addClickHandler(new ClickHandler(){
@Override
public void onClick(ClickEvent event) {
Window.open("http://localhost:8080/download/000.xls", "", "");
//openDownloadWin("http://localhost:8080/download/a.zip");
}
//
// private native void openDownloadWin(String url)/*-{
// $wnd.open(url);
// }-*/;[size=large][/size]
download.addClickHandler(new ClickHandler(){
@Override
public void onClick(ClickEvent event) {
Window.open("http://localhost:8080/download/000.xls", "", "");
//openDownloadWin("http://localhost:8080/download/a.zip");
}
//
// private native void openDownloadWin(String url)/*-{
// $wnd.open(url);
// }-*/;[size=large][/size]