我该如何安装gwtbootstrap3教程?
发布时间:2020-12-17 20:37:48 所属栏目:安全 来源:网络整理
导读:我对gwt非常陌生,我需要使用uibinder将现有应用程序更改为gwtbootstrap用于模板. 我用Google搜索了基本的安装说明.下载后文件在哪里. 从https://github.com/gwtbootstrap3/gwtbootstrap3/tree/master/gwtbootstrap3 解决方法 如果你没有Maven 1)下载JAR文件
我对gwt非常陌生,我需要使用uibinder将现有应用程序更改为gwtbootstrap用于模板.
我用Google搜索了基本的安装说明.下载后文件在哪里. 解决方法
如果你没有Maven
1)下载JAR文件并将其添加到类路径中 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> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |