gwt登录自动填充将无法正常工作

时间:2012-01-18 04:22:34

标签: gwt login autocomplete autofill

我有一个gwt应用程序,它有登录页面,为了实现自动填充功能我遵循这个URL:http://borglin.net/gwt-project/?page_id=467 但是,用户名字段可以自动填充,但不能填写密码字段。我甚至检查了firefox的密码设置,并且可以在firefox中看到我的用户名/密码正确保存,密码字段怎么会不自动填充?

以下是我登录表单的html代码:

<div id="loginDiv" style="display:none">
<form method="post" action="login" id="loginForm">

<table id="loginTable" valign="center">

  <tr>
  <td id="loginLabel">Username:</td>
  <td><input id="loginUsername" name="username" AUTOCOMPLETE="on"></td>
  </tr>
  <tr>
  <td id="loginLabel">Password:</td>
  <td><input id="loginPassword" name="passwd" type="password" AUTOCOMPLETE="on"></td>
  </tr>

  <tr>
  <td><button id="loginSubmit" type="submit">Login</button></td>
  <td><input id="loginRememberMe" name="rm" type="checkbox">Remember Me</checkbox></td> 
  </tr>

</table></form>
</div>

0 个答案:

没有答案