Show pageOld revisionsBacklinksExport to PDFExport Page to HTML/PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. {{tag>Index Programmers_Reference Methods Report_Scriptlets IReportEnvironment_Interface SetElementValue}} ====setElementValue (String, Object)==== <code java>public** void setElementValue (String elementName, Object value) throws Exception</code> This method sets the current value of the report element with the specified name. The element must be an element with a scriptlet attached (text or image). Each element in the report may be given a name in its Properties dialog. If the element’s name is not specified //**AwareIM**// generates its own name. If a scriptlet needs to access certain elements in the report it is a good idea to give such elements some meaningful names. ===Parameters=== |''elementName''|the name of the element the value of which is set| |''value''|the value to set – must be either a ''String'' if the element is a text element or ''java.awt.Image'' if the element is an image.| ===Throws=== An exception if the element with the specified name was not found or there was some other error. Last modified: 2025/06/12 04:00 Log In