Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pr_methods:getelementvalue [2023/04/05 04:31] – ↷ Links adapted because of a move operation seanpr_methods:getelementvalue [2025/06/12 04:00] (current) – Change to AwareIM aware_support3
Line 1: Line 1:
-{{tag>Programmers_Reference Methods Report_Scriptlets IReportEnvironment_Interface IReportEnvironment_Interface_Methods getElementValue}}+{{tag>Programmers_Reference Methods Report_Scriptlets IReportEnvironment_Interface getElementValue Index}}
 ====getElementValue (String)==== ====getElementValue (String)====
 <code java>public Object getElementValue (String elementName)  <code java>public Object getElementValue (String elementName) 
 throws Exception</code> throws Exception</code>
  
-This method returns the current value of the report element with the specified name. The element must be either an element with a scriptlet attached (text or image) or a tag element, in which case the current value of the tag expression is retrieved. Each element in the report may be given a name in its Properties dialog. If the element’s name is not specified //**Aware IM**// 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.+This method returns the current value of the report element with the specified name. The element must be either an element with a scriptlet attached (text or image) or a tag element, in which case the current value of the tag expression is retrieved. 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=== ===Parameters===
Line 10: Line 10:
  
 ===Returns=== ===Returns===
-The value of the element – either String representing the text if the element is a text element or an Object representing the value of the tag expression of any type listed in the table in [[3500:appendix_a|Appendix A]] if the element is a tag element or ''java.awt.Image'' if the element is an image.+The value of the element – either String representing the text if the element is a text element or an Object representing the value of the tag expression of any type listed in the table in [[docs:3500:appendix_a|Appendix A]] if the element is a tag element or ''java.awt.Image'' if the element is an image.
  
 ===Throws=== ===Throws===
 An exception if the element with the specified name was not found or there was some other error. An exception if the element with the specified name was not found or there was some other error.
  
  • Last modified: 2023/04/05 04:31