Results 1 to 3 of 3

Thread: [FNR] TextField setName() not working

    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
      0  

    Default [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 User
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Vote Rating
    93
      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
      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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •