jhickman / gxt-uibinder

Automatically exported from code.google.com/p/gxt-uibinder
0 stars 0 forks source link

AdapterField is not supported #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by jus...@jhickman.com on 22 Feb 2011 at 4:47

GoogleCodeExporter commented 9 years ago
AdapterField is not a Container, thus calling add() will not work.  Must pass 
single Widget to constructor.  

Will create a new ElementParser for AdapterField.  Expected delivery in the 
next day or so.

Original comment by jus...@jhickman.com on 6 Mar 2011 at 4:45

GoogleCodeExporter commented 9 years ago
new support added.  Will be in version 0.7 GA

Original comment by jus...@jhickman.com on 6 Mar 2011 at 4:58