Subversion Repositories eFlore/Archives.cel-v1

Compare Revisions

Regard whitespace Rev 13 → Rev 14

/trunk/src/org/tela_botanica/client/DateList.java
237,10 → 237,10
public void onCellClicked(SourcesTableEvents sender, int row, int cell) {
selectRow(row);
String loc=table.getText(row,cell);
date=loc;
if (loc.compareTo(VALUE_UNKNOWN)!=0) {
mediator.onDateSelected(table.getText(row,cell));
String adate=table.getText(row,cell);
if (adate.compareTo(VALUE_UNKNOWN)!=0) {
date=adate;
mediator.onDateSelected(adate);
}
else {
date="00/00/0000";
273,6 → 273,7
setStatusDisabled();
 
// HTTPRequest.asyncGet(serviceBaseUrl + "/InventoryDateList/" + user + "/" + location + "/"+ station,
HTTPRequest.asyncGet(serviceBaseUrl + "/InventoryDateList/" + user + "/" + location,
new ResponseTextHandler() {
 
325,6 → 326,7
setStatusDisabled();
 
// HTTPRequest.asyncGet(serviceBaseUrl + "/InventoryDateList/" + user + "/" + location + "/" + station + "/"
HTTPRequest.asyncGet(serviceBaseUrl + "/InventoryDateList/" + user + "/" + location + "/"
+ startIndex + "/" + VISIBLE_DATE_COUNT,
 
485,4 → 487,16
navBar.status.setText(text);
}
 
public void setUser(String user) {
this.user = user;
}
 
public void setDate(String date) {
this.date = date;
}
 
}