Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Aug 2011
    Posts
    18
    Vote Rating
    1
    mrjoe is on a distinguished road

      0  

    Default [FNR] TextField setName() not working

    [FNR] TextField setName() not working


    When I call TextField setName() method it won't set name property in HTML.

    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));
    It will produce following output in HMTL.

    HTML Code:
    <input class="GJUVS-2BBU GJUVS-2BMT" type="text" value="" style="width: 207px;">
    Note:
    Calling setName() works for FileUploadField and also for GWT Hidden fields.

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,732
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Thanks for the bug report, we'll look into it and get back to you.

  3. #3
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    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.