I’m using the plugin in WSAD to integrate a web application with an number of existing Lotus Domino databases and have a couple of issues, mainly concerning the handling of rich text. I apologise in advance as I’m much more conversant with the java/WebSphere side of this than the domino aspects.
My first problem concerns the content of the rich text field in terms of fonts/tables etc. Basically the idea is that the presentation on the web should be handled in the jsp in a common way. The only way I can think of doing this is by stripping out font tags, background images, colours etc (although the tables will have to be left alone)). I assume I would have to do this bespokely e.g. by devloping my own tag which can be enclosed in a ‘richtext’ tag (haven’t figured out which tag I need to use yet) and perform the parsing.
My second problem concerns any links which may be included in the documents. Ultimately the application is to run on portal server. As such I will need to take the link and a) determine the portlet (and the jsp within that portlet) in which the document needs to be displayed, and b) pass the document url in a format which this portlet will understand. I assume there is a way of detecting links in rich text. Can I use a tag to determine the form used by the document. If so I should be able to make some decision based on this. Further I assume I will need to break the url up into more meaningful pieces so that I can use the pieces in the form tag e.g.
<domtags:form name=“myForm” dbname=“names.nsf” dbserver=“CN=xxx/O=yyy/C=zzz” host=“aaaa” schema=“bbb”>
Is there a method or tag which will do this or do I need to break this up myself (which doesn’t look easy given the nature of these links)
Anyone who could provide some pointers ?
Also is there anyone out there with any experience of portalising domino databases, who could let me know the sorts of things to expect ?