I'm having a little trouble understanding how to correctly use this class, could someone give me a quick example?
Details:
I tried the below but all it showed was a window with nothing in it. Also I can't find a example on the showcase with this class.
SmartGWT: v9.0p_2013-09-19/EVAL Deployment
GWT: 2.5.1
Details:
I tried the below but all it showed was a window with nothing in it. Also I can't find a example on the showcase with this class.
Code:
... DateRangeItem dRItem = new DateRangeItem(); dRItem.setFromTitle("From"); dRItem.setToTitle("To"); DateRangeDialog dRDialog = new DateRangeDialog(); dRDialog.setHeaderTitle("Date Range Dialog"); dRDialog.setOkButtonTitle("OK"); dRDialog.setWidth(200); dRDialog.setHeight(200); DateRangeDialog.askForRange(true, dRItem, dRDialog, "testIt"); ... public void testIt(){ System.out.println("HI"); }
GWT: 2.5.1
Comment