The JSP Tag Approach
<input
  id="autofillform:stateField" autocomplete="off" type="text"
  name="autofillform:stateField" size="2"
  onfocus="doCompletion('autofillform:stateField','menu-popup1','#{ApplicationBean.completeState}',null,null);"
  onkeyup="doCompletion('autofillform:stateField','menu-popup1','#{ApplicationBean.completeState}',null,null);"
  onblur="stopCompletionDelayed('menu-popup1');"
/>
 
 
Copyright 1994-2006 Sun Microsystems, Inc. Close