when i say loop, i mean this : for (String string : map.keySet()) {.......}
well i found the real problem and why this loop is not working. It's because the method public Object produceDataset(Map params) can't access to the maps i created before in the same class but in another method.
Like i said in my 1st post, my class is very complex. I have different methods:
It allows to add strings to a HashMap
It will allow me to go through the HashMap i took as parameter, and do some calculs inside and then create the tables corresponding to each tables (20 tables)
it parses a text file and add the elements i want in different HashMap that i named before. I call the 2 methods above.
This structure works fine for the tables.
But the method in cewolf can't access the tables i created in the last method.
Do you think i can for example do something like this:
and then call this method where i created the maps for example, a bite like we usually do with displaytag? Otherwise, that means i would have to create 20 classes for all my graphs?