Category Archives: UiBinder

GWT – ListEditor and EditorSource renders an empty row

In my application, I was creating a widget that would display the list of automobiles that a user owns. I used a ListEditor and EditorSource to accomplish this. public class CarsTableView extends Composite implements Editor<CarDto> {      @Inject Provider<CarView> cvProvider; … Continue reading

Posted in Editors, GWT, UiBinder | Tagged , , | 3 Comments

GWT – [ERROR] Line 20: Too many parameters, parameter arg254 is exceeding the limit of 255 words eligible for method parameters

I was creating a widget today, using UiBinder, which consisted mainly of an HTML table.  My table consisted of over 55 rows, where each row looked like this:  <tr class=”{style.table-odd-row}”>      <th class=”{style.table-th}”><span ui:field=”field1Label”/></th>      <td class=”{style.table-td}”><g:InlineLabel ui:field=”field1″/></td>  </tr> When I compiled, … Continue reading

Posted in GWT, UiBinder | Tagged , | 4 Comments

GWT – Adding a click handler to a DIV element

In jQuery, one popular way to create a simulated button is to create a stylized <div> element and then bind a click event handler to the <div> element like this: <script src=”jquery-1.6.2.min.js”></script> <script> $(‘#clickDiv’).click( function() {     alert(“Div has been … Continue reading

Posted in GWT, jQuery, UiBinder | Tagged , , | 6 Comments

Using GWT HeaderPanel with UiBinder

I was going through the GWT Panels yesterday when I came across HeaderPanel.  It is unfortunate that the GWT Panel developer guide has not kept pace to include this most useful panel.  HeaderPanel provides three sections – a header, a … Continue reading

Posted in GWT, UiBinder | Tagged , | 4 Comments

Get the browser to treat GWT Anchor as a hyperlink

As I mentioned a couple posts ago, I am in the process of learning GWT.  Today I noticed my GWT Anchor was not behaving correctly.  When I would hover over my anchor tag, the cursor would not change to the … Continue reading

Posted in GWT, UiBinder | Tagged , | 2 Comments

GWT UiBinder problem – LayoutPanel will not render

I wasted an hour on this one today trying to get my LayoutPanel to render so I figured it is worth sharing, if only for myself. I am using UiBinder to create my UI and I wanted to use LayoutPanel … Continue reading

Posted in GWT, UiBinder | Tagged , | Leave a comment

Using UiBinder with mvp4g produced two instances of my widget

I am currently getting up to speed with GWT, so I am experiencing many growing pains if you will.  This one stumped me for awhile, so I thought I would share. The application I am creating is one that would … Continue reading

Posted in Editors, GWT, Mvp4g, UiBinder | Tagged , , , | 3 Comments