ERROR] gwtbootstrap IconType has no default has no default (zero args). What should I do?

11 views
Skip to first unread message

Hannes Heckner

unread,
Apr 24, 2015, 3:15:57 AM4/24/15
to gwt-bo...@googlegroups.com
Hi,

I created my own MenuButton class and now want to use gwtbootstrap as Icon.

<n:MenuButton ui:field="copyItemsButton" 
resource="LINUX">
<ui:msg description="Label for button: inherit / copy items from another meeting">
Copy&nbsp;items&nbsp;from other meeting
</ui:msg>
</n:MenuButton>

I added at the top:
<ui:with field='icons' type='com.github.gwtbootstrap.client.ui.constants.IconType' />

MenuButton.ui.xml is defined as follows:
<g:HorizontalPanel addStyleNames="{style.image} menuButton ub-MenuButton" ui:field="panel">
<g:cell verticalAlignment="ALIGN_MIDDLE">
<b:Icon ui:field="icon" type="LINUX"/>
</g:cell>
<g:cell verticalAlignment="ALIGN_MIDDLE">
<g:Label ui:field="label" />
</g:cell>
</g:HorizontalPanel>

My MenuButton.java sets the type using IconType. 

What can I do?

Best regards
Hannes

Reply all
Reply to author
Forward
0 new messages