Hi,
I’m having a difficult time trying to understand why a enter-key press in a text-field (text-area) generates three requests to the server. I am posting the post-requests above:
265a1b66-b0c6-4d06-82e3-9280813fdb69PID73blurs
265a1b66-b0c6-4d06-82e3-9280813fdb69PID73blurs
265a1b66-b0c6-4d06-82e3-9280813fdb69PID73PID0actiontargetp1PID0actions
This field only uses the blur event listener.
Another interesting thing is that in the sampler application, in the text-area example, enter key is supposed to create a new line and it does in fact. But in my application, only shift-enter do the work. In my case, a “naked” text-area (without any event listeners) still generates the (265a1b66-b0c6-4d06-82e3-9280813fdb69PID73PID0actiontargetp1PID0actions) event and no new line is generated.
I’m using vaadin-6.4.0.jar and Safari or Firefox as browsers.
Is there any way possible to reduce the numbers of requests sent to the server? And is there any information about the enter-key issue? Is shift-enter only, available for creating new-lines?
Thanks a lot for your patience!
Marcos Alcantara