Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TextItem autocomplete="OFF"

    Hi,

    how can i modify the autocomplete Parameter of a textItem.
    If i use firebug, i see autocomplete="OFF" in my textItem, so the browser can't save my data for the next time i load the application and i have to turn it "ON"

    Any ideas?

    Thx

    #2
    In the ISC_Forms.js i found these part "AUTOCOMPLETE=OFF" in TextItems/Areas, but actually i can't find a way to set it "ON" in Java Code.

    setAttribute/setProperty on TextItem won't work .

    Comment


      #3
      Hi,

      i wondered that there is a method called setBrowserSpellChecking(boolean) to activate/deactivate the "spellcheck" Attribute, which is on the same level as the "autocomplete" attribut, but i can't find any equivalent for this.

      This is the part out of firebug for my textitem:

      Code:
      <input type="TEXT" tabindex="1241" style="width: 133px; height: 14px; -moz-user-focus: normal;" class="textItem" autocomplete="OFF" oninput="isc_TextItem_0.$43g()" spellcheck="true" $9a="$9b" $89="isc_TextItem_0" handlenativeevents="false" id="isc_O" name="userName">

      Comment


        #4
        Hi,

        any news or other ways to support the password save functionality in the browser?

        Comment


          #5
          If anyone has figured this out, please let me know.

          I want to give my users the ability to have their browser save their usernames and passwords.

          Comment


            #6
            Does anybody have a solution for this?

            Comment


              #7
              Hi guys,

              Any new insights about this?

              Greetings

              Comment


                #8
                From the gwt documentation:
                http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ
                Code:
                auto-complete and GWT
                Certain browsers offer the option to store username/password combinations so that they are automatically filled in for the user the next time they visit the page. However, usually this works only if there are two input boxes (one of type password), and only if those input boxes are loaded along with the main page, and not added later via javascript (which is what GWT does).
                In order to force these input boxes to show up, stuff them in the project's HTML in an invisible div. Then, in GWT, instead of creating a TextBox and a PasswordTextBox, make the div visible and read out the values using the DOM. library.
                TODO: Expand on this section.
                And somebody that did a little hacking and got something to work, at least partially:
                http://stackoverflow.com/questions/1245174/is-it-possible-to-implement-cross-browser-username-password-autocomplete-in-gxt

                Comment

                Working...
                X