How to introduce custom behaviour to widgets ?


Dear all,

Can someone post a standard way of adding a behavior after on a 'onclick' event related with e.g. a table ?
My goal is to automatically fill some input widget with the selected record data.

I am a bit lost on how to start. I have the version 7.4.1 and in past posts I see that one should use the HTML widget.
Is that available on this version ?


2 answers


--- You're absolutely right. Just moved this answer as your answer comments. ---


Submitted by Sean McP on Fri, 05/12/2017 - 22:06

Sorry to hear that, but first things first. Please don't give an answer to an answer, there is a comment (link/button) under the post that you should use. It keeps things together.

The other thing is Bonitasoft is not a RAD platform, it is a BPM platform that allows BPM RAD. Something quite different and needs to be learnt as much as any other platform. So what do you also need to learn?

These are mentioned somewhere in Bonitasoft's documentation but this is my list of what I've had to learn (in no particular order):

  • BPM - yes really
  • JAVA
  • AngularJS
  • JavaScript
  • CSS
  • SQL for MySQL, PostgreSQL and H2
  • and how Bonitasoft puts it all together.

If I have time I will throw something together later today...

A new product always needs time to get into the recesses of the brain, it will come.


Submitted by afotav on Mon, 05/15/2017 - 10:00

Some binding documentation would be probably enlightening, specially for the non hardcore developers.
In my particular case, I'd need to make some more use of the widgets interaction in the UI editor. At least at this point in time.

For H2 vs Postgres, I've followed your hints in some other posts and managed to use it successfully so far..

Thanks for all the help you give the community users.

Submitted by Sean McP on Wed, 05/17/2017 - 01:25

Something else to learn - install an email service (hmailserver or something equivalent) that will enable you to fully test email sending etc. from your processes rather than using the corporate network.

Submitted by afotav on Wed, 05/17/2017 - 19:10


That I got it myself.
That and timers management, work like a breeze.

My head bump right now is on the widget interaction. I "only" want to populate other widgets after a table record selection (sigh...)
Could any Angular handy man develop a widget to link a widget/variable to table selection (onClick?) event or just describe how to do it by customizing a table widget ? Would be highly appreciated by any community member, I guess.


For Security purposes AngularJS generally doesn't allow HTML in text fields and the HTML widget has disappeared in 7.

See here however for a method of creating and using HTML in forms that are truly dynamic in nature, in the Green answer section.

Note - I'm not giving you everything that's for you to sort out :)

You might also be interested in seeing this post where we wanted to take a Select and repopulate a Text (HTML) field for further processing...where you need to add a watch to the Custom Widget (Thanks to Lionel for helping there)...


PS: As this reply offers an answer your question, and if you like it, please Mark UP and/or as Resolved.


Submitted by afotav on Mon, 05/15/2017 - 09:55


Sorry to say that's way over my head. I've spent some time trying to decipher those posts but hit my inner walls.
Is there any example on the community site where I can see a working example of clicking a widget and that affecting other widget ?
I've chosen this platform as a RAD and find myself swamped up to my waist :/

Thanks a lot.