Hi friends!
Every report we mount with Jasper Studio includes UUID numbers for every element. It will be very useful, if I can retrieve these elements using the generated UUID, but... is it possible? I would like to retrieve an element in a JRElement (for instance), inside a scriptlet, to manipulate it... But I could not find any method or example in that way, like: "JRElement jre = reportResource.findByUUID(<UUID>);" or something...
If it's impossible to do such a thing, why this UUID attribute exists?
3 Answers:
@hozawa, that was near what I need, but not exactly... I verify that it's possible to use this getUUID() from uncompiled "jrxml" files, but not "on-the-fly". What I want is to pick an element within a scriptlet, using its UUID (or its key), to change its attributes based on data beeing processed. But I guess it is not possible...