1
我有一個包含GWT引導文本框,密碼文本框中輸入一個登錄頁面,並提交按鈕以下屬性如何讓瀏覽器使用gwt bootstrap提示保存密碼?
loginPanel.setMethod("POST");
loginPanel.getElement().setPropertyString("autocomplete", "on");
Email.getElement().setAttribute("type", "text");
password.getElement().setAttribute("type", "password");
和登錄點擊我打電話的RPC
<g:VerticalPanel height="400px" width="50%">
<b:WellForm height="400px" ui:field="loginPanel">
<g:VerticalPanel horizontalAlignment="ALIGN_CENTER"
width="100%">
<b:FormLabel ui:field="emailErrorLabel" visible="false">
<font color="red">
<i> Please enter your login name</i>
</font>
</b:FormLabel>
<b:TextBox alternateSize="LARGE" b:id="Email"
ui:field="Email" placeholder="E-mail" width="335px"
height="30px" />
</g:VerticalPanel>
<g:VerticalPanel horizontalAlignment="ALIGN_CENTER" width="100%">
<b:FormLabel ui:field="passwordErrorLabel" visible="false">
<font color="red">
<i> Please enter password</i>
</font>
</b:FormLabel>
<b:PasswordTextBox width="335px"
alternateSize="LARGE" ui:field="password" placeholder="Password"
height="30px" />
</g:VerticalPanel>
<b:Button type="PRIMARY" ui:field="loginButton" icon="SIGNIN">Login</b:Button></b:Wellform>
IM設置哪些做登錄。我缺少什麼屬性。如何讓瀏覽器提示保存密碼選項。