This repository was archived by the owner on Aug 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 189
g:item Error #320
Milestone
Comments
Hi @swallace21 |
Here is the code: (I am using mvp4g for the project, I know there were some issues with gwtp) THANKS! <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:b="urn:import:com.github.gwtbootstrap.client.ui"
xmlns:bb="urn:import:com.github.gwtbootstrap.client.ui.base" xmlns:c="urn:import:com.google.gwt.user.cellview.client">
<g:HTMLPanel>
<b:Column size="8">
<b:Form type="HORIZONTAL">
<b:Fieldset>
<b:ControlGroup>
<b:ControlLabel for="firstName">First Name</b:ControlLabel>
<b:Controls>
<b:TextBox b:id="firstName" ui:field="firstName"></b:TextBox>
</b:Controls>
</b:ControlGroup>
<b:ControlGroup>
<b:ControlLabel for="middleName">Middle Name</b:ControlLabel>
<b:Controls>
<b:TextBox ui:field="middleName"></b:TextBox>
</b:Controls>
</b:ControlGroup>
<b:ControlGroup>
<b:ControlLabel for="lastName">Last Name</b:ControlLabel>
<b:Controls>
<b:TextBox ui:field="lastName"></b:TextBox>
</b:Controls>
</b:ControlGroup>
<b:ControlGroup>
<b:ControlLabel>Gender</b:ControlLabel>
<b:Controls>
<b:RadioButton name="gender">Male</b:RadioButton>
<b:RadioButton name="gender">Female</b:RadioButton>
<b:RadioButton name="gender">Other</b:RadioButton>
</b:Controls>
</b:ControlGroup>
<b:ControlGroup>
<b:ControlLabel for="race">Race/Ethnicity</b:ControlLabel>
<b:HelpBlock><i>(check all that apply)</i></b:HelpBlock>
<b:Controls>
<b:CheckBox ui:field="race">
<g:item>American Indian or Alaskan Native</g:item>
<g:item>Asian</g:item>
<g:item>Black or African American</g:item>
<g:item>Hispanic or Latino</g:item>
<g:item>Native Hawaiian or Other Pacific Islander</g:item>
<g:item>White</g:item>
<g:item>Decline to report race/ethnicity</g:item>
</b:CheckBox>
</b:Controls>
</b:ControlGroup>
<b:ControlGroup>
<b:ControlLabel for="email">Email</b:ControlLabel>
<b:Controls>
<b:TextBox ui:field="email">Email</b:TextBox>
</b:Controls>
</b:ControlGroup>
<b:ControlGroup>
<b:ControlLabel for="password">Password</b:ControlLabel>
<b:Controls>
<b:TextBox ui:field="password">Password</b:TextBox>
</b:Controls>
</b:ControlGroup>
<b:ControlGroup>
<b:ControlLabel for="save">Submit</b:ControlLabel>
<b:Controls>
<b:SubmitButton addStyleNames="btn" ui:field="submit">Submit</b:SubmitButton>
</b:Controls>
</b:ControlGroup>
</b:Fieldset>
</b:Form>
</b:Column>
</g:HTMLPanel>
</ui:UiBinder> |
? right now ,the |
Move 2 backlog |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
First off, thank you so much for making this!
My project compiles but produces this error when you go to view it:
[ERROR] [customplaceservice] - No class matching "item" in urn:import:com.google.gwt.user.client.ui: <g:item> (:40)
I am using <g:item> as part of a ListBox just like in the example in Showcase. If I use just it works just fine.
Thanks!
The text was updated successfully, but these errors were encountered: