Ok...maybe I'm missing something here. I'm using Stuts, JSP, Java etc. for this project I'm working on and came across SuperNotes. Exactly what I need, however notes don't display.
First, I added this line inside of the supernotes.js file. If I must remove it, please let me know:
var supernote = new SuperNote('supernote', {});
Second, I have this as a data embedded in the td tags:
<td><font size="1" face="Times New Roman">java.lang.Exception: JUnit test: testAddErrorStringString<BR> a t com.boeing.ids.sds.logger.ApplicationLoggerTest.testAddErrorStringString(Applica tionLoggerTest.java:95)<BR> a t sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<BR> at <a href="#3" class="supernote-hover-3">...</a></font> <div id="supernote-note-3" class="snp-mouseoffset pinnable notedefault"><a name="3"></a>java.lang.Exception: JUnit test: testAddErrorStringString<BR> a t com.boeing.ids.sds.logger.ApplicationLoggerTest.testAddErrorStringString(Applica tionLoggerTest.java:95)<BR> a t sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<BR> junit.framework.TestCase.run(TestCase.java:118)<BR> a t com.boeing.ids.sds.logger.ApplicationLoggerTest.main(ApplicationLoggerTest.java: 59)</div></td>
Basically, I'm displaying the stack trace of a Java app in the cell of a table. I'm only allowing the user to view 5 lines of the stack b/c they can get long and provide "..." When the user hovers the ..., I want to display the full stack trace. With that in mind, I added what I thought was sufficient tags around the data and then the note. The note is also embedded in div tags and is also in the table. Please let me know if that's incorrect.
Thanks!!!
2) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 192.188.--.--
Posted:
Hmm, should work -- have you got a link to your whole implementation online?