LANSA Home page
  Tech Exchange Beta
TECH EXCHANGE BETA

LANSA HOME
Help Desk
HELP DESK

   
 
Navigation Bar Navigation Bar
 
Spacer Spacer
 
Bullet Resolved Issues Home
Bullet General
Bullet Visual LANSA
Bullet LANSA for iSeries
Bullet LANSA for the Web
Bullet LANSA Integrator
Bullet LANSA Composer
Bullet LANSA Open
Bullet LANSA Client
Bullet Technical Newsletter
Bullet Search Support
 

Treeview weblet does not display on System i/Apache Web server

Date: 12 December 2008
Product/Release: Visual LANSA V11 (all Service Packs)
Abstract: Treeview weblet does not display on System i/Apache Web server due to an unregistered extension '.htc'
Submitted By: LANSA Technical Support

Issue:

On some System i Web server configurations, the treeview weblet may not display in a WAM application. No error message will be shown, only a blank space where the treeview should be

Reason:
One possibility for this issue is that the .htc extension which is used to display the treeview is not registered in the Apache configuration. As an unknown extension, Apache sends it out with the MIME type www/unknown, stopping Internet Explorer from showing the treeview. The correct MIME type is text/x-component

If you are having trouble displaying treeviews on your Apache Web server, one possible solution is to manually associate the MIME type text/x-component with the .htc extension. To do this, add the following line to the section for the /images directory in httpd.conf:
AddType text/x-component .htc

For example, the images directory section might look like:
Alias /images/ /devuserimg/
<Directory /devuserimg>
   order allow,deny
   allow from all
   options +Includes
   AddType text/x-component .htc
</Directory>

 
 
 

© 2010 LANSA.

  All rights reserved.

  Bullet Contact Us Bullet Site Map Bullet Legal Notices