We're still not working on allowing custom element parsers. But 2.1 does add a new feature that should greatly reduce your need for them, the @UiChild annotation (introduced at r8708<http://code.google.com/p/google-web-toolkit/source/detail?r=8708>, discussed at https://wave.google.com/wave/waveref/googlewave.com/w+WIuSfOKhA ).
@UiChild allows your widget to declare methods to be called when child elements are parsed in a ui.xml file, so you can do stuff like: <my:Widget> <my:leftSide><g:Label>Lefty></g:Label></my:leftSide> <my:rightSide><g:HTML><b>Righty!</b></g:HTML ></my:rightSide > </my:Widget> On Fri, Nov 5, 2010 at 5:06 PM, Jorrit <[email protected]> wrote: > Hi! > > I was wondering how I can create a custom > com.google.gwt.uibinder.elementparsers.ElementParser and register it? > I read something about this feature coming in 2.1, but I kind of > missed it. > > Thanks in advance! > > -- > http://groups.google.com/group/Google-Web-Toolkit-Contributors > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
