Hi GWT Community,

I’m running into a compile‑time error in my UiBinder definitions and would 
appreciate any pointers.
Background 
   
   - 
   
   *Architecture:*
   - 
      
      A *parent* class defines its logo as an ImageElement.
      - 
      
      A *subclass* must therefore bind the same logo via a native <img> tag.
      
What I’ve Tried 
   
   1. 
   
   *Binding the logo* inside an <g:HTMLPanel>:
   <g:HTMLPanel> <img ui:field="logo" src="/static/images/codi-logo.svg" 
   height="30px"/> </g:HTMLPanel>
   when I recompile.

------------------------------
Questions 
   
   1. 
   
   *Binding native DOM elements*
   What’s the best way to bind a native <img> (or other elements) when the 
   parent class expects an ImageElement?
   
Thanks in advance for any advice or best practices you can share!

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/google-web-toolkit/782bad73-8918-447e-b74e-645480fbfc47n%40googlegroups.com.

Reply via email to