gwt
文章平均质量分 52
lzynihao
这个作者很懒,什么都没留下…
展开
-
touch
http://blog.csdn.net/flyhawk007j2me/article/details/6701642把附件中的文件下载下来,运行在web服务器上。使用ipod 中的浏览器打开。转载 2012-08-08 11:12:50 · 240 阅读 · 0 评论 -
onfail
service.getShapes(dbName, new AsyncCallback() { public void onSuccess(Shape[] result) { // It's always safe to downcast to the known return type. controller.processShapes(result); }原创 2013-04-10 11:33:23 · 811 阅读 · 0 评论 -
java and js and jsni
1. java通过jsni调用内部js Button button = new Button("java调用内部jsni的js方法"); button.addClickHandler(new ClickHandler() { @Override转载 2013-02-28 10:12:23 · 8362 阅读 · 0 评论 -
deploy the war project
The simplest way to deploy your application is to use a single server for both your static content and your servlet classes. If you created your project with webAppCreator, you can simply run ant wa原创 2013-03-08 12:42:16 · 551 阅读 · 0 评论 -
gwt session
import com.google.gwt.user.client.rpc.RemoteService;import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;@RemoteServiceRelativePath("sessout")public interface MyService extends Remo转载 2013-02-24 22:58:27 · 1890 阅读 · 2 评论 -
gwt celltable header
SafeHtmlHeader header = new SafeHtmlHeader(new SafeHtml(){ @Override public String asString() { return "" ++ ""; }});原创 2013-02-20 15:46:48 · 510 阅读 · 0 评论 -
多个DisclosurePanel 在不同的panel 中放入同一个 grid 会出现grid 的内容消失的情况。
DisclosurePanel gp = new DisclosurePanel();DisclosurePanel gp1 = new DisclosurePanel();DisclosurePanel gp2 = new DisclosurePanel();Grid grid = new Grid(3,1);gd.setWidget(0, 0, new Labe原创 2012-12-28 13:09:08 · 983 阅读 · 0 评论 -
实现gwt rpc tomcat 下debug 和develop module debug,让jettry and tomcat 识别servlet
初始化一个servlet ,继承remoteservlet 然后重写init 方法就能够debug 产生connection.原创 2012-11-20 16:35:19 · 355 阅读 · 0 评论 -
gwt locallizaed
if (!localized) { String currentLocale = LocaleInfo.getCurrentLocale().getLocaleName(); if (!locale.equals(user.getLocale)) { String url = GWT.getModuleBaseURL(); S转载 2012-12-03 10:34:55 · 520 阅读 · 0 评论 -
gwt binding
public interface Human { void WhatAmI();}import com.google.gwt.user.client.Window;public class Woman implements Human { public void WhatAmI() { Window.alert("I'm a lady"); }}import com.g原创 2012-12-04 09:55:38 · 345 阅读 · 0 评论 -
GWT 编译
GWT project 编译不同的模块时,花费的时间比较长。在iis 上还要自己去发布。每次都是重复动作。eclipse 调试访问数据库的代码的时候需要去掉appengine. 这样就不会报 data deny 的错误。如果想通过tomcat 来调试需要设置为tomcat 工程。并将tomcat 下面的server.xml添加 这样使用gwt 编译后的文件不用再进行调整就是个完整的工原创 2012-08-01 13:12:23 · 1737 阅读 · 0 评论 -
java website for gwt
http://www.java2v.com/CN/Code/Java/GWT/TableMouseOverEvent.htm原创 2012-11-01 15:08:00 · 297 阅读 · 0 评论 -
frame
package com.client;import com.shared.FieldVerifier;/** * Entry point classes define onModuleLoad(). */public class GWT_workspace implements EntryPoint {/*** The message displayed转载 2013-04-24 16:42:48 · 552 阅读 · 0 评论