Hi experts
I have a reqt where I have to dynamically create HTMLB checkboxes in my form. i need to assign the text in these based on an array. thsi array i am populating from backend database.
based on some array arr........
<%
String Arr[]=myBean.getNwProdName();
for(int i=0;i<Arr.length;i++){
%>
<hbj:checkbox
id="<%=Arr<i>%>"
text="<%=Arr<i>%>"
tooltip="select/unselect"
disabled="false"
checked="false"
jsObjectNeeded = "TRUE"
onClientClick="ehnw()"
/>
i am unable to assign the id for the checkbox as per the arr name. the length of the array may vary and hence i need to create only that many checkboxes.
Please suggest
PS: Points assured for helpful anwers