First time here? Check out the FAQ!
I am using ZK Framework and i have a form, but the problem is that when the browser save the password i need do a click in the textbox of username and do a click in the textbox of password, and when the click is done the page submit my form well, but if i do not click in the textbox when i do click in the login button is like my textbox are empty.
Then i need do clicks because if i do not clicks in the textbox is like my textbox are empty,
How can i send a click in the textbox in zk or in my model in Java. Or how can i save the username and password of the browser in my textbox? Who can help me. Thanks
Something is strange can you please provide code with which wrapper component you are doing it?Are you using the traditional <form> html version of it?If that's the case then you need to enable the native namespace for event's to fire most of the time correctly.Also you could use the onOK action of the textbox in your password field to trigger the submit of your form.The code would look like : <textbox ...="" onok="@command('myLoginAction')" .<="" p="">
You can use cookies. Save them and when user come back search for the cookie and load it.
Greetz chill.
Asked: 2014-04-30 15:52:52 +0800
Seen: 24 times
Last updated: May 02 '14
please Can you show your zul and viewmoel
sitansu ( 2014-04-30 16:05:25 +0800 )edit