开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜