Hi, everyone.
This code is working.
<c:forEach items="${bannerUnits}" var="unit">
<html:multibox property="selectedUnits">
${unit.unitID}
</html:multibox>
${unit.formattedName}
</c:forEach>
By adding a <br> after the formatted name, I can get each checkbox on a
new line. Not too bad, as we don't have a lot of banner units right
now. I don't like the normal output without the <br>, because the
checkboxs run one right after the other and at the line wrap a box gets
seperated from its label.
What I would like to have is something like this:
[] Unit1 [] Unit2 [] Unit3 ...
.
.
.
[] UnitX [] UnitX+1 ...
I am thinking table, but everything I have tried fails. I can't find
the example I saw on the web from some presentation a person gave and
they didn't give the jsp code anyway. I looked in the mailing archive
and wiki, but either I was not searching right or I am looking for
something not possible.
Can someone give me a yes or no? If yes, can you point me to an example
or drop me the code? Also, is this something that might be in another
tag library? I keep seeing the html-el and struts-el libraries popping up.
Thanks,
Al
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]