Just now I am reaching almost 1 and a half hout searching my laptop and the B4X forum on a way to handle dynamically created controls. I know there is a page where there is a handfull of B4J jetty server examples and I know I have downloaded them but I cannot seem to locate it neither in my laptop neither in the forum. Any help will be highly appreciated. Thanks.
I have located it in my laptop. I write it here for my own future reference and for helping more people that will face the same problem.
"We add a div (f.e. maindiv As JqueryElement) and add all the controls in there with different IDs. Then when we click on a control inside the div we handle the MainDiv_Click(params as map) event and we get the params.get("target"). "