19 Jul 2010 13:18
freemarker in struts2 application
jyothisree <a.jyojyo <at> rediffmail.com>
2010-07-19 11:18:33 GMT
2010-07-19 11:18:33 GMT
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>
</#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
(Continue reading)
RSS Feed