Is there a way of single clicking on a document in a view to open it when viewed on the web?
I have tried using values as links, but I need to display the view as a java applet. Is there a JS equivalent?
Thanks in advance…
Is there a way of single clicking on a document in a view to open it when viewed on the web?
I have tried using values as links, but I need to display the view as a java applet. Is there a JS equivalent?
Thanks in advance…
Subject: Web View Links
I must ask… why do you need to use a java applet? They are notoriously slow especially when the view being displayed contains a large number of documents (owing to the need to load all of the documents into the applet). Having said that, if you define a target in an embedded view you can choose where to open the documents held in that view. The property is on the embedded view dialog box (for example, you can set double click to _new and single click to _self). This will cause single mouse clicks on documents in that view to open in the current window while double clicks will open in a new window).
Now, having said all of that, I still recommend using HTML views. With a little code, you can perform the same actions to control the target window of your link and you don’t have to worry about the issues of java applet performance in large views. Even if the view is small HTML views can be made to look so much nicer than java applets.
Joel M. Phelan
CLP
Steinmart, Inc.
Subject: RE: Web View Links
Thanks for that, very useful as I am new to the web side of things - easy when you know how.
Anyway, I am aware of the potential performance issues, but for the reason you suggest to use HTML views is exactly why I wanted to use Applets.
Do you know of any good links explaining how to make a HTML view look good?
Subject: RE: Web View Links
If your views are flat (not categorized), then I suggest this post… you might want to read through the other threads in the post. Esther is the one who got me interested in this method.
Having said that, normal HTML views are not the best way to go if you have categorized data. However, XML is perfect for the hierarchy needed to catergorize views. There is an excellent sample file located in the sandbox (I believe)entitled XML Powered Categorized View Examples. I cannot remember who posted it at the moment. It is signed by Lotus Development. If you can’t find the file, send me an e-mail and I will gladly forward it to you.
contains another method of using xml and views mixed with flash (if you know flash, or if not,and you have time, I still recommend going through his example databases) to create very nice dynamic flash menus.
If you send me an e-mail, I can send you the database mentioned above as well as sample code for the flat-view HTML method.
Subject: Try the XML/XSLT Views in Domino Web Tools
I have a project on OpenNTF.org that does just what you need. It creates HTML views and outlines that are more attractive than what Domino gives natively.
You can find it here:
http://www.openntf.org/Projects/pmt.nsf/ProjectHome?ReadForm&Query=Domino%20Web%20Tools
I also have an online demo here:
http://jackratcliff.com/jratcliff/dwt/dwt-demo.nsf
You as the developer, create your views as you would normally and then, using a $$ViewTemplateDefault form, you can have nice web versions of your views display in a browser.
It supports IE and Firefox and even will work on the Mac.
HTH,
Jack