Twitter的引导的GWT不工作
问题描述:
我想使用Twitter的引导的GWT,并得到像展示here一样漂亮,漂亮的景色,这里是我做过什么:Twitter的引导的GWT不工作
1-下载的模块从git
2-在pom.xml中运行包任务
3-将创建的jar包含在我的项目类路径中。
4-继承模块中我project.gwt.xml文件,
<inherits name="com.github.nyao.bootstrap4gwt.Bootstrap"/>
5包含在我的根XML
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:m='urn:import:com.clouway.exreport.client.accountcreation.view'
xmlns:t='urn:import:com.github.nyao.bootstrap4gwt.client.ui'
>
<ui:style src="newRegistrationStyle.css"/>
<g:HTMLPanel addStyleDependentNames="{style.mainPanel}">
<div class="{style.headdistance}"/>
<div class="{style.container}">
<g:DecoratorPanel addStyleDependentNames="{style.decoratorPanel}">
<g:VerticalPanel addStyleDependentNames="{style.verticalPanel}}">
<m:AccountEditor ui:field="accountEditor"/>
<!--<g:Button ui:field="create" text="create"/>-->
<t:Button type="Success" text="sing in"/>
<g:Label ui:field="errorsLabel"/>
...
</ui:UiBinder>
但是什么都没有发生的模块。我有正常的文本框和正常的按钮。
我看了一下this教程,这个教程非常好,这个人得到了正确的东西,他的应用程序看起来非常漂亮。我看了他的代码,但没有找到任何理由,为什么我的表情我仍然正常,他有良好的观点。感谢提前帮助
感谢您的忠告:) – Adelin
不要忘记接受答案 – checketts
也,bootstrap4gwt团队现在正在gwtbootstrap中与我们合作。让我们知道您是否有任何问题或发现任何错误。干杯 – caarlos0