On 27 juin, 00:16, spierce7 <[email protected]> wrote: > Hey, I'm trying to convert my layout to UI Binder because my current > layout is a bit laggy. It's giving me an error though: "[ERROR] > [scheduler] In <g:DockLayoutPanel unit='EM'>, <g:north> must contain a > widget, but found <my:WeeklyHeader>" > > I read the first 3/4 of what's > onhttp://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html > but can't really find anything on this, except for using the prefix > "my". I'm not familiar with XML Layout creation, and I've been > scouring the internet for tutorials, but I can't really find anything > but people using your basic GWT layout widgets. Perhaps what I'm > missing something on the basic usage of this. I'm trying to start > simple. Here is my XML: > > <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> > <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" > xmlns:g="urn:import:com.google.gwt.user.client.ui" > xmlns:my="com.spierce7.gwt.scheduler.client">
You forgot the "urn:import:" part. It should read: xmlns:my="urn.import:com.spierce7.gwt.scheduler.client" -- 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.
