I want to know what is exactly the behaviour of wlCommonInit()
function.
I have moved my initialization code into this function, but then it seems to be not called in the case of connection to the server failure.
- is
wlCommonInit()
called when the Worklight server is not reachable ? - If I want to use direct update, I want to call
WL.Client.updateUserInfo()
on my initialization, and I want the app to be working also in offline mode, does this mean I must implementonConnectionFailure
inwlInitOptions
? - If I implement
onConnectionFailure
inwlInitOptions
, can I display the default popup that inform about the connection failure, and provide details ?