Monthly Archives: October 2011

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