-
3 Nov 2011 1:04 PM #1
[FNR] TextField setName() not working
[FNR] TextField setName() not working
When I call TextField setName() method it won't set name property in HTML.
It will produce following output in HMTL.Code:FormPanel form = new FormPanel(); // ... VerticalLayoutContainer p = new VerticalLayoutContainer(); form.add(p); TextField firstName = new TextField(); firstName.setName("firstname"); p.add(new FieldLabel(firstName, "Name"), new VerticalLayoutData(-18, -1));
Note:HTML Code:<input class="GJUVS-2BBU GJUVS-2BMT" type="text" value="" style="width: 207px;">
Calling setName() works for FileUploadField and also for GWT Hidden fields.
-
4 Nov 2011 8:11 AM #2
Thanks for the bug report, we'll look into it and get back to you.
-
8 Nov 2011 8:53 AM #3
The bug has been fixed (SVN rev 1836). Fix will be available in our next snapshot release later this week. We are now pushing out a snapshot release every week to Maven.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote