简体   繁体   English

Spring Roo Generated list.html,生成所有字段

[英]Spring Roo Generated list.html, generate all fields

when Spring roo generates list.html files for an entity, spring roo is not generating table column tags for every entity field, only for the first 5 fileds. 当Spring roo为实体生成list.html文件时,spring roo不会为每个实体字段生成表列标签,而仅为前5个字段生成表列标签。

I'm using Spring-roo RC02. 我正在使用Spring-roo RC02。

How can I configure Roo (or controller) so that every field is included in the table? 如何配置Roo(或控制器),以便表中包含每个字段?

Thank you. 谢谢。

it is hard coded in spring-roo-master\\addon-web-mvc-views\\src\\main\\java\\org\\springframework\\roo\\addon\\web\\mvc\\views\\AbstractViewGenerationService.java 它在spring-roo-master \\ addon-web-mvc-views \\ src \\ main \\ java \\ org \\ springframework \\ roo \\ addon \\ web \\ mvc \\ views \\ AbstractViewGenerationService.java中进行了硬编码

Update above class and build and update bundle.. 更新上面的类,并构建和更新包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM