Revision: 6334
Author: [email protected]
Date: Thu Oct  8 18:46:03 2009
Log: We don't need ui:apply after all
http://code.google.com/p/google-web-toolkit/source/detail?r=6334

Modified:
  /wiki/UiBinder.wiki

=======================================
--- /wiki/UiBinder.wiki Sat Sep 26 07:07:46 2009
+++ /wiki/UiBinder.wiki Thu Oct  8 18:46:03 2009
@@ -240,10 +240,10 @@

    <g:HTMLPanel>

-    <img ui:apply='{res.logoImage}'>
+    <g:Image resource='{res.logoImage}'>

      <div class='{res.style.mainBlock}'>
-      <div ui:apply='{res.style.userPictureSprite}'>
+      <div class='{res.style.userPictureSprite}'>
          Well hello there
          <span class='{res.style.nameSpan}' ui:field='userNameField'/>
        </div>
@@ -288,12 +288,8 @@
  argument (as in this example), it must be instantiable by
  GWT.create().

-An element can be passed as an argument to a method on such resource
-class via the ui:apply attribute, as illustrated above with the Sprite and
-ImageResource uses. *(not yet implemented)*
-
-Note that there is no requirement that a with: class implement the
-ClientBundle interface, this is just an example.
+Note that there is no requirement that a ui:with resource implement
+the ClientBundle interface, this is just an example.

  =Share resource instances=


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

Reply via email to