alert();
Eric Davis
Member
<p>I've searched the forums and can't find a straight answer. I want to put an alert in so I can see the value of a field, but I keep getting errors. Any suggestions?</p>
0
Comments
-
<p>I use something like this:</p>
<div>
<pre class="_prettyXprint">
// Example of logging for debugging. Messages will appear in the error log.
logger = java.util.logging.Logger.getLogger("birt.report.logger");
logger.warning ('onCreateCrosstab');</pre>
</div>0 -
<p>Thanks, I'll give it a try.</p>
0 -
<p><span style="font-family:arial, helvetica, sans-serif;">So today I learned something new. Apparently the logger is only available in commercial BIRT, Thank you Clement Wong.</span></p>
<p> </p>
<p><span style="font-family:arial, helvetica, sans-serif;"><span style="font-size:10pt;">For debugging in OS BIRT, launch eclipsec.exe. That’s with a “c†at the end of eclipse for “console†so that you’ll have two windows – one with Eclipse, and the other a command line window to see the messages.</span></span></p>
<p> </p>
<p><span style="font-family:arial, helvetica, sans-serif;"><span style="font-size:10pt;">Then, you can use: </span></span></p>
<pre class="_prettyXprint">
java.lang.System.out.println(“Hello worldâ€);</pre>
<p><span style="font-family:arial, helvetica, sans-serif;"><span style="font-size:10pt;">Another option is to write to a log file like in the image attached.</span></span></p>
<p style="margin-left:.5in;"> </p>
<p style="margin-left:.5in;"> </p>
<p style="margin-left:.5in;"> </p>
<p style="margin-left:.5in;"> </p>
<p style="margin-left:.5in;"> </p>
0 -
<p>Thanks Mica.</p>
0
Categories
- All Categories
- 117 Developer Announcements
- 52 Articles
- 145 General Questions
- 133 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 912 Cloud Fax and Notifications
- 81 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 167 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 4 XM Fax