I am using SmartGWT and I wish to access com.smartgwt.client.Version from JavaScript. In Firefox's Web Console, I have tried:
frames[0].$entry(Lcom_smartgwt_client_Version::getVersion()));
and
frames[0].$entry(@com.smartgwt.client.Version.getVersion());
and
frames[0].$entry(@com.smartgwt.client.Version::getVersion());
and
frames[0].$entry(@com.smartgwt.client.Version::getVersion()());
But all of them return a syntax error.
SmartGWT is deployed with my WAR and I can see other SmartGWT classes listed when I do just frames[0].
What is the right syntax to call this static Java method?