Bonjour
j 'ai un problème sur la récuperation d un imput dans mon html
j' ai
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
 
   ffffffdsfsdfsdfdsfsdfdsfsdfsdfdsfsdfsdfsdfsdfsdfsdfsdfsdfdsfsdfdsfdsfsdfdsfsdfd
    <BR> totot <BR>
<form id="login-form"  action="login">
    <input type="text" tabindex="0" name="username" id="login-username">
    <input type="password" tabindex="0" name="password" id="login-password">
    <input style="position: absolute; left: -9999px; width: 1px; height: 1px;" type="submit">
</form>
dans mon code java de ma vue

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
public TLabel getLblPwd() {
		if (lblPwd == null) {
			lblPwd =new TLabel();
			//TextBox.wrap(DOM.getElementById("login-password"));
			lblPwd.ensureDebugId("lblPwd");
			lblPwd.addStyleName(IdentResources.INSTANCE.identCss().lblPwd());
 
 
		}
		return lblPwd;
	}
j 'aimerai récupérer pour la sauvegarde dans mon navigateur mon login et password et le problem, c'est que ca me donne un null pointer exception sur TextBox.wrap(DOM.getElementById("login-password"));
je ne comprends pas . comment ça fonctionne l index.html est t'il toujours visible par application?