开发者

how will the checkbox's in the struts2 tag checkboxlist should appear in column wise not in row wise?

开发者 https://www.devze.com 2023-01-08 01:59 出处:网络
how can i arrange the checkbox\'s in the struts2 tag checkboxlist in the form of table to display it in the colu开发者_StackOverflow社区mn wise , so that i can hide the borders n view it in column wis

how can i arrange the checkbox's in the struts2 tag checkboxlist in the form of table to display it in the colu开发者_StackOverflow社区mn wise , so that i can hide the borders n view it in column wise

list="communityList" value="defaultSelect" />


I do this with an custom template, just extract the struts2-core.jar and copy the checkboxlist.ftl into your WebApp/template folder. after this you can modify it like you want.

in the struts2 checkbox tag you must now specify the templateDir and the checkboxes was displayed like estimated.

0

精彩评论

暂无评论...
验证码 换一张
取 消