我对gwt非常陌生,我需要将现有的应用程序更改为带有uibinder的模板的gwtbootstrap。
我在谷歌上搜索了基本安装说明。下载文件后,文件会去哪里?来自https://github.com/gwtbootstrap3/gwtbootstrap3/tree/master/gwtbootstrap3
发布于 2014-04-02 21:09:56
如果你没有梅文
1)下载JAR文件并将其添加到类路径http://mvnrepository.com/artifact/org.gwtbootstrap3/gwtbootstrap3中
2)继承GWT模块中的GwtBootstrap3模块:
<module>
<inherits name="org.gwtbootstrap3.GwtBootstrap3"/>
...
</module>3)在UiBinder XML中使用小部件:
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui"
xmlns:b="urn:import:org.gwtbootstrap3.client.ui">
<b:Container>
<b:PageHeader>Yay buttons!</b:PageHeader>
<b:Button>Some button</b:Button>
<b:Button type="DANGER" size="LARGE">Dangerous button</b:Button>
</b:Container>
</ui:UiBinder>https://stackoverflow.com/questions/22822229
复制相似问题