Hi all,
1.)I'm using Visual Web
Java Server Faces packed with Net beans
IDE 5.5.
2)
AutoComplete_Create('txtUserId', data); is a java script method which binds auto suggestions to an element identified by 'txtUserId'. Second param, 'data' is the suggestions array.
3) can I use this method to bind suggestions to an <webuijsf:textField > object?
4) I tried following. But not succesfull
.....
<webuijsf:textField binding="#{MaintainUserOfficer.txtUserId}" id="txtUserId" style="left: 288px; top: 48px; position: absolute" />
<script language="javascript" type="text/javascript">
<!--
data = ('aaaaa','ssss','qqqqqqq')
AutoComplete_Create('txtUserId', data);
/////AutoComplete_Create('color', ['red', 'orange', 'green', 'black', 'pink', 'grey', 'mauve', 'turquoise', 'blue', 'purple'].sort(), 6);
-->
</script>
.........
5) Any idea how to add the auto suggetion feature to <webuijsf:textField > ???