I would like to be able to detect when the user has not interacted with the server for a period.
The normal session timeout will not work for me because the client has a timer that periodically checks something on the server.
I tried creating a custom datasource by extending SQLDataDource and adding serverConstructor into the .ds.xml files. This was OK except when there was also serverObject custom DMI class. I don't really want to add custom code to each DMI.
I did see some reference to EventPreview in the client side, but it was unclear how exactly to implement this.
SmartClient Version: v9.0p_2013-10-17/PowerEdition Deployment (built 2013-10-17)
smartgwt-power-4.0-p20131017.jar
The normal session timeout will not work for me because the client has a timer that periodically checks something on the server.
I tried creating a custom datasource by extending SQLDataDource and adding serverConstructor into the .ds.xml files. This was OK except when there was also serverObject custom DMI class. I don't really want to add custom code to each DMI.
I did see some reference to EventPreview in the client side, but it was unclear how exactly to implement this.
SmartClient Version: v9.0p_2013-10-17/PowerEdition Deployment (built 2013-10-17)
smartgwt-power-4.0-p20131017.jar
Comment