1. ListGrid - Change color of a row or individual cell
2. Dynamic Form
StaticTextItem
3. JSON parsing :
JavaScriptObject jsObject = JSON.decode(responseData);
JSONArray accountNames = XMLTools.selectObjects(jsObject, "accounts");
final JSONValue jsonAccount = accountObjs.get(0);
final String accountNumber = jsonAccount.isObject().get("AccountNumber").isString().stringValue();
4. Mock Presenter gotcha :
Caused by: java.lang.UnsupportedOperationException: ERROR: GWT.create() is only usable in clientFix : GWTMockUtilities.disarm(); More here
5. Speed up gwt compile time : here
6. Error processing request: The response could not be deserialized
Annonying issue in dev mode from eclipse. See that the default compile target is set to ../web-inf/classes in eclipse. Restart eclipse. clean up target classes folder. Got it working...after a redeploy of war again...strange..cant point to one specific thing (as i did clear browser cache/eclipse classes output/restart eclipse)
Apparently workaround seems to be try redeploying app whenever this issue occurs..
7. Wrap text in list grid:listGrid.setFixedRecordHeights(false);
listGrid.setWrapCells(true);
8. Listgrid pagination related issues(issues with page scroll based pagination):
Serendipity
might have already solved the pagination and csv export : http://code.google.com/p/crmdipity/downloads/list
might have already solved the pagination and csv export : http://code.google.com/p/crmdipity/downloads/list
think
best if we have traditional pagination approach. and have as PaginatedListGrid
which will solve all list grid related issues:
- sorting
- export to
excel
- print
- slow page load
- less browser load (as only one
page of data is available at any point of time)
best if we have traditional pagination approach. and have as PaginatedListGrid
which will solve all list grid related issues:
- sorting
- export to
excel
- slow page load
- less browser load (as only one
page of data is available at any point of time)
0 comments:
Post a Comment