Archive for the ‘Development’ Category
Continuous Integration
Vor ein paar Tagen ist im > GBS Blog ein neuer Beitag von meinem Kollegen Irfan Duheric zum Thema Continuous Integration erschienen: > Continuous Integration: Eine Methode setzt sich durch.
Zeit für XPages
Interessanter Artikel meines Kollegen Jens Winkelmann im GBS Blog: > XPages – Die Technologie für moderne Web-Anwendungen.
Question about Web access licensing to an XPages application
I had a discussion about the licensing of an XPages application on a Domino server and we found no answer. I have a single XPages application (without messaging) and put this onto a Domino server (by an hoster). For example, a blog with sections only for specific users. The XPages application is open for the public in the Internet. So each one can create an account and manage his data in the application. This is a typical internet application. But what license is necessary for such an application? It is necessary to buy a user license for each (unknown) user? Or do I need only a user license to design the application?
I love to develop Lotus Notes applications, but sometimes…
Two hours ago I was very frustrated. Some time ago I created a new agent in a Lotus Notes database. I wrote the code and during a Sametime chat, my Domino Designer crashed. I restarted the Designer, but all of my code in the agent was lost. I started to re-implemented the code. I do not know why, but after several lines of code, I have closed the Designer and re-opened it. Then, I wrote some more lines of code. Some times later, my Designer crashed again. I restarted the Designer and all the new code since the last restart of the Designer was lost… 😦 I have saved the code several times before the Designer crashed, since I run the agent several times to test it. I had never before this situation. Normally, I implement the code in a library and do not use an agent interface. But I’m wondering why the saved code was lost after the crash. It is possible that the Domino Designer uses an internal cache?
How Eclipse file search does not include Subversion directories?
Last week I have got a new laptop and switched from the > Eclipse Ganymede release to the current > Eclipse Helios release. Further, I have re-installed all workspaces. After that, each file search included the > Subversion .svn directories. On > Stack Overflow I found a solution for that problem: In Eclipse you can select “Project -> Properties” and then “Resource -> Resource Filters” and add a new filter with the option “Exclude all”, type “Folder” with name “.svn”. Then the file search will not include the .svn directories.
Java applets not working in Mozilla Firefox 3.6.14
If you want to migrate to > Mozilla Firefox 3.6.14, please consider that Java applets are not working in this version.
Mozilla are aware of the issue involving Java applets not working in Firefox 3.6.14 and are working on a fix, no timescale but they are planning on a quick release. They are currently creating Firefox 3.6.15 which should fix this and will then be testing it to ensure the fix is working. (Source: > http://bit.ly/hi2UoT)
See the > Mozilla support page for more information.
OpenOffice.org Community announces The Document Foundation
As you can read in the > press release leading members of the OpenOffice.org community has launched The Document Foundation. This foundation will coordinate the development of > LibreOffice. From the press release:
The Foundation will be the cornerstone of a new ecosystem where individuals and organisations can contribute to and benefit from the availability of a truly free office suite. It will generate increased competition and choice for the benefit of customers and drive innovation in the office suite market. From now on, the OpenOffice.org community will be known as “The Document Foundation”.
Oracle, who acquired OpenOffice.org assets as a result of its acquisition of Sun Microsystems, has been invited to become a member of the new Foundation, and donate the brand the community has grown during the past ten years. Pending this decision, the brand “LibreOffice” has been chosen for the software going forward.
Some supporters are Google, Novell, Red Hat, but not Oracle and IBM.
More information: > The Document Foundation
Dojo Toolkit and XHTML
I had added > Dojo widgets to a website. After that, the markup was not > XHTML valid. I searched the internet and found a following solution for that problem. The main problem is, that you can use Dojo-specific html tags. Examples:
- If you configure the Dojo parser, you can add the ‘djConfig’ tag, which is unknown by the XHTML dtd. For example, you can add ‘djConfig=”parseOnLoad:false’.
- If you use widgets, you have the possibility to define the widgets via markup. The tag ‘dojoType’ is also unknown by the XHTML DTD.
Instead of using the markup tags, you have to add the widgets programmatically. The following script is an excerpt which shows, how a dialog can be added programmatically without damage the XHTML validation. It shows the page “dialog.html” in the dialog, if the user clicks on a link.
1. Load the Dojo javascript and css files:
<head> <script type="text/javascript" src="http://.../dojo/dojo.xd.js" ></script> <link type="text/css" rel="stylesheet" href="http://.../tundra.css"/>
2. Define the dialog in the addOnLoad event:
<script type="javascript"> dojo.require("dijit.Dialog"); dojo.addOnLoad(function() { // create the dialog dialog = new dijit.Dialog({ id: "dialog", style: "width: 200px; height: 240px;" }); });
3. Define a javascript function to call the dialog and set the attributes:
function showDialog() { dialog.attr("title", "Dialog Title"); dialog.attr("href", "dialog.htm"); dialog.show(); } </script> </head> <body> ...
4. Add the link to open the dialog:
<a href="javascript:showDialog();">Click on me</a> ... </body>
Finally, you can verify the page with the > Unicorn validator.
Version 1.5 of Dojo Toolkit is out
Since Thursday the new version 1.5 of the > Dojo Toolkit is available. The main improvement is a complete new theme, called Claro. Further, many Html5 and CSS3 features are supported. Some new projects for mobile apps are available, too. You get a good overview about the changes by reading the article > Dojo 1.5: Ready to power your web app on the SitePen website and by reading the > Release Notes. You can download the version on the > Dojo download page.
New Dojo Release 1.4.1
A new release 1.4.1 of the Dojo toolkit is available. Further, the > Dojo website has a new layout.
Download page > http://download.dojotoolkit.org/