Bonita BPM Table Widget with Filter and Pagination doesn't appear in the preview

1
0
-1

Hello everyone.
I downloaded a custom widget here https://github.com/mskutlu/bonitaTableWidget.git. ( I thank @msakirkutlu_1359205 for this widget )
My objective is to display a json object obtained from a BDM request in a table with the pagination option.

Can you help me, please?

PS: My BDM request works very well and I can already display the information in the standard table widget. My constraint was caused by the fact that I cannot use the LIMIT statement in the JPQL code of my request. I therefore need to use pagination when displaying my table.

2 answers

1
+1
-1
This one is the BEST answer!

It works perfectly right now for me.
It was a question of importing assets and angular modules correctly with the right names and links.
Assets:
1. https://cdnjs.cloudflare.com/ajax/libs/angular-filter/0.5.17/angular-fil... (external)
2. dirPagination.js
3. https://cdnjs.cloudflare.com/ajax/libs/angular-strap/2.3.12/angular-stra... (external)
AngularJS modules required:
angular.filter, angularUtils.directives.dirPagination

And to display multiple pagination instance on one page read this page https://github.com/michaelbromley/angularUtils/tree/master/src/directive...

Comments

Submitted by franckesatia_1371223 on Wed, 10/23/2019 - 16:39

1
0
-1

If you use preview and your datatable is fill by your BDM, i think it's normal. When you use preview mode directly with the form editor, that don't load your BDM, so, you don't have any datas.

Try to fill it with json object directly without your businessObject, it's will be work (just for your test, when you need to deploy your process, just replace with your businessObject).

Regards

Comments

Submitted by franckesatia_1371223 on Thu, 10/17/2019 - 11:26

Thank you for your answer.
It's true what you're saying.
I created a valide json variable named testUserJson just for test in my page with the data

[
{
    "firstname": "Audit Committee",
    "creation_date": "2018-12-04 14:02:37.798",
    "userName": "audit1",
    "id": "33",
    "job_title": "Audit Committee  employee",
    "last_update_date": "2018-12-04 14:02:37.798"
  },
  {
    "firstname": "Asset Holder",
    "creation_date": "2018-12-04 14:02:37.752",
    "userName": "asset1",
    "id": "28",
    "job_title": "Asset Holder employee",
    "last_update_date": "2018-12-04 14:02:37.752"
  },
  {
    "firstname": "Chef de Service",
    "creation_date": "2018-12-04 14:02:37.814",
    "userName": "cds",
    "id": "34",
    "job_title": "Chef de Service employee",
    "last_update_date": "2018-12-04 14:02:37.814"
  }
]

But in fact, when I load my json object with all the right properties and good settings I don't have a display. Same even when I leave the widget as it is by default the preview does not work either.

Submitted by bastien.laurent... on Thu, 10/17/2019 - 11:38

I have try this plugin, and it's not working for me too.
When i include it to my page or from, all become empty. I think you need to post a topic in the github of this plugin.

Regards,

Submitted by franckesatia_1371223 on Thu, 10/17/2019 - 11:56

Okay, Thank you for your cordiality.

Best Regards,
Franck

Notifications