Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdapterField is not supported #7

Closed
GoogleCodeExporter opened this issue Jun 16, 2015 · 3 comments
Closed

AdapterField is not supported #7

GoogleCodeExporter opened this issue Jun 16, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a form panel with:
<form:AdapterField fieldLabel="...">
    <button:Button text="Form Button" />
</form:AdapterField>

What is the expected output? What do you see instead?
The button should be wrapped in an AdapterField and displayed in the form.  
Instead, UiBinder crashes with the error "[ERROR] [client] - Found unexpected 
child element Element <button:Button text='Form Button'> (:40)".

What version of the product are you using? On what operating system?
gxt-uibinder 0.6
Internet Explorer 8
Windows 7

Please provide any additional information below.
Alternatively any non-field element included in a FormLayout could 
automagically be wrapped in an AdapterField with attributes such as fieldLabel 
being passed through to the AdapterField.  This would be nice and produce 
cleaner XML files, but it could also be confusing as it would obfuscate the GXT 
spec that says only Field subclasses are displayed in a FormLayout.

Original issue reported on code.google.com by graham.w...@gmail.com on 16 Feb 2011 at 12:19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant