In a gvNIX application: any way to see only one register in DataTables?
By : user2447163
Date : March 29 2020, 07:55 AM
this will help When I create a DataTables in gvNIX it displays several registers in the table, is there any way to display only one register like the show page? , You can do it adding a simple parameter on your roo command. code :
web mvc datatables add --type ~.web.EntityController --mode show
|
gvNIX: Error installing datatables
By : user3698029
Date : March 29 2020, 07:55 AM
fixed the issue. Will look into that further Are you deploying on a JBoss? There is a problem due JPA API version (JBoss includes 2.0 but gvNIX requires 2.1). Take a look this issue on JBoss Jira for a workaround.
|
gvNIX/ROO 1.4.1 - NoSuchMethodError avax.persistence.Table.indexes() when adding in Datatables
By : piyush kumar
Date : March 29 2020, 07:55 AM
should help you out Check the effective dependencies or the transitive dependencies of your pom.xml. I think you have an inhereted or transitive dependency that includes JPA 2.0 in your project. Exclude it from your pom.xml
|
Migration Spring Roo web mvc to gvNIX datatables: how to filter records?
By : Muhammad Mujtaba
Date : March 29 2020, 07:55 AM
wish help you to fix your issue As Datatables uses Ajax request to retrieve data, the list method is used just as page drawer (this is done by declare precedence AspectJ directive on _Roo_GvNIXDatatables.aj). To customize the data get by Datatables you should push-in the setDatatablesBaseFilter. You can found it in the _Roo_GvNIXDatatables.aj file. You can try something like this in your controller: code :
public void setDatatablesBaseFilter(Map<String, Object> propertyMap) {
// Add here your baseFilters to propertyMap.
propertyMap.put("paymentUser", getCurrentUser());
}
|
clear GVnix datatables filter
By : Кристиян Долчинков
Date : March 29 2020, 07:55 AM
fixed the issue. Will look into that further Datatables componentes stores that values using the localStorage feature provided your browser. Use the localStorage.clear() javascript function to clear the values of your component.
|