GWT UiBinder - Multiple templates, one owner class
At Just Software we are building our software Just Connect using Google’s awesome Web Toolkit which lets us build the software almost entirely in Java, even the Web UI. For the layout part we’re building templates using the UiBinder framework of GWT which lets you build templates in XML and fill them with data from the Java class backing it (called the owner class). Today I was faced with the task of building a GWT widget which has rather an amount of logic in it and has a different layout depending on a boolean value....