Dan,

Closing the logging browser will cause an error when a new log message
is created.  Not sure how to turn this off.

---
Is there anybody who knows how to turn off the logging window?


I looked into the other errors you are having and they are issues with
the sample applications, a new version of the index.xal file for the
panel application is checked in.  The problem was the margin used commas
separators instead of spaces.  I am looking the issue with the EMS demo
and it looks to be something with the sample as well. 

So the good news is the errors are with the samples and not your
configuration.

Bob


-----Original Message-----
From: Scholten, Dan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 3:10 PM
To: [email protected]
Subject: RE: getting started

Ok, allowing popups did in fact take care of the "TypeError:
ConsoleLog.s_logWindow has no properties" message.  However, if I close
that log window after it pops up, then go back and start using the main
XAP program again, alert boxes popup instead of a new log window being
opened.  I'm not sure if this is an issue or I'm just not allowed to
close the log window and resume using the application.

For the Panel demo, I received 2 errors about the 'margin' property and
for the EMS demo I received an unknown property error for 'valgin'
followed by several "Error: Expected declaration but found '#FFFFFF'."
errors and then finally an "a.lng is not a function" error, but that
one was from maps.google.com.  Does anyone know if these errors are due
to the code or my configuration?  I just want to make sure that I have
the framework set up properly before I start creating webapps.
 
Thanks,
Dan 
 
 

________________________________

From: James Margaris [mailto:[EMAIL PROTECTED]
Sent: Wed 7/12/2006 1:01 PM
To: [email protected]
Subject: RE: getting started



The erros you see in the log, like this:


(PluginDocumentHandler): Exception during eval:TypeError:
xap.bridges.zimbra.DwtLabelBridge is not a constructor]

Those errors are ok. They will go away eventually, they are a
consequence of the fact that we are transitioning from things that are
not package named to things that are.

The only errors you should worry about are errors that appear as
alerts,
or errors that appear in the browser javascript console. (In Mozilla
tools->JavaScript console). The errors that appear in the log window
are
mostly not really errors, just things we need to clean up at some
point.

About the unit test issues:

<testCase
name="http://localhost:9999/jsunit/testsrc/xap/taghandling/_TestPluginR
e
gistryImpl.html:testAddPluginDescription
<http://localhost:9999/jsunit/testsrc/xap/taghandling/_TestPluginRegist
ryImpl.html:testAddPluginDescription> " time="0.016">  <error> Error
message is:
"TypeError: ConsoleLog.s_logWindow has no properties"

The ConsoleLog.s_logWindow is the window that opens up with those logs.
Probably popup blocking is getting in the way. You may have to turn
popup blocking off for that URL.

This is a deficiency that we need to fix up at some point.

James Margaris


-----Original Message-----
From: Scholten, Dan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 11:41 AM
To: [email protected]
Subject: RE: getting started

Well I searched briefly and couldn't find anyway to configure the MIME
types for Jetty, but figured you may still be right so I downloaded and
installed apache 2.2.2 and set it up to run on localhost.  I navigated
to the examples and they partially work.  It appears as though most of
the functionality works, but there are exceptions generated in the log
file, even for the simple Hello World example.  From the exception, it
appears as though it is not finding the source file for the zimbra
label, but the webpage still displays just as it does from the XAP
website.  Furthermore, I changed the google maps key in the EMS demo to
work with my own key on localhost and the page appeared to load
correctly, but there were lots of errors in the log and more occurred
every time I clicked a tree item.  Anyway, I'd like to get the hello
world demo working correctly before I move onto the more complex ones.
The following is the output from the log:

[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add plugin description] [Debug - Wed Jul 12 2006
11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): 3 mapped tags]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:panel:xap.bridges.zimbra.DwtCompositeBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:label:xap.bridges.zimbra.DwtLabelBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:button:xap.bridges.zimbra.DwtButtonBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:tabPane:xap.bridges.zimbra.DwtTabViewBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:tab:xap.bridges.zimbra.DwtTabBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:splitPane:xap.bridges.zimbra.DwtSplitterBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:left:xap.bridges.zimbra.DwtSplitChildBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:right:xap.bridges.zimbra.DwtSplitChildBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:top:xap.bridges.zimbra.DwtSplitChildBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:bottom:xap.bridges.zimbra.DwtSplitChildBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:tree:xap.bridges.zimbra.DwtTreeBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:treeItem:xap.bridges.zimbra.DwtTreeItemBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:textField:xap.bridges.zimbra.DwtTextFieldBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:verticalLayoutPanel:xap.bridges.zimbra.DwtVerticalLayoutPanelBr
idge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:horizontalLayoutPanel:xap.bridges.zimbra.DwtHorizontalLayoutPan
elBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:textView:xap.bridges.basic.TextViewBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:button:xap.bridges.dojo.DojoButtonBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:contentPane:xap.bridges.dojo.DojoContentPaneBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:floatingPane:xap.bridges.dojo.DojoFloatingPaneBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:generic:xap.bridges.dojo.DojoGenericWidgetBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:layoutPane:xap.bridges.dojo.DojoLayoutPaneBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:gMap:xap.bridges.google.GoogleMapBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:infoWindow:xap.bridges.google.GoogleInfoWindowBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:marker:xap.bridges.google.GoogleMarkerBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:markers:xap.bridges.google.GoogleMarkersBridge]
[Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:icons:xap.bridges.google.GoogleIconsBridge]
[Debug - Wed Jul 12 2006 11:32:28 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Add tag
mapping:icon:xap.bridges.google.GoogleIconBridge]
[Debug - Wed Jul 12 2006 11:32:28 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): Parse unmapped tags] [Debug - Wed Jul 12 2006
11:32:28 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): 0 unmapped tags]
[Debug - Wed Jul 12 2006 11:32:28 GMT-0400 (Eastern Standard Time)
(PluginRegistryImpl): lifecycle class = undefined] [Debug - Wed Jul 12
2006 11:32:28 GMT-0400 (Eastern Standard Time)
(Profiler): Parse plugin.xml[0] took 704ms] [Debug - Wed Jul 12 2006
11:32:28 GMT-0400 (Eastern Standard Time)
(XalNamespaceHandler): receiveDispatch:[object Object]] [Exception -
Wed
Jul 12 2006 11:32:28 GMT-0400 (Eastern Standard Time)
(PluginDocumentHandler): Exception during eval:TypeError:
xap.bridges.zimbra.DwtLabelBridge is not a constructor]



________________________________

From: Rob Gagne [mailto:[EMAIL PROTECTED]
Sent: Wed 7/12/2006 9:28 AM
To: [email protected]
Subject: RE: getting started



One possible problem is with the file extension of the user interface
definition files.

For instance the "hello world" app loads index.xal.  Running the
samples
on Apache has no problem; running on IIS requires configuring the "XAL"
extension as a mime type, in this case XML.

Possibly Jetty has a similar requirement?

-----Original Message-----
From: Scholten, Dan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 9:16 AM
To: [email protected]
Subject: RE: getting started

Ok, I looked at the build file and saw that webappsRoot was pointing to
the /staging directory, which was created once I ran "build examples".
I then set my Jetty server to use the staging folder as its deployment
area.  I started up the server but when I clicked on the examples, no
dynamic content was loaded.  The pages were blank for the most part.
Are there file associations that I need to somehow link with the with
the XAP source? Also, I noticed there was a "build all" which runs the
test cases for you.  After I set the jsunit-server-properties xml file
to use my Firefox browser, I ran the build all command.  I received the
following error:

<testCase
name="http://localhost:9999/jsunit/testsrc/xap/taghandling/_TestPluginR
egistryImpl.html:testAddPluginDescription
<http://localhost:9999/jsunit/testsrc/xap/taghandling/_TestPluginRegist
ryImpl.html:testAddPluginDescription> " time="0.016">  <error> Error
message is:
"TypeError: ConsoleLog.s_logWindow has no properties"

There is a stack trace I can post if needed.  Did I forget to download
something or am I configuring it wrong?


Thanks,
Dan






Reply via email to