I agree! I would use checkboxes instead of a checkboxlist rather than write my own theme. I did something like that recently:
<ul> <s:iterator value="questions"> <li> <s:checkbox name="assignedQuestionIdMap[%{id}]"/><jsp:include page="/web/includes/question.jsp"/> </li> </s:iterator> </ul> On 5/17/07, Allen Gilliland <[EMAIL PROTECTED]> wrote:
yeah, this is for struts2. that's a shame, hacking my own theme just so that my list gets formatted vertically seems overkill :( -- Allen Nuwan Chandrasoma wrote: > Hi, > > Is this struts 2 or 1.x? > > in struts 2., we can create a theme , i think this may help you, but i > am not sure this is the best solution for your problem > > http://www.vitarara.org/cms/struts_2_cookbook/creating_a_theme > > Thanks, > > Nuwan > > > ----- Original Message ----- From: "Allen Gilliland" > <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <user@struts.apache.org> > Sent: Wednesday, May 16, 2007 11:59 PM > Subject: checkboxlist formatted vertically? > > >> is there any way to make checkboxes created from a checkboxlist >> formatted vertically by adding a <br/> after each checkbox or some >> other means. right now it just dumps them all out in a row. >> >> same thing for the radio button options. >> >> -- Allen >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]