Category Archives: GWT

Using GWT Dev Mode with Windows Virtual PC

Today I needed to research an IE 8 issue found by someone running IE8 on Windows XP.  I am running Windows 7 Ultimate, I am only able to install IE 9.  I tried using IE9 Developer Tools (accessed by hitting … Continue reading

Posted in GWT | Tagged | Leave a comment

RELATED: Cursor behavior on a GWT hyperlink

In a previous post, I showed how to change the cursor on a GWT Anchor so it behaves like a hyperlink. Today, there was a patch reviewed that will at least fix this issue for GWT hyperlinks.  Expect to see … Continue reading

Posted in GWT | Leave a comment

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

GWT Error – Have you forgotten to annotate your event handler with @Presenter or @EventHandler?

In developing my GWT application today, I encountered this error: Have you forgotten to annotate your event handler with @Presenter or @EventHandler? This one was a struggle to track down.  In fact, the actual problem did not seem related to … Continue reading

Posted in GWT, Mvp4g, Uncategorized | Tagged , | 2 Comments