WebHub Release Notes for v1.491 through 1.494
This file was last updated 5 June 1998, 13:00 PST
Improvements by Category
In the Hub + Runners
- The Hub has a web action component named SHOW. It takes any of the
following words as parameters: Connected, Runners, Hub, HubApp, or Setups.
For example: %=show.execute|Connected=%. This will show you the indicated
Hub panel over the web. The v1.494+ HUBAPP Includes a file hubview.txt
to do this. See also the security demo
- after you log in, you can view the Hub panels on our demos server.
In the Components
- COM/DCOM support v1.491+
Please see the COM demo
and the COM entry in the WebHub Help File for information on how to call
COM and DCOM objects from WebHub-HTML.
- GO macro changed! v1.491
The GO macro supports an ELSE clause to be used when the target PageID
equals the page being generated. This lets you swap in active and inactive
graphics depending on which pageid you land on.
Syntax: Syntax: GO|targetPageID|[optionalTags|]visiblePhrase||elsePhrase
- Exporting static pages v1.491
Exporting is now done "under session number 1000". Any data already
in the 1000.var file will be used on the exported pages. If you have not explicitly
uses session 1000, then it will start out blank (well, it will start out based on
Session0 with no further changes).
Any changes made to the session data during exporting will be discarded. Yes,
this is possible - you could use a SET macro to set flags and that would impact
the literals. Ordinarily, those changes would be saved but that is explicitly
turned OFF during exporting.
- Speed while in Delphi IDE v1.491
Fixed: CPU 100% busy if TWebCommandLine was on a form open in the Designer, and
the DFM had UseWebHub = true. In v1.491+, the UseWebHub flag is no longer stored
in the DFM so it can not default to 'on' in the designer, and a thread looking
to connect to the Hub is no longer started automatically.
This also fixes the problem where you could not test with a 1exe Hub because
"Delphi" was using up on of the slots in the Hub. For anyone using a prior
version before the fix - set UseWebHub to false and Delphi will no longer show
on the Connected panel.
- GPFs on project close or subsequent project open v1.491
Fixed. If your experience differs, email firstname.lastname@example.org immediately - thanks.
- Component Renaming Ability Improved v1.491
This applies to: TWebScan, TWebListGrid, TWebDataSource and TWebDataScan.
If you try to rename the component before the app is updated, or if the app
doesn't exist, or if the webini is not connected, or if the webini.inifilename
is blank -- you will get a specific warning stating the issue. You will be
able to rename the component.
If the INI file is connected and sections for the prior component name are
detected, they will be renamed to the new component name (eg. ButtonSpecs)
and if the component name was embedded in the syntax, the syntax will
automatically be adjusted to use the new component name. Yes!
- New global pointer: pWebCommandLine v1.491
This variable will point to the TWebCommandLine component, if one exists. You'll
need to add the webcall unit to your USES clause to gain access to this pointer.
- Tip: remove the Pages menu v1.491
If you do not need the Pages menu and want to save menu resources on NT 4,
set TWebMenu.PageMenuItem to blank and delete the Pages menu from the
default that is created.
- Ability to extend event handlers v1.491
This is Very Interesting, Obscure and Powerful. You have been warned.
Fact: You can add event handlers to objects such as the TWebApp, for example,
Limitation prior to v1.491: You can only do that once. And if we do it, say in the shared
appmain.pas form, then you can't do it without touching the official shared
form and breaking "the standard".
Why this might come up: When the app object refreshes, various project-dependent
things need to happen, such as refreshing the webmail panel, the webcycle component
or the weblogin component. etc. etc. depending on the project.
Breakthrough: now you can make a LIST of event handlers for a single event,
and all handlers in the list will be called. The core code for this is in
a new unit, htEvtLst.pas, available with source to registered customers.
An example of how this can be used is in the shared ht\htfrm\whMail.pas unit,
where it is necessary to hook into the TWebApp.OnUpdate event handler.
This code is also used in the new shared ht\htfrm\dmExtens.pas unit.
The way this works is that the original event handler is replaced with a
substitute event handler that calls the original one plus any number of
additional handlers. While in practice this is unlikely to exceed 3 or 4 levels,
there is no arbitrary limit on the number of handlers in the list.
- Spaces in Commands v1.491
They are now supported. They are automatically translated to plus signs on the
way out (through JUMP, GO, etc.). The runner translates plus to space on the
way back in.
- CgiHttp property v1.494
Blank on dynamic pages in v1.490; localhost in v1.491; wrong in v1.492-493; correct
- Restorer v1.494
Bug fixed; GPF in VCL30 when exiting projects.
- Export All Pages V1.494
If a TWebPage's export filename is invalid or for some reason can not be written to,
an error will be added to the TWebApp.Errors list. Exporting will continue (it
used to raise an exception).
- Integration with THtmlViewer v1.494
The TWebOutput component now has an OnShow event. That's the time to hook
up the Thtmlviewer component if you want to have HTML preview enabled.
This is demonstrated in the aserver.dpr project which uses the fmHtmlView.pas file.
Details are in those source code files.
v1.493: They have been all been edited for beauty, and many for function :)
New demos - you will find them all on demos.href.com:
- ADV : ad rotation with new TWebCycle component
- HTSC : new security demo with login/logout without Delphi coding
- FORM : save-state demo now includes branding
- COM : COM/DCOM example. Full Delphi source shipping as of v1.492.
- "The WebHub Application Server", ht\htdemos\codedemo\webmastr\whpower\aserver.dpr,
is a variation on the older WebApp.dpr that has been in WebHub for a while now.
It includes a new front panel to make it easy for beginners to switch between WebHub
projects. Source is included in WebHub VCL Bundle. We recommend
that you license and install the THtmlViewer component and enable the HTML Preview panel...
- WebHub Power HTML Guide v1.494
There is a new user manual for beginners learning WebHub HTML, written by
Martha Moore at HREF Tools Corp. The electronic version of this manual is
FREE to WebHub VCL customers.
- Tip for WebHub add-on authors... v1.494
See the entry in webhub.hlp on TfmWebPick... it shows how to write your own
property editors that integrate with WebHub lists with the UI for the AppID|Pick AppID verb.
v1.493+ : System message default directory is /htsysmsg/ (fixed from /sysmsg/).
If you have existing non-default settings for any system messages, in href.ini or the registry,
then will not be overwritten.
Registered customers who are upgrading have the option of installing a set of files
that includes the Hub and the VCL, without demos or docs.
v1.494: TWebLogin is still looking for its settings in the wrong place.
Edit weblogin.pas, line 194 to say
self.classname. You can rebuild
your packages using the totally nifty .bat file that you will find in ht\pkg.
Hub.exe v1.494 (only) does not run on 1 system - gives a flurry of errors on start.
If anyone else sees this problem, please write to email@example.com.
If you choose Help|Registration and click [Cancel] you will invalidate your Hub
capacity. Do it again and click [Ok] to restore.
Hub UI freezes, sometimes. If anyone can reproduce this at will, please advise firstname.lastname@example.org.
The webhub.hlp file has invalid links from the VCL components page to TWebCycle and
TWebLogin. However those components are in the help file, just search for them by name.
Problem with nested macros not expanding - fixed in v1.495.
HREF Tools Corp., 300 B Street, Suite 215, Santa Rosa, CA 95401 USA