Hi Ryan,
do you want to send a link to a document for the Notes client or the browser? If you just want to add a link to the browser, you have to add the universalid to the link:
You can get the universalid from your datasource via the NotesDocument-Class, for example:
var doc:NotesDocument = currentDocument.getDocument();
var unid = doc.getUniversalID();
return "http://www-10.lotus.com/ldd/xpagesforum.nsf/topicThread.xsp?action=openDocument&documentId=" + unid
If you wnat to add a notes link you have to use the appendDocLink method of the NotesRichTextItem class.
Hope this helps
Sven