GWT.isClient().
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/core/client/GWT.html
-Ben
On Jan 5, 9:02 am, nacho wrote:
> I have a similar issue with translations in shared code.
>
> Is there any way to know if the code is running on server side or
> running in client
I have a similar issue with translations in shared code.
Is there any way to know if the code is running on server side or
running in client side?
For example:
if (isRunningOnClient) {
Window.alert(myConstants.hello());
} else if (isRunningOnServer) {
System.out.println(myResources.getStri
Hi,
How can we do logging in the shared code? Some logging need to happen
on server side and some logging will be happening on client side and
there might be a possibility of same log active in both client and
server side.
thanks in advance,
--
You received this message because you are subscrib