Am using the net.sf.click.extras.control.CheckList class to create a
visual list of multiple checkboxes to manage e-mail addresses.

Here's some sample code:

CheckList emailContactsCheckList = new CheckList(emailCheckList);

// Iterate through array contactList and add to CheckList also
concatenate String name to label
emailContactsCheckList.add(new Option(contactList[i].getEntry(), name
+ " " + contactList[i].getEntry());

When I run my web app, the check list appears like this:

checkbox John Doe [email protected]
checkbox Jane Doe [email protected]
checkbox Jeff Johnson [email protected]

As one can see, the names & email addresses are not equally aligned
(vertically).

Is there a way to put two columns inside the CheckList:

e.g.

<tr>
      <td>$name></td>
      <td>$emailAddress</td>
</tr>

Thank you for taking the time to read this. Would appreciate a helpful response.

Reply via email to