Subversion Repositories eFlore/Archives.cel-v1

Compare Revisions

Ignore 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,7 → 273,8
setStatusDisabled();
 
HTTPRequest.asyncGet(serviceBaseUrl + "/InventoryDateList/" + user + "/" + location,
// HTTPRequest.asyncGet(serviceBaseUrl + "/InventoryDateList/" + user + "/" + location + "/"+ station,
HTTPRequest.asyncGet(serviceBaseUrl + "/InventoryDateList/" + user + "/" + location ,
new ResponseTextHandler() {
 
public void onCompletion(String str) {
325,6 → 326,7
setStatusDisabled();
 
// HTTPRequest.asyncGet(serviceBaseUrl + "/InventoryDateList/" + user + "/" + location + "/" + station + "/"
HTTPRequest.asyncGet(serviceBaseUrl + "/InventoryDateList/" + user + "/" + location + "/"
+ startIndex + "/" + VISIBLE_DATE_COUNT,
 
484,5 → 486,17
private void setStatusText(String text) {
navBar.status.setText(text);
}
public void setUser(String user) {
this.user = user;
}
 
public void setDate(String date) {
this.date = date;
}
 
}