On 10/11/11 03:22, Hilco Wijbenga wrote:
On 9 November 2011 17:37, Danny Kirchmeier<[email protected]>  wrote:
You can use GWT.getPermutationStrongName()
Thank you.

Unfortunately, this gives me: F0A79CA92B424357F8F0A6170AD004B9. Is
there a way to turn this into something readable?

You can use deferred binding for this.

<replace-with class="com.whatever.MyClassImplIE6">
<when-type-is class="com.whatever.MyClass"/>
<when-property-is name="user.agent" value="ie6" />
</replace-with>

<replace-with class="com.whatever.MyClassImplIE8">
<when-type-is class="com.whatever.MyClass"/>
<when-property-is name="user.agent" value="ie8" />
</replace-with>

etc

and then
    MyClass thing = GWT.create(MyClass.class);

You can put whatever you want into MyClass, and into its subclasses so you can 
get whatever you need at runtime, but have the real work done at compile time.

Paul

--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to