Addendum to Multiple Embedded Views in a Browser

This is an addendum to "Multiple views in a browser" that I saw in the tip archive. I've found the easiest way to include multiple embedded views on a form/page/etc, was to create the initial element, add the view you wish to display and grab the parameters for the Java-created view applet.

 <FORM> <APPLET NAME="view" CODE="lotus.notes.apps.viewapplet.ViewApplet.class"
CODEBASE="/domjava" ARCHIVE="nvapplet.cab" ALT="View" WIDTH="100%" HEIGHT="96"> <PARAM NAME="cabbase" VALUE="nvapplet.cab"> <PARAM NAME="Database" VALUE="Test.nsf"> <PARAM NAME="ViewName" VALUE="Main"> <PARAM NAME="PanelStyle" VALUE="LINE_BORDER"> <PARAM NAME="BrowserVendor" VALUE="Microsoft 4"> <PARAM NAME="ViewUNID" VALUE="3443584AEE162D2F85256B370065AA5B"> <PARAM NAME="ShowScrollbars" VALUE="FALSE"> <PARAM NAME="Expand" VALUE="TRUE"> <PARAM NAME="bgColor" VALUE="FFFFFF"> <PARAM NAME="cache_id" VALUE="85256B370065F34F"> <PARAM NAME="locale" VALUE="en-us"> <PARAM NAME="IconPath" VALUE="/icons"> </APPLET> </FORM> To have multiple views, copy and paste the Applet code to wherever you would
like to have the second embedded view and change the following parameters: <PARAM NAME="Database" VALUE="Test.nsf"> <PARAM NAME="ViewName" VALUE="Main"> <PARAM NAME="ViewUNID" VALUE="3443584AEE162D2F85256B370065AA5B"> <PARAM NAME="cache_id" VALUE="85256B370065F34F"> These parameters determine the view's name, UNID, Db name, and Cache ID. The remaining parameters can be modified based on your preference: <PARAM NAME="PanelStyle" VALUE="LINE_BORDER"> <PARAM NAME="ShowScrollbars" VALUE="FALSE"> <PARAM NAME="Expand" VALUE="TRUE"> <PARAM NAME="bgColor" VALUE="FFFFFF">

In the example I provided, I set up my embedded view using the default settings, additional parameters will appear based on the options you select while embedding the view.

Note: for formatting, it is probably best to use a table.

This was first published in January 2002

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.