freemarker in struts2 application

jyothisree <[email protected]> Mon, 19 Jul 2010 04:18:33 -0700 (PDT)
Newsgroups gmane.comp.text.fmpp
Message-ID <[email protected]>

I have a struts2 application ,where in the jsp page i have struts2 tag
checkbacklist ,which displays the list of checkboxes in a row ,i want to
display it in the column form , for that i have made changes in the
checkboxlist.flt file as 

<#if parameters.cssStyle?exists>
<#if "${parameters.cssStyle?html}" == "vertical">
<#if itemCount%2==0>
<br><#rt/>
<#else>&nbsp;
</#if>
</#if>
</#if>

In this i can display the way i want to display the checkboxes in 2 columns
,but the problem is the checkboxes starting from the 2nd column are not in
the line 
something like this

  1 chkbox     2 chkbox
  3 chkbox        4 chkbox
  5 chkbox    5 chkbox 

 i want it to be as 
  1 chkbox            2 chkbox
  3 chkbox            4 chkbox
  5 chkbox            5 chkbox 

What do i do for the above code 




-- 
View this message in context: http://freemarker.624813.n4.nabble.com/freemarker-in-struts2-application-tp2293826p2293826.html
Sent from the fmpp-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first