archives

Share

Django Extensions provides a bunch of management commands for the Django Framework. One of the most handy is the graph_models command. This command creates a visual representation of the Django models existing in the database.

Continue Reading  

Share

The application I was working on used a Flash slide show. The configuration on the slide show was done from a xml file. The task was to make this configuration manageable from the Django admin.

Continue Reading  

Share

Over the developing period of Django web application the models change a lot. Managing these changes in a team environment working on a Django project can become complicated. Unfortunately Django doesn’t capture the changes in the existing models. Until Django will provide an solution to this problem, you will need to use a schema migration […]

Continue Reading  

Share

Once we received the information from the web services, the next step was to parse that stream in order to get the necessary data. I needed a quick and easy way of doing this. After a little search on the existing solutions, I have chosen to use Xstream library. It’s simple to work with and […]

Continue Reading  

Share

Introduced in Lotus Notes 6, LS2J allows the use of Java code from Lotus Script. To use LS2J from within Notes, your Lotus Script code must include this line: UseLSX "*javacon"UseLSX "*javacon" This loads the LS2J Dynamic Link Library (DLL) on Win32 and registers all the Application Data Types (ADTs). Lotus Script provides a JavaSession […]

Continue Reading  

Share

In a previous article I wrote on how to work with Lotus Notes ListBox fields. Unfortunately these type of fields have a major drawback, their limit of only 32 kb of text. So if you want to display thousands of entries you must use an embedded view. This is an small example of using an […]

Continue Reading  

Share

Sometimes you wish to print the information contained in a Lotus Notes document. Lotus Notes offers such printing options, but if you have layout issues one solution would be to export into an word document. You can create an word document in Lotus Script using CreateObject(“Word.Application”) function. It only works on your computer if you […]

Continue Reading  

Share

I have spent some time recently trying to integrate Lotus Notes with an existing Java web services consumer. The web service consumer (ProjectRepository) was build on Apache Axis technology and provided the project names my application needed. So I created an Java agent that uses that existing code:

Continue Reading  

Share

The official definition of the Decorator pattern from the GoF book (Design Patterns: Elements of Reusable Object-Oriented Software, 1995, Pearson Education, Inc. Publishing as Pearson Addison Wesley) says you can, “Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.”

Continue Reading  

Share

In the project that I’m working now I needed a way to select multiple entries from a list and copy them to another list. To do this I created a form which contains two ListBox fields called listA and listB and a Button field named To. The entries of the two lists are computed using […]

Continue Reading  

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close