Subversion Repositories eFlore/Archives.cel-v1

Rev

Rev 13 | Rev 26 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13 Rev 25
Line 313... Line 313...
313
  }
313
  }
Line 314... Line 314...
314
   
314
   
315
  // add selected item to textbox
315
  // add selected item to textbox
316
  protected void complete()
316
  protected void complete()
-
 
317
  {
-
 
318
	  
317
  {
319
    
318
    if(choices.getItemCount() > 0)
320
    if(choices.getItemCount() > 0)
319
    {
321
    {
320
      this.setText(choices.getItemText(choices.getSelectedIndex()));
322
      this.setText(choices.getItemText(choices.getSelectedIndex()));
-
 
323
      currentValue=choices.getValue(choices.getSelectedIndex());
-
 
324
      if (autoCompleteAsyncTextBoxListeners!= null) {
-
 
325
          autoCompleteAsyncTextBoxListeners.fireTextBoxComplete(responseTextHandler,this.getText(),currentValue);
321
      currentValue=choices.getValue(choices.getSelectedIndex());
326
      }
Line 322... Line 327...
322
    }
327
    }
323
 
328
 
324
    visible=false;
329
    visible=false;
Line 351... Line 356...
351
 
356
 
352
public  void setValue(String value) {
357
public  void setValue(String value) {
353
	 this.currentValue=value;
358
	 this.currentValue=value;
Line 354... Line -...
354
}
-
 
Line 355... Line 359...
355
  
359
}
Line 356... Line 360...
356
 
360