If creating IW controls dynamically, then always be sure to explicitly set their Name. They won’t always get a default name – and empty names may lead to strange behaviors.
If you create IWRadioButtons dynamically, then also be careful that you always set their “Name” and “Value” properties to the same value – unless you know what you are doing. Value is important for correct control and group recognition during postbacks. Sounds odd but has to do with the way how the underlying INPUT HTML controls are working.
Unfortunately, at least in IntraWeb 9.0, IWRadioButtons synchronize Name and Value at design-time only (no idea why – I cannot remember having touched that during my time at Atozed). The attached IWComRadioButton source file fixes that, so that you only have to care about “Name”.
Note: That file is for IntraWeb 9.0. It may work with older or newer versions, but I did not test that. This is not an official file version, but just a personal contribution to the freely available visual control source files of IntraWeb. Use modified sources at your own risk – the guys at Atozed can support their own versions only.
Apparently many developers of Web sites and especially Web applications (IntraWeb, ASP.NET, PHP etc) are still not aware of existing tools to trace/debug the communication flow between Web browsers and Web server.
Often, certain errors such as missing images, non working JS files etc, pop up (i.e. customer calls and says “your Web app is totally broken”), and its very hard to determine whats happening. You could now add logging capabilities to your Web application and try to find out whats happening. That’s not a bad idea, but often it would help more to see what’s really sent over the wire, which resources fail to load etc.
To disable the “loading animation” which has been introduced with IntraWeb 9.0, and which shows up when the user clicked a button and is waiting for the page to re-load you usually just need to set an option in your application’s ServerController. Read the rest of this entry »
Times are changing. In July CodeGear was finally sold from Borland to Embarcadero. From Agust 1st 2008 I will no longer represent Atozed Software. Read the rest of this entry »
The so called “Delphi-Tage 2008″ which is a community driven conference in Germany, will be held on June 13th - 14th 2008 in Günzburg. Read the rest of this entry »
Even though we don’t really recommend using IntraWeb’s desktop standalone mode in production, there seem to be quite some IntraWeb customers who do that successfully. Unfortunately there is an integrated Log routine which may cause an Integer overflow if your application had more than 2GB traffic. This article shows how to override that routine. Read the rest of this entry »
A couple of IntraWeb users asked me recently how to play sounds (wav, mp3 etc) on IntraWeb forms. There is a TIWMpeg component which can be used for that. Read the rest of this entry »
Implementing Asynchronous events with IntraWeb is plain and easy. Just hook some Pascal (or C++) code to any of the OnAsync Event handlers and you are done. The Advanced Ajax Events demo shows how to call Async events from your custom JavaScript routines and how to implement an asynchronous Key event handler. Read the rest of this entry »
In BCB 2007 the IntraWeb application wizard fails to create one file. This article provides an ISAPI application template project which you can use to start off your C++ Builder IntraWeb applications. Read the rest of this entry »