spring roo - In a gvNIX application: any way to see only one register in DataTables? -


when create datatables in gvnix displays several registers in table, there way display 1 register show page?

to add support datatables used following command:

web mvc datatables add --type ~.web.entitycontroller 

you can adding simple parameter on roo command.

web mvc datatables add --type ~.web.entitycontroller --mode show 

as parameter documentation says is optional param change visualization mode: if empty (default) renders table, otherwise create one-row-per-page + one-cell-per-row datatable created. on each cell content of given mode rendered, is, setting mode == show, each cell have show.jspx containing data of current entity.

best regards


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -