Author: [email protected]
Date: Wed Jun  3 13:34:20 2009
New Revision: 5501

Modified:
    wiki/DefaultLocaleBinding.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/DefaultLocaleBinding.wiki
==============================================================================
--- wiki/DefaultLocaleBinding.wiki      (original)
+++ wiki/DefaultLocaleBinding.wiki      Wed Jun  3 13:34:20 2009
@@ -49,4 +49,6 @@
        }
  }}}

-Note that this is a static substitution, because configuration properties  
have fixed value, unlike selection properties.  The substitution is used in  
generated the selection script, so a request for locale "jp" will fail to  
match known property values and be assigned "fr_CA" instead, as the  
requested `default.locale`.
\ No newline at end of file
+Note that this is a static substitution, because configuration properties  
have fixed value, unlike selection properties.  The substitution is used in  
generated the selection script, so a request for locale "jp" will fail to  
match known property values and be assigned "fr_CA" instead, as the  
requested `default.locale`.
+
+Also note that the substitution token is, if seen by naive !JavaScript,  
merely a comment (much as JSNI is for Java code).  In this particular  
example, moreover, the token is inside a string literal, so a naive  
interpreter would merely see a very odd-looking (and in fact invalid)  
locale string.
\ No newline at end of file

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to