Blogs

  • Browse Blogs
  • My Blog
  • My Updates

Tags Help

  • View as cloud  | list

Similar Blogs

photo

Lotus Nut

58 Entries |  Chris Whisonant
Updated 
Ratings 3     Comments 90
photo

TexasSwede

51 Entries |  Karl-Henry Martinsso...
Updated 
No Ratings 0     Comments 51
photo

Yellow is the...

47 Entries |  Tim Tripcony
Updated 
No Ratings 0     Comments 14
photo

Uh Clem's Adm...

22 Entries |  Chris Mobley
Updated 
No Ratings 0     Comments 23
photo

Urs Meli

13 Entries |  Urs Meli
Updated 
No Ratings 0     Comments 4

Dogear Bookmarks

.Domino Framework

Blog Authors:  Peter Presnell  

All entries tagged with reflection

Domino.Reflection Namespace Extended

Peter Presnell  |    |  Tags:  oop inspector reflection .dominoframework  |  Comments (0)

I have just finished expanding the Domino.Reflection namespace to allow the new Inspector tool to browse the contents of LotusScript libraries. 

Inspector will be able to display information about data documents, profile documents, design documents, and deletion stubs found in ANY database. Inspector will be able to provide a list of all (or selected) design documents found in a database (Domino Designer is not required).

As part of the display information for Design documents I have decided to provide information about any classes found in a selected LotusScript library.  Using the extended DominoScriptLibrary class (part of the Domino.Reflection namespace), I can now return a list of properties and methods for a nominated class.  I can also get the code used  for any one of the properties/methods.  Combining these features together Inspector becomes (amongst other things) a basic class browser for LotusScript libraries.

Both the extended Domino.Reflection namespace and the new Inspector tool will be released as part of the 0.5 beta of the .Domino Framework planned for the end of this week.

Modifying View Selection Formulae

Peter Presnell  |    |  Tags:  views .dominoframework reflection  |  Comments (1)

An application I am working on has the need to change view selection formuale from time to time and we wanted to avoid the need to deploy a new version of the application each and every time such a change was needed due to the high cost of the change control/release process (man I love SDLCs....)

 

Given the NotesView class has a read/write SelectionFormula property I have been able to develop an extension Domino.Reflection namespace to coordinate the activities associated with modifying the view selection formulae at run time.  A special Admin form is provided in the application which allows an administrator/developer to select a view and then change the view selection formulae directly.  I have developed a demo of this functionality that will be included in the .Domino Framework database when it is posted on the OpenNTF Web site.

Domino.Reflection

Peter Presnell  |    |  Tags:  reflection .dominoframework  |  Comments (0)
 Within Object Oriented Programming (OOP), reflection represents the process of discovering class information at runtime. Within the .Net Framework this is made available via the System.Reflection namespace. Such a feature is not natively available within LotusScript so I have developed an extension of the .Domino framework to perform reflection. A new namespace Domino.Reflection has been added which provides the ability to programmatically access:-

A list of namespaces (LotusScript libraries) in the current database

A list of classes in the nominated namespace

A list of properties in the nominated class

A list of methods (Subs and Functions) in the nominated class.

The .Domino Framework database UI now has a new entry under .Domino Framework that demonstrated this feature. It allows you to select any of the namespaces in the database and then select one of the classes in that namespace to display a list of properties and methods.


Skip to main content link. Accesskey S
IBM Lotus Connections Help Tools About

Tags

A tag is a keyword that is used to categorize an entry. To view the entries with a particular tag, click a tag name or enter a tag in the box.
The tag cloud indicates the frequency of tag use. Popular tags appear darkest. The slider control adjusts how many tags are displayed in the tag cloud.