Yep, I'll fix that too.

-----Original Message-----
From: Bob Buffone [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 29, 2008 8:38 AM
To: [email protected]
Subject: RE: [0.5.0] Deploying dist folder under Tomcat 5.5.26

Ted,

I looked into the problem, and it seems that the configuration file

xap/config/XapConfig.js is wrong in the dist directory.

The file defines

    pluginFiles: [
        "xap/src/xap/taghandling"
        ],

Instead of 

    pluginFiles: [
        "xap/src/plugin.xml"
        ],

If you change the file and clear the cache it will work correctly.

-- Trevor can we get this fixed when you are recreating the zip file?

Bob (Buffone)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Ted Husted
Sent: Thursday, March 27, 2008 11:03 PM
To: [email protected]
Subject: [0.5.0] Deploying dist folder under Tomcat 5.5.26

I dropped the "samples" folder from 0.5.0 under webapps/ROOT on a
default installation of Tomcat 5.5.26 and
<http://localhost:8080/samples/> seems to run just fine.

I tried the same with "dist", but
http://localhost:8080/dist/ajax-index.html does not render for me
under either FireFox 2.0 or IE7 (XP).

Is this a known issue with Tomcat, or am I doing something wrong?

The page shows up under view source,  but the page renders blank. I'll
annex the HTML that's returned.

TIA, Ted.
http://jroller.com/TedHusted/

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<!--
 - Licensed to the Apache Software Foundation (ASF) under one
 -  or more contributor license agreements.  See the NOTICE file
 -  distributed with this work for additional information
 -  regarding copyright ownership.  The ASF licenses this file
 -  to you under the Apache License, Version 2.0 (the
 -  "License"); you may not use this file except in compliance
 -  with the License.  You may obtain a copy of the License at
 -
 -      http://www.apache.org/licenses/LICENSE-2.0
 -
 -  Unless required by applicable law or agreed to in writing, software
 -  distributed under the License is distributed on an "AS IS" BASIS,
 -  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
 -  See the License for the specific language governing permissions and
 -  limitations under the License.
 -
-->

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
        <title>Sample Button</title>

        <style type="text/css">
                <!--
                @import url(xap/css/xapDefault.css);
                -->
                body { margin: 5px; }
        </style>

                <!-- Keep dojo from trying to scan this whole page for
dojoType'd tags: -->
                <script type="text/javascript">
            djConfig = {
                parseWidgets: false,
                baseRelativePath: "xap/src/dojo/"
            };
        </script>
        
        <script language="JavaScript" type="text/javascript"
src="xap/lib/xapcore.js"></script>
        <script language="JavaScript" type="text/javascript"
src="src-js/DisplayUIDocument.js"></script>

        <script language="JavaScript" type="text/javascript">
                function onLoad(){
                        Xap.createEmbeddedApplications();
                }       
        </script>
    </head>

    <body onload="onLoad();">
       <div applicationName="SampleButton" startPage="ajax-index.xal"
configFilePath="xap/config/XapConfig.js"></div>
    </body>
</html>

Reply via email to