Hi,
Thanks for your reply. Below is what is happening (in debug console) when press TAB key to fire the navigation to the next text box :
First sending text value to server side
and firing the gotoNextField action which will perform some calculation on the server side. These calculation take ~ 5 ms on the server side.
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.communication.AtmospherePushConnection
INFO: Sending push message: {“csrfToken”:“b57e704c-d46f-4fd8-8a88-e2857e86f02e”,“rpc”:[[“260”,“org.kopi.vaadin.addons.client.field.TextChangeServerRpc”,“onTextChange”,[“myusername”]
],[“260”,“org.kopi.vaadin.addons.client.field.TextFieldServerRpc”,“gotoNextField”,
]],“syncId”:8} 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.communication.AtmospherePushConnection
INFO: Received push message: for(;;);[{“syncId”: 9, “changes” :
, “state”:{“260”:{“text”:“myusername”}}, “types”:{“260”:“17”}, “hierarchy”:{“260”:}, “rpc” :
, “meta” : {“async”:true}, “resources” : {}, “timings”:[997, 0]
}] 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: JSON parsing took 0ms 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Handling message from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling resources from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling type inheritance map from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Handling type mappings from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Handling resource dependencies 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling meta information 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Creating connectors (if needed) 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Updating connector states 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling locales 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Updating connector hierarchy 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Running @DelegateToWidget 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Sending state change events 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Passing UIDL to Vaadin 6 style connectors 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Performing server to client RPC calls 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Unregistered 0 connectors 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: handleUIDLMessage: 25 ms 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: Starting layout phase 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: Measured 0 non connector elements 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: No more changes in pass 1 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: Total layout phase time: 13ms 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Processing time was 50ms for 189 characters of JSON 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Referenced paintables: 294 89557B2BBE9960A0183163C747A77433.cache.js:22032
The server side will first disable all available actions on the formular (this will disable some buttons on the toolbar)
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.communication.AtmospherePushConnection
INFO: Received push message: for(;;);[{“syncId”: 10, “changes” :
, “state”:{“244”:{“enabled”:false},“245”:{“enabled”:false},“246”:{“enabled”:false},“247”:{“enabled”:false},“248”:{“enabled”:false},“249”:{“enabled”:false},“250”:{“enabled”:false}}, “types”:{“244”:“16”,“245”:“16”,“246”:“16”,“247”:“16”,“248”:“16”,“249”:“16”,“250”:“16”}, “hierarchy”:{“244”:,“245”:
,“246”:,“247”:
,“248”:,“249”:
,“250”:}, “rpc” :
, “meta” : {}, “resources” : {}, “timings”:[997, 0]
}] 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: JSON parsing took 0ms 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Handling message from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling resources from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling type inheritance map from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Handling type mappings from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Handling resource dependencies 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling meta information 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Creating connectors (if needed) 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Updating connector states 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling locales 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Updating connector hierarchy 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Running @DelegateToWidget 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Sending state change events 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Passing UIDL to Vaadin 6 style connectors 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Performing server to client RPC calls 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Unregistered 0 connectors 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: handleUIDLMessage: 34 ms 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: Starting layout phase 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: Measured 0 non connector elements 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: No more changes in pass 1 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: Total layout phase time: 5ms 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Processing time was 65ms for 438 characters of JSON 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Referenced paintables: 294 89557B2BBE9960A0183163C747A77433.cache.js:22032
The server side will send the order to get the focus on the next field and change some styles concernig the field and its label
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.communication.AtmospherePushConnection
INFO: Received push message: for(;;);[{“syncId”: 11, “changes” : [[“change”,{“pid”:“258”},[“14”,{“id”:“258”}]
],[“change”,{“pid”:“261”},[“14”,{“id”:“261”}]
]], “state”:{“258”:{“styles”:[“visit”]
},“261”:{“styles”:[“focused”]
}}, “types”:{“258”:“14”,“261”:“14”,“263”:“17”}, “hierarchy”:{“258”:,“261”:
,“263”:}, “rpc” : [[“263”,“org.kopi.vaadin.addons.client.field.TextFieldClientRpc”,“setFocus”,[true]
]], “meta” : {“async”:true}, “resources” : {}, “timings”:[999, 2]
}] 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: JSON parsing took 0ms 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Handling message from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling resources from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling type inheritance map from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Handling type mappings from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Handling resource dependencies 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling meta information 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Creating connectors (if needed) 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Updating connector states 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling locales 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Updating connector hierarchy 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Running @DelegateToWidget 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Sending state change events 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Passing UIDL to Vaadin 6 style connectors 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Performing server to client RPC calls 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.communication.RpcManager
INFO: Server to client RPC call: 263:org.kopi.vaadin.addons.client.field.TextFieldClientRpc.setFocus([true]
) 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Unregistered 0 connectors 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: handleUIDLMessage: 17 ms 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: Starting layout phase 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: Measured 0 non connector elements 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: No more changes in pass 1 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: Total layout phase time: 4ms 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Processing time was 34ms for 429 characters of JSON 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Referenced paintables: 294 89557B2BBE9960A0183163C747A77433.cache.js:22032
Now, activate the buttons on the formulat again.
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.communication.AtmospherePushConnection
INFO: Received push message: for(;;);[{“syncId”: 12, “changes” :
, “state”:{“244”:{“enabled”:true},“245”:{“enabled”:true},“246”:{“enabled”:true},“247”:{“enabled”:true},“248”:{“enabled”:true},“249”:{“enabled”:true},“250”:{“enabled”:true}}, “types”:{“244”:“16”,“245”:“16”,“246”:“16”,“247”:“16”,“248”:“16”,“249”:“16”,“250”:“16”,“255”:“22”}, “hierarchy”:{“244”:,“245”:
,“246”:,“247”:
,“248”:,“249”:
,“250”:,“255”:[“256”]
}, “rpc” : , “meta” : {“async”:true}, “resources” : {}, “timings”:[999, 2]
}] 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: JSON parsing took 0ms 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Handling message from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling resources from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling type inheritance map from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Handling type mappings from server 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Handling resource dependencies 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling meta information 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Creating connectors (if needed) 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Updating connector states 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Handling locales 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Updating connector hierarchy 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Running @DelegateToWidget 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Sending state change events 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Passing UIDL to Vaadin 6 style connectors 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Performing server to client RPC calls 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: * Unregistered 0 connectors 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: handleUIDLMessage: 16 ms 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: Starting layout phase 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: Measured 0 non connector elements 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: No more changes in pass 1 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.LayoutManager
INFO: Total layout phase time: 5ms 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Processing time was 29ms for 468 characters of JSON 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:45 GMT+100 2016 com.vaadin.client.ApplicationConnection
INFO: Referenced paintables: 294 89557B2BBE9960A0183163C747A77433.cache.js:22032
Thu Feb 04 11:37:48 GMT+100 2016 com.vaadin.client.ApplicationConnection
We tried to use an automatic push on the hole process but we optained very poor performances so we switched to manual push in order to control when to send modifications to client side.
I hope I was clear in my explanations so that you can help me to figure out my problems.
Best regards