Hellooooooo,
Could anyone give me an example in:
How could i increase a counter in Bonita 5.9 in html widget???
I have define a counter as global-variable in Bonita Studio and i have a problem to increase the counter-variable.
The main reason of that is , in Groovy Editor,(which i write code) , is not supported to write html-code or javascript without these symbols----> " "
What is that i make a mistake?
For example:
" “+
“”+
“”+
“
”+
“”+
“”+
“”
Hi,
Your HTML widget will be render in the Bonita form body tag already.
You should try to remove:
"
"+
and
"
"+
Cheers,
Francois
Hi,
Here is a working example using the code provided above:
http://we.tl/PFmQfFgm0Z
Cheers,
Francois
Yes,but without “”+ and ",the editor is appeared error.
Could you give an example that appeared a list of name in a table?
Thank in advance
I have update my previous comment. It was not showing properly earlier.
This is the update code:
""+
""
Not sure it is what you are trying to achieve ultimately but at leat the code executes and the table is rendered.
Cheers,
Francois
Firstly,Thank u a lot for your answer!! :))
Could you to resend the example??But the type of the file is *.proc OR *.bar OR *.bpmn???
As MyDiagram2-1.0.bos ,i cannot opened it!!!
Thank again in advance
Katerina
Hi,
Sorry, I forgot you were on 5.X. My export comes for a Studio 6.2
I don’t have a 5.x installed on my machine currently, but it will be the same exact groovy code. In your html widget, just copy this:
“
”+
“”
Cheers,
Francois
François, did you created the example process with a Subscription version ?
Yes I did, but there is nothing specific to SP version in the groovy script provided.