incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r518313 [43/43] - in /incubator/xap/trunk/codebase/src/dojo: ./ src/ src/animation/ src/cal/ src/charting/ src/charting/svg/ src/charting/vml/ src/collections/ src/crypto/ src/data/ src/data/core/ src/data/old/ src/data/old/format/ src/data...
Date Wed, 14 Mar 2007 20:37:27 GMT
Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/h-bar.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/h-bar.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/h-bar.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/incrementMonth.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/incrementMonth.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/incrementMonth.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/incrementMonth.png
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/incrementMonth.png?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/incrementMonth.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/no.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/no.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/no.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/no.svg
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/no.svg?view=auto&rev=518313
==============================================================================
--- incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/no.svg (added)
+++ incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/no.svg Wed Mar 14 13:36:44 2007
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 51448)  -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
+	<!ENTITY ns_svg "http://www.w3.org/2000/svg">
+	<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg  version="1.1" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="15.433" height="15.433"
+	 viewBox="0 0 15.433 15.433" overflow="visible" enable-background="new 0 0 15.433 15.433" xml:space="preserve">
+<circle fill="none" stroke="#D02026" stroke-width="2" cx="7.716" cy="7.716" r="6.716"/>
+<line fill="none" stroke="#D02026" stroke-width="2" x1="3.02" y1="12.352" x2="12.639" y2="2.732"/>
+</svg>

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/scBackground.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/scBackground.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/scBackground.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-bg-progress-vert.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-bg-progress-vert.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-bg-progress-vert.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-bg-vert.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-bg-vert.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-bg-vert.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-bg.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-bg.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-bg.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-button-horz.png
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-button-horz.png?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-button-horz.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-button-vert.png
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-button-vert.png?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-button-vert.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-button.png
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-button.png?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider-button.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider_down_arrow.png
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider_down_arrow.png?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider_down_arrow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider_left_arrow.png
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider_left_arrow.png?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider_left_arrow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider_right_arrow.png
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider_right_arrow.png?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider_right_arrow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider_up_arrow.png
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider_up_arrow.png?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/slider_up_arrow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaAccordionOff.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaAccordionOff.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaAccordionOff.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaAccordionSelected.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaAccordionSelected.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaAccordionSelected.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaActive-c.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaActive-c.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaActive-c.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaActive-l.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaActive-l.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaActive-l.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaActive-r.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaActive-r.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaActive-r.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaBarBg.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaBarBg.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaBarBg.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaButton-c.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaButton-c.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaButton-c.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaButton-l.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaButton-l.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaButton-l.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaButton-r.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaButton-r.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaButton-r.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaDisabled-c.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaDisabled-c.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaDisabled-c.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaDisabled-l.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaDisabled-l.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaDisabled-l.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaDisabled-r.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaDisabled-r.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaDisabled-r.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaMenuBg.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaMenuBg.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaMenuBg.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaPressed-c.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaPressed-c.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaPressed-c.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaPressed-l.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaPressed-l.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaPressed-l.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaPressed-r.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaPressed-r.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/soriaPressed-r.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/spinnerDecrement.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/spinnerDecrement.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/spinnerDecrement.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/spinnerIncrement.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/spinnerIncrement.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/spinnerIncrement.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/submenu_disabled.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/submenu_disabled.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/submenu_disabled.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/submenu_off.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/submenu_off.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/submenu_off.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/submenu_on.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/submenu_on.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/submenu_on.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_bot_left.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_bot_left.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_bot_left.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_bot_left_curr.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_bot_left_curr.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_bot_left_curr.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_bot_right.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_bot_right.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_bot_right.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_bot_right_curr.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_bot_right_curr.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_bot_right_curr.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_close.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_close.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_close.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_close_h.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_close_h.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_close_h.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_left.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_left.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_left.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_left_r.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_left_r.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_left_r.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_left_r_curr.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_left_r_curr.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_left_r_curr.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_right.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_right.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_right.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_right_r.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_right_r.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_right_r.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_right_r_curr.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_right_r_curr.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_right_r_curr.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_top_left.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_top_left.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_top_left.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_top_right.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_top_right.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/tab_top_right.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/timeIcon.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/timeIcon.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/timeIcon.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/toolbar-bg.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/toolbar-bg.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/toolbar-bg.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/transparent.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/transparent.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/transparent.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_blank.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_blank.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_blank.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_child.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_child.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_child.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_expand_minus.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_expand_minus.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_expand_minus.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_expand_plus.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_expand_plus.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_expand_plus.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_c.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_c.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_c.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_l.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_l.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_l.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_p.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_p.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_p.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_t.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_t.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_t.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_v.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_v.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_v.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_x.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_x.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_x.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_y.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_y.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_y.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_z.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_z.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_grid_z.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_node.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_node.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/treenode_node.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/verticalbar.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/verticalbar.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/verticalbar.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/whiteDownArrow.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/whiteDownArrow.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/images/whiteDownArrow.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/incrementMonth.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/incrementMonth.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/incrementMonth.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/incrementWeek.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/incrementWeek.gif?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/incrementWeek.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/templates/richtextframe.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/templates/richtextframe.html?view=auto&rev=518313
==============================================================================
--- incubator/xap/trunk/codebase/src/dojo/src/widget/templates/richtextframe.html (added)
+++ incubator/xap/trunk/codebase/src/dojo/src/widget/templates/richtextframe.html Wed Mar 14 13:36:44 2007
@@ -0,0 +1,24 @@
+<!-- <?xml version="1.0" encoding="UTF-8"?> -->
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
+	"DTD/xhtml1-strict.dtd">
+<html>
+	<head>
+		<title></title>
+		<script type="text/javascript">
+			function init(){
+				document.designMode = 'on';
+				try{
+					parentPageDomain = document.location.href.split('#')[1];
+					if(parentPageDomain){
+						document.domain = parentPageDomain;
+					}
+				}catch(e){ }
+			}
+			window.onload = init;
+		</script>
+	</head>
+	<body>
+		<br />
+	</body>
+</html>

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/validate.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/validate.js?view=auto&rev=518313
==============================================================================
--- incubator/xap/trunk/codebase/src/dojo/src/widget/validate.js (added)
+++ incubator/xap/trunk/codebase/src/dojo/src/widget/validate.js Wed Mar 14 13:36:44 2007
@@ -0,0 +1,14 @@
+/*
+	Copyright (c) 2004-2006, The Dojo Foundation
+	All Rights Reserved.
+
+	Licensed under the Academic Free License version 2.1 or above OR the
+	modified BSD license. For more information on Dojo licensing, see:
+
+		http://dojotoolkit.org/community/licensing.shtml
+*/
+
+dojo.provide("dojo.widget.validate");
+
+dojo.deprecated("dojo.widget.validate", 
+	"use one of the specific widgets in dojo.widget.<name>Textbox instead", "0.5");

Added: incubator/xap/trunk/codebase/src/dojo/src/widget/vml/Chart.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/widget/vml/Chart.js?view=auto&rev=518313
==============================================================================
--- incubator/xap/trunk/codebase/src/dojo/src/widget/vml/Chart.js (added)
+++ incubator/xap/trunk/codebase/src/dojo/src/widget/vml/Chart.js Wed Mar 14 13:36:44 2007
@@ -0,0 +1,643 @@
+/*
+	Copyright (c) 2004-2006, The Dojo Foundation
+	All Rights Reserved.
+
+	Licensed under the Academic Free License version 2.1 or above OR the
+	modified BSD license. For more information on Dojo licensing, see:
+
+		http://dojotoolkit.org/community/licensing.shtml
+*/
+
+dojo.provide("dojo.widget.vml.Chart");
+
+dojo.require("dojo.widget.HtmlWidget");
+dojo.require("dojo.widget.Chart");
+dojo.require("dojo.math");
+dojo.require("dojo.html.layout");
+dojo.require("dojo.gfx.color");
+
+dojo.widget.defineWidget(
+	"dojo.widget.vml.Chart",
+	[dojo.widget.HtmlWidget, dojo.widget.Chart],
+	function(){
+		// summary: Creates a chart based on the passed data and plotter choice, using VML.
+		// description:
+		//		Renders a basic chart set based on the chosen data source and plotter, using
+		//		VML.  Note that a lot of the public properties are not meant to be altered,
+		//		and that some usable attributes passed with the HTML widget definition do not
+		//		correspond to equivilent properties that are used.
+		this.templatePath=null;
+		this.templateCssPath=null;
+		this._isInitialize=false;
+		this.hasData=false;
+		this.vectorNode=null;
+		this.plotArea=null;
+		this.dataGroup=null;
+		this.axisGroup=null;
+		this.properties={
+			height:0,	//	defaults, will resize to the domNode.
+			width:0,
+			defaultWidth:600,
+			defaultHeight:400,
+			plotType:null,
+			padding:{
+				top:10,
+				bottom:2,
+				left:60,
+				right:30
+			},
+			axes:{
+				x:{
+					plotAt:0,
+					label:"",
+					unitLabel:"",
+					unitType:Number,
+					nUnitsToShow:10,
+					range:{
+						min:0,
+						max:200
+					}
+				},
+				y:{
+					plotAt:0,
+					label:"",
+					unitLabel:"",
+					unitType:Number,
+					nUnitsToShow:10,
+					range:{
+						min:0,
+						max:200
+					}
+				}
+			}
+		};
+	},
+{
+	parseProperties:function(/* HTMLElement */node){
+		//	summary
+		//	Parse the properties off the main tag
+		var bRangeX=false;
+		var bRangeY=false;
+		if (node.getAttribute("width")){ 
+			this.properties.width=node.getAttribute("width");
+		}
+		if (node.getAttribute("height")){
+			this.properties.height=node.getAttribute("height");
+		}
+		if (node.getAttribute("plotType")){
+			this.properties.plotType=node.getAttribute("plotType");
+		}
+		if (node.getAttribute("padding")){
+			if (node.getAttribute("padding").indexOf(",") > -1)
+				var p=node.getAttribute("padding").split(","); 
+			else var p=node.getAttribute("padding").split(" ");
+			if (p.length==1){
+				var pad=parseFloat(p[0]);
+				this.properties.padding.top=pad;
+				this.properties.padding.right=pad;
+				this.properties.padding.bottom=pad;
+				this.properties.padding.left=pad;
+			} else if(p.length==2){
+				var padV=parseFloat(p[0]);
+				var padH=parseFloat(p[1]);
+				this.properties.padding.top=padV;
+				this.properties.padding.right=padH;
+				this.properties.padding.bottom=padV;
+				this.properties.padding.left=padH;
+			} else if(p.length==4){
+				this.properties.padding.top=parseFloat(p[0]);
+				this.properties.padding.right=parseFloat(p[1]);
+				this.properties.padding.bottom=parseFloat(p[2]);
+				this.properties.padding.left=parseFloat(p[3]);
+			}
+		}
+		if (node.getAttribute("rangeX")){
+			var p=node.getAttribute("rangeX");
+			if (p.indexOf(",")>-1) p=p.split(",");
+			else p=p.split(" ");
+			this.properties.axes.x.range.min=parseFloat(p[0]);
+			this.properties.axes.x.range.max=parseFloat(p[1]);
+			bRangeX=true;
+		}
+		if (node.getAttribute("rangeY")){
+			var p=node.getAttribute("rangeY");
+			if (p.indexOf(",")>-1) p=p.split(",");
+			else p=p.split(" ");
+			this.properties.axes.y.range.min=parseFloat(p[0]);
+			this.properties.axes.y.range.max=parseFloat(p[1]);
+			bRangeY=true;
+		}
+		return { rangeX:bRangeX, rangeY:bRangeY };
+	},
+	setAxesPlot:function(/* HTMLElement */table){
+		//	summary
+		//	figure out where to plot the axes
+		if (table.getAttribute("axisAt")){
+			var p=table.getAttribute("axisAt");
+			if (p.indexOf(",")>-1) p=p.split(",");
+			else p=p.split(" ");
+			
+			//	x axis
+			if (!isNaN(parseFloat(p[0]))){
+				this.properties.axes.x.plotAt=parseFloat(p[0]);
+			} else if (p[0].toLowerCase()=="ymin"){
+				this.properties.axes.x.plotAt=this.properties.axes.y.range.min;
+			} else if (p[0].toLowerCase()=="ymax"){
+				this.properties.axes.x.plotAt=this.properties.axes.y.range.max;
+			}
+
+			// y axis
+			if (!isNaN(parseFloat(p[1]))){
+				this.properties.axes.y.plotAt=parseFloat(p[1]);
+			} else if (p[1].toLowerCase()=="xmin"){
+				this.properties.axes.y.plotAt=this.properties.axes.x.range.min;
+			} else if (p[1].toLowerCase()=="xmax"){
+				this.properties.axes.y.plotAt=this.properties.axes.x.range.max;
+			}
+		} else {
+			this.properties.axes.x.plotAt=this.properties.axes.y.range.min;
+			this.properties.axes.y.plotAt=this.properties.axes.x.range.min;
+		}
+	},
+	drawVectorNode:function(){
+		//	summary
+		//	Draws the main canvas for the chart
+		if(this.vectorNode){ this.destroy(); }
+		this.vectorNode=document.createElement("div");
+		this.vectorNode.style.width=this.properties.width+"px";
+		this.vectorNode.style.height=this.properties.height+"px";
+		this.vectorNode.style.position="relative";
+		this.domNode.appendChild(this.vectorNode);
+	},
+	drawPlotArea:function(){
+		//	summary
+		//	Draws the plot area for the chart
+		var plotWidth=this.properties.width-this.properties.padding.left-this.properties.padding.right;
+		var plotHeight=this.properties.height-this.properties.padding.top-this.properties.padding.bottom;
+
+		if(this.plotArea){
+			this.plotArea.parentNode.removeChild(this.plotArea);
+			this.plotArea=null;
+		}
+		this.plotArea=document.createElement("div");
+		this.plotArea.style.position="absolute";
+		this.plotArea.style.backgroundColor="#fff";
+		this.plotArea.style.top=(this.properties.padding.top)-2+"px";
+		this.plotArea.style.left=(this.properties.padding.left-1)+"px";
+		this.plotArea.style.width=plotWidth+"px";
+		this.plotArea.style.height=plotHeight+"px";
+		this.plotArea.style.clip="rect(0 "+plotWidth+" "+plotHeight+" 0)";
+		this.vectorNode.appendChild(this.plotArea);
+	},
+	drawDataGroup:function(){
+		//	summary
+		//	Draws the data group for the chart
+		var plotWidth=this.properties.width-this.properties.padding.left-this.properties.padding.right;
+		var plotHeight=this.properties.height-this.properties.padding.top-this.properties.padding.bottom;
+
+		if(this.dataGroup){
+			this.dataGroup.parentNode.removeChild(this.dataGroup);
+			this.dataGroup=null;
+		}
+		this.dataGroup=document.createElement("div");
+		this.dataGroup.style.position="absolute";
+		this.dataGroup.setAttribute("title", "Data Group");
+		this.dataGroup.style.top="0px";
+		this.dataGroup.style.left="0px";
+		this.dataGroup.style.width=plotWidth+"px";
+		this.dataGroup.style.height=plotHeight+"px";
+		this.plotArea.appendChild(this.dataGroup);
+	},
+	drawAxes:function(){
+		//	summary
+		//	Draws the axes for the chart
+		var plotWidth=this.properties.width-this.properties.padding.left-this.properties.padding.right;
+		var plotHeight=this.properties.height-this.properties.padding.top-this.properties.padding.bottom;
+
+		if(this.axisGroup){
+			this.axisGroup.parentNode.removeChild(this.axisGroup);
+			this.axisGroup=null;
+		}
+		this.axisGroup=document.createElement("div");
+		this.axisGroup.style.position="absolute";
+		this.axisGroup.setAttribute("title", "Axis Group");
+		this.axisGroup.style.top="0px";
+		this.axisGroup.style.left="0px";
+		this.axisGroup.style.width=plotWidth+"px";
+		this.axisGroup.style.height=plotHeight+"px";
+		this.plotArea.appendChild(this.axisGroup);
+		var stroke=1;
+
+		//	x axis
+		var line=document.createElement("v:line");
+		var y=dojo.widget.vml.Chart.Plotter.getY(this.properties.axes.x.plotAt, this);
+		line.setAttribute("from", "0px,"+y+"px");
+		line.setAttribute("to", plotWidth+"px,"+y+"px");
+		line.style.position="absolute";
+		line.style.top="0px";
+		line.style.left="0px";
+		line.style.antialias="false";
+		line.setAttribute("strokecolor", "#666");
+		line.setAttribute("strokeweight", stroke*2+"px");
+		this.axisGroup.appendChild(line);
+
+		//	y axis
+		var line=document.createElement("v:line");
+		var x=dojo.widget.vml.Chart.Plotter.getX(this.properties.axes.y.plotAt, this);
+		line.setAttribute("from", x+"px,0px");
+		line.setAttribute("to", x+"px,"+plotHeight+"px");
+		line.style.position="absolute";
+		line.style.top="0px";
+		line.style.left="0px";
+		line.style.antialias="false";
+		line.setAttribute("strokecolor", "#666");
+		line.setAttribute("strokeweight", stroke*2+"px");
+		this.axisGroup.appendChild(line);
+		
+		//	labels
+		var size=10;
+
+		//	x axis labels.
+		var t=document.createElement("div");
+		t.style.position="absolute";
+		t.style.top=(this.properties.height-this.properties.padding.bottom)+"px";
+		t.style.left=this.properties.padding.left+"px";
+		t.style.fontFamily="sans-serif";
+		t.style.fontSize=size+"px";
+		t.innerHTML=dojo.math.round(parseFloat(this.properties.axes.x.range.min),2);
+		this.vectorNode.appendChild(t);
+
+		t=document.createElement("div");
+		t.style.position="absolute";
+		t.style.top=(this.properties.height-this.properties.padding.bottom)+"px";
+		t.style.left=(this.properties.width-this.properties.padding.right-size)+"px";
+		t.style.fontFamily="sans-serif";
+		t.style.fontSize=size+"px";
+		t.innerHTML=dojo.math.round(parseFloat(this.properties.axes.x.range.max),2);
+		this.vectorNode.appendChild(t);
+
+		//	y axis labels.
+		t=document.createElement("div");
+		t.style.position="absolute";
+		t.style.top=(size/2)+"px";
+		t.style.left="0px";
+		t.style.width=this.properties.padding.left + "px";
+		t.style.textAlign="right";
+		t.style.paddingRight="4px";
+		t.style.fontFamily="sans-serif";
+		t.style.fontSize=size+"px";
+		t.innerHTML=dojo.math.round(parseFloat(this.properties.axes.y.range.max),2);
+		this.vectorNode.appendChild(t);
+		
+		t=document.createElement("div");
+		t.style.position="absolute";
+		t.style.top=(this.properties.height-this.properties.padding.bottom-size)+"px";
+		t.style.left="0px";
+		t.style.width=this.properties.padding.left + "px";
+		t.style.textAlign="right";
+		t.style.paddingRight="4px";
+		t.style.fontFamily="sans-serif";
+		t.style.fontSize=size+"px";
+		t.innerHTML=dojo.math.round(parseFloat(this.properties.axes.y.range.min),2);
+		this.vectorNode.appendChild(t);
+	},
+	
+	init:function(){
+		//	summary
+		//	Initialize the chart
+		if(!this.properties.width || !this.properties.height){
+			var box=dojo.html.getContentBox(this.domNode);
+			if(!this.properties.width){
+				this.properties.width=(box.width<32)?this.properties.defaultWidth:box.width;
+			}
+			if(!this.properties.height){
+				this.properties.height=(box.height<32)?this.properties.defaultHeight:box.height;
+			}
+		}
+
+		//	set up the chart; each is a method so that it can be selectively overridden.
+		this.drawVectorNode();
+		this.drawPlotArea();
+		this.drawDataGroup();
+		this.drawAxes();
+
+		//	this is last.
+		this.assignColors();
+		this._isInitialized=true;
+	},
+	destroy:function(){
+		//	summary
+		//	Node cleanup
+		while(this.domNode.childNodes.length>0){
+			this.domNode.removeChild(this.domNode.childNodes[0]);
+		}
+		this.vectorNode=this.plotArea=this.dataGroup=this.axisGroup=null;
+	},
+	render:function(){
+		//	summary
+		//	Draws the data on the chart
+		if (this.dataGroup){
+			while(this.dataGroup.childNodes.length>0){
+				this.dataGroup.removeChild(this.dataGroup.childNodes[0]);
+			}
+		} else {
+			this.init();
+		}
+		for(var i=0; i<this.series.length; i++){
+			dojo.widget.vml.Chart.Plotter.plot(this.series[i], this);
+		}
+	},
+	postCreate:function(){
+		//	summary
+		//	Parse any data if included with the chart, and kick off the rendering.
+		var table=this.domNode.getElementsByTagName("table")[0];
+		if (table){
+			var ranges=this.parseProperties(table);
+			var bRangeX=false;
+			var bRangeY=false;
+		
+			//	fix the axes
+			var axisValues = this.parseData(table);
+			if(!bRangeX){
+				this.properties.axes.x.range={min:axisValues.x.min, max:axisValues.x.max};
+			}
+			if(!bRangeY){
+				this.properties.axes.y.range={min:axisValues.y.min, max:axisValues.y.max};
+			}
+			this.setAxesPlot(table);
+
+			//	table values should be populated, now pop it off.
+			this.domNode.removeChild(table);
+		}
+		if(this.series.length>0){
+			this.render();
+		}
+	}
+});
+
+dojo.widget.vml.Chart.Plotter=new function(){
+	//	summary
+	//	Singleton for plotting series of data.
+	var self=this;
+	var plotters = {};
+	var types=dojo.widget.Chart.PlotTypes;
+	
+	this.getX=function(/* string||number */value, /* dojo.widget.Chart */chart){
+		//	summary
+		//	Calculate the x coord on the passed chart for the passed value
+		var v=parseFloat(value);
+		var min=chart.properties.axes.x.range.min;
+		var max=chart.properties.axes.x.range.max;
+		var ofst=0-min;
+		min+=ofst; max+=ofst; v+=ofst;
+
+		var xmin = 0;
+		var xmax=chart.properties.width-chart.properties.padding.left-chart.properties.padding.right;
+		var x=(v*((xmax-xmin)/max))+xmin;
+		return x;
+	};
+	this.getY=function(/* string||number */value, /* dojo.widget.Chart */chart){
+		//	summary
+		//	Calculate the y coord on the passed chart for the passed value
+		var v=parseFloat(value);
+		var max=chart.properties.axes.y.range.max;
+		var min=chart.properties.axes.y.range.min;
+		var ofst=0;
+		if(min<0)ofst+=Math.abs(min);
+		min+=ofst; max+=ofst; v+=ofst;
+		
+		var ymin=chart.properties.height-chart.properties.padding.top-chart.properties.padding.bottom;
+		var ymax = 0;
+		var y=(((ymin-ymax)/(max-min))*(max-v))+ymax;
+		return y;
+	};
+
+	this.addPlotter=function(/* string */name, /* function */func){
+		//	summary
+		//	add a custom plotter function to this object.
+		plotters[name]=func;
+	};
+	this.plot=function(/* dojo.widget.Chart.DataSeries */series, /* dojo.widget.Chart */chart){
+		//	summary
+		//	plot the passed series.
+		if (series.values.length==0) return;	//	void
+		if (series.plotType && plotters[series.plotType]){
+			return plotters[series.plotType](series, chart);	//	void
+		}
+		else if (chart.plotType && plotters[chart.plotType]){
+			return plotters[chart.plotType](series, chart);		//	void
+		}
+	};
+
+	//	plotting
+	plotters["bar"]=function(/* dojo.widget.Chart.DataSeries */series, /* dojo.widget.Chart */chart){
+		//	summary
+		//	plot the passed series as a set of bars.
+		var space=1;
+		var lastW = 0;
+		var ys = [];
+		var yAxis=self.getY(chart.properties.axes.x.plotAt, chart);
+		var yA = yAxis;
+		for (var i=0; i<series.values.length; i++){
+			var x=self.getX(series.values[i].x, chart);
+			var w;
+			if (i==series.values.length-1){
+				w=lastW;
+			} else{
+				w=self.getX(series.values[i+1].x, chart)-x-space;
+				lastW=w;
+			}
+			x-=(w/2);
+
+			var y=self.getY(series.values[i].value, chart);
+			var h=Math.abs(yA-y);
+			if (parseFloat(series.values[i].value) < chart.properties.axes.x.plotAt){
+				y=yA;
+			}
+
+			var bar=document.createElement("v:rect");
+			bar.style.position="absolute";
+			bar.style.top=y+"px";
+			bar.style.left=x+"px";
+			bar.style.width=w+"px";
+			bar.style.height=h+"px";
+			bar.setAttribute("fillColor", series.color);
+			bar.setAttribute("stroked", "false");
+			bar.style.antialias="false";
+			bar.setAttribute("title", series.label + " (" + i + "): " + series.values[i].value);
+			var fill=document.createElement("v:fill");
+			fill.setAttribute("opacity", "0.9");
+			bar.appendChild(fill);
+			chart.dataGroup.appendChild(bar);
+		}
+	};	
+	plotters["line"]=function(/* dojo.widget.Chart.DataSeries */series, /* dojo.widget.Chart */chart){
+		//	summary
+		//	plot the passed series as a line with tensioning
+		var tension=1.5;
+
+		var line=document.createElement("v:shape");
+		line.setAttribute("strokeweight", "2px");
+		line.setAttribute("strokecolor", series.color);
+		line.setAttribute("fillcolor", "none");
+		line.setAttribute("filled", "false");
+		line.setAttribute("title", series.label);
+		line.setAttribute("coordsize", chart.properties.width + "," + chart.properties.height);
+		line.style.position="absolute";
+		line.style.top="0px";
+		line.style.left="0px";
+		line.style.width= chart.properties.width+"px";
+		line.style.height=chart.properties.height+"px";
+		var stroke=document.createElement("v:stroke");
+		stroke.setAttribute("opacity", "0.85");
+		line.appendChild(stroke);
+
+		var path = [];
+		for (var i=0; i<series.values.length; i++){
+			var x = Math.round(self.getX(series.values[i].x, chart));
+			var y = Math.round(self.getY(series.values[i].value, chart));
+
+			if (i==0){
+				path.push("m");
+				path.push(x+","+y);
+			}else{
+				var lastx=Math.round(self.getX(series.values[i-1].x, chart));
+				var lasty=Math.round(self.getY(series.values[i-1].value, chart));
+				var dx=x-lastx;
+				var dy=y-lasty;
+				
+				path.push("c");
+				var cx=Math.round((x-(tension-1)*(dx/tension)));
+				path.push(cx+","+lasty);
+				cx=Math.round((x-(dx/tension)));
+				path.push(cx+","+y);
+				path.push(x+","+y);
+			}
+		}
+		line.setAttribute("path", path.join(" ")+" e");
+		chart.dataGroup.appendChild(line);
+	};
+	plotters["area"]=function(/* dojo.widget.Chart.DataSeries */series, /* dojo.widget.Chart */chart){
+		//	summary
+		//	plot the passed series as an area with tensioning.
+		var tension=1.5;
+
+		var line=document.createElement("v:shape");
+		line.setAttribute("strokeweight", "1px");
+		line.setAttribute("strokecolor", series.color);
+		line.setAttribute("fillcolor", series.color);
+		line.setAttribute("title", series.label);
+		line.setAttribute("coordsize", chart.properties.width + "," + chart.properties.height);
+		line.style.position="absolute";
+		line.style.top="0px";
+		line.style.left="0px";
+		line.style.width= chart.properties.width+"px";
+		line.style.height=chart.properties.height+"px";
+		var stroke=document.createElement("v:stroke");
+		stroke.setAttribute("opacity", "0.8");
+		line.appendChild(stroke);
+		var fill=document.createElement("v:fill");
+		fill.setAttribute("opacity", "0.4");
+		line.appendChild(fill);
+
+		var path = [];
+		for (var i=0; i<series.values.length; i++){
+			var x = Math.round(self.getX(series.values[i].x, chart));
+			var y = Math.round(self.getY(series.values[i].value, chart));
+
+			if (i==0){
+				path.push("m");
+				path.push(x+","+y);
+			}else{
+				var lastx=Math.round(self.getX(series.values[i-1].x, chart));
+				var lasty=Math.round(self.getY(series.values[i-1].value, chart));
+				var dx=x-lastx;
+				var dy=y-lasty;
+				
+				path.push("c");
+				var cx=Math.round((x-(tension-1)*(dx/tension)));
+				path.push(cx+","+lasty);
+				cx=Math.round((x-(dx/tension)));
+				path.push(cx+","+y);
+				path.push(x+","+y);
+			}
+		}
+		path.push("l");
+		path.push(x + "," + self.getY(0, chart));
+		path.push("l");
+		path.push(self.getX(0, chart) + "," + self.getY(0,chart));
+		line.setAttribute("path", path.join(" ")+" x e");
+		chart.dataGroup.appendChild(line);
+	};
+	plotters["scatter"]=function(/* dojo.widget.Chart.DataSeries */series, /* dojo.widget.Chart */chart){
+		//	summary
+		//	plot the passed series as a scatter chart
+		var r=6;
+		for (var i=0; i<series.values.length; i++){
+			var x=self.getX(series.values[i].x, chart);
+			var y=self.getY(series.values[i].value, chart);
+			var mod=r/2;
+
+			var point=document.createElement("v:rect");
+			point.setAttribute("fillcolor", series.color);
+			point.setAttribute("strokecolor", series.color);
+			point.setAttribute("title", series.label + ": " + series.values[i].value);
+			point.style.position="absolute";
+			point.style.rotation="45";
+			point.style.top=(y-mod)+"px";
+			point.style.left=(x-mod)+"px";
+			point.style.width=r+"px";
+			point.style.height=r+"px";
+			var fill=document.createElement("v:fill");
+			fill.setAttribute("opacity", "0.6");
+			point.appendChild(fill);
+			chart.dataGroup.appendChild(point);
+		}
+	};	
+	plotters["bubble"]=function(/* dojo.widget.Chart.DataSeries */series, /* dojo.widget.Chart */chart){
+		//	summary
+		//	plot the passed series as a series of bubbles (scatter with 3rd dimension)
+		//	added param for series[n].value: size
+		var minR=1;
+		
+		//	do this off the x axis?
+		var min=chart.properties.axes.x.range.min;
+		var max=chart.properties.axes.x.range.max;
+		var ofst=0-min;
+
+		min+=ofst; max+=ofst;
+		var xmin=chart.properties.padding.left;
+		var xmax=chart.properties.width-chart.properties.padding.right;
+		var factor=(max-min)/(xmax-xmin)*25;
+		
+		for (var i=0; i<series.values.length; i++){
+			var size = series.values[i].size;
+			if (isNaN(parseFloat(size))) size=minR;
+
+			var radius=(parseFloat(size)*factor)/2;
+			var diameter=radius * 2;
+			var cx=self.getX(series.values[i].x, chart);
+			var cy=self.getY(series.values[i].value, chart);
+
+			var top=cy-radius;
+			var left=cx-radius;
+
+			var point=document.createElement("v:oval");
+			point.setAttribute("fillcolor", series.color);
+			point.setAttribute("title", series.label + ": " + series.values[i].value + " (" + size + ")");
+			point.setAttribute("stroked", "false");
+			point.style.position="absolute";
+			
+			point.style.top=top+"px";
+			point.style.left=left+"px";
+			point.style.width=diameter+"px";
+			point.style.height=diameter+"px";
+
+			var fill=document.createElement("v:fill");
+			fill.setAttribute("opacity", "0.8");
+			point.appendChild(fill);
+			
+			chart.dataGroup.appendChild(point);
+		}
+	};
+}();

Added: incubator/xap/trunk/codebase/src/dojo/src/xml/Parse.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/xml/Parse.js?view=auto&rev=518313
==============================================================================
--- incubator/xap/trunk/codebase/src/dojo/src/xml/Parse.js (added)
+++ incubator/xap/trunk/codebase/src/dojo/src/xml/Parse.js Wed Mar 14 13:36:44 2007
@@ -0,0 +1,282 @@
+/*
+	Copyright (c) 2004-2006, The Dojo Foundation
+	All Rights Reserved.
+
+	Licensed under the Academic Free License version 2.1 or above OR the
+	modified BSD license. For more information on Dojo licensing, see:
+
+		http://dojotoolkit.org/community/licensing.shtml
+*/
+
+dojo.provide("dojo.xml.Parse");
+dojo.require("dojo.dom");
+
+//TODO: determine dependencies
+// currently has dependency on dojo.xml.DomUtil nodeTypes constants...
+
+// using documentFragment nomenclature to generalize in case we don't want to require passing a collection of nodes with a single parent
+
+dojo.xml.Parse = function(){
+	// summary:
+	//		generic class for taking a DOM node and parsing it into an object
+	//		based on the "dojo tag name" of that node.
+	// 
+	//		supported dojoTagName's:
+	//			<prefix:tag> => prefix:tag
+	//			<dojo:tag> => dojo:tag
+	//			<dojoTag> => dojo:tag
+	//			<tag dojoType="type"> => dojo:type
+	//			<tag dojoType="prefix:type"> => prefix:type
+	//			<tag dojo:type="type"> => dojo:type
+	//			<tag class="classa dojo-type classb"> => dojo:type	
+
+	var isIE = ((dojo.render.html.capable)&&(dojo.render.html.ie));
+
+	// get normalized (lowercase) tagName
+	// some browsers report tagNames in lowercase no matter what
+	function getTagName(node){
+		/*
+		return ((node)&&(node["tagName"]) ? node.tagName.toLowerCase() : '');
+		*/
+		try{
+			return node.tagName.toLowerCase();
+		}catch(e){
+			return "";
+		}
+	}
+
+	// locate dojo qualified tag name
+	function getDojoTagName(node){
+		var tagName = getTagName(node);
+		if (!tagName){
+				return '';
+		}
+		// any registered tag
+		if((dojo.widget)&&(dojo.widget.tags[tagName])){
+			return tagName;
+		}
+		// <prefix:tag> => prefix:tag
+		var p = tagName.indexOf(":");
+		if(p>=0){
+			return tagName;
+		}
+		// <dojo:tag> => dojo:tag
+		if(tagName.substr(0,5) == "dojo:"){
+			return tagName;
+		}
+		if(dojo.render.html.capable && dojo.render.html.ie && node.scopeName != 'HTML'){
+			return node.scopeName.toLowerCase() + ':' + tagName;
+		}
+		// <dojoTag> => dojo:tag
+		if(tagName.substr(0,4) == "dojo"){
+			// FIXME: this assumes tag names are always lower case
+			return "dojo:" + tagName.substring(4);
+		}
+		// <tag dojoType="prefix:type"> => prefix:type
+		// <tag dojoType="type"> => dojo:type
+		var djt = node.getAttribute("dojoType") || node.getAttribute("dojotype");
+		if(djt){
+			if (djt.indexOf(":")<0){
+				djt = "dojo:"+djt;
+			}
+			return djt.toLowerCase();
+		}
+		// <tag dojo:type="type"> => dojo:type
+		djt = node.getAttributeNS && node.getAttributeNS(dojo.dom.dojoml,"type");
+		if(djt){
+			return "dojo:" + djt.toLowerCase();
+		}
+		// <tag dojo:type="type"> => dojo:type
+		try{
+			// FIXME: IE really really doesn't like this, so we squelch errors for it
+			djt = node.getAttribute("dojo:type");
+		}catch(e){ 
+			// FIXME: log?  
+		}
+		if(djt){ return "dojo:"+djt.toLowerCase(); }
+		// <tag class="classa dojo-type classb"> => dojo:type	
+		if((dj_global["djConfig"])&&(!djConfig["ignoreClassNames"])){ 
+			// FIXME: should we make this optionally enabled via djConfig?
+			var classes = node.className||node.getAttribute("class");
+			// FIXME: following line, without check for existence of classes.indexOf
+			// breaks firefox 1.5's svg widgets
+			if((classes )&&(classes.indexOf)&&(classes.indexOf("dojo-")!=-1)){
+				var aclasses = classes.split(" ");
+				for(var x=0, c=aclasses.length; x<c; x++){
+					if(aclasses[x].slice(0, 5) == "dojo-"){
+						return "dojo:"+aclasses[x].substr(5).toLowerCase(); 
+					}
+				}
+			}
+		}
+		// no dojo-qualified name
+		return '';
+	}
+
+
+	this.parseElement = function(	/*DomNode*/node,
+									/*Boolean*/hasParentNodeSet, 
+									/*Boolean*/optimizeForDojoML, 
+									/*Integer*/thisIdx	){
+		// summary:
+		//		recursively parse the passed node, returning a normalized data
+		//		structure that represents the "attributes of interest" of said
+		//		elements. If optimizeForDojoML is true, only nodes that contain
+		//		a "dojo tag name" will be inspected for attributes.
+		// node: the DomNode to be treated as the root of inspection
+		// hasParentNodeSet: no-op, please pass "null"
+		// optimizeForDojoML: should we ignore non-Dojo nodes? Defaults to false.
+		// thisIdx:
+		//		a way to specify a synthetic "index" property in the resulting
+		//		data structure. Otherwise the index property of the top-level
+		//		return element is always "0".
+
+		// TODOC: document return structure of a non-trivial element set
+
+		// run shortcuts to bail out of processing up front to save time and
+		// object alloc if possible.
+		var tagName = getTagName(node);
+		//There's a weird bug in IE where it counts end tags, e.g. </dojo:button> as nodes that should be parsed.  Ignore these
+		if(isIE && tagName.indexOf("/")==0){ return null; }
+
+		try{
+			var attr = node.getAttribute("parseWidgets");
+			if(attr && attr.toLowerCase() == "false"){
+				return {};
+			}
+		}catch(e){/*continue*/}
+
+		
+		// look for a dojoml qualified name
+		// process dojoml only when optimizeForDojoML is true
+		var process = true;
+		if(optimizeForDojoML){
+			var dojoTagName = getDojoTagName(node);
+			tagName = dojoTagName || tagName;
+			process = Boolean(dojoTagName);
+		}
+
+		var parsedNodeSet = {};
+		parsedNodeSet[tagName] = [];
+		var pos = tagName.indexOf(":");
+		if(pos>0){
+			var ns = tagName.substring(0,pos);
+			parsedNodeSet["ns"] = ns;
+			// honor user namespace filters
+			if((dojo.ns)&&(!dojo.ns.allow(ns))){process=false;}
+		}
+
+		if(process){
+			var attributeSet = this.parseAttributes(node);
+			for(var attr in attributeSet){
+				if((!parsedNodeSet[tagName][attr])||(typeof parsedNodeSet[tagName][attr] != "array")){
+					parsedNodeSet[tagName][attr] = [];
+				}
+				parsedNodeSet[tagName][attr].push(attributeSet[attr]);
+			}	
+			// FIXME: we might want to make this optional or provide cloning instead of
+			// referencing, but for now, we include a node reference to allow
+			// instantiated components to figure out their "roots"
+			parsedNodeSet[tagName].nodeRef = node;
+			parsedNodeSet.tagName = tagName;
+			parsedNodeSet.index = thisIdx||0;
+		}
+
+		var count = 0;
+		for(var i = 0; i < node.childNodes.length; i++){
+			var tcn = node.childNodes.item(i);
+			switch(tcn.nodeType){
+				case  dojo.dom.ELEMENT_NODE: // element nodes, call this function recursively
+					var ctn = getDojoTagName(tcn) || getTagName(tcn);
+					if(!parsedNodeSet[ctn]){
+						parsedNodeSet[ctn] = [];
+					}
+					parsedNodeSet[ctn].push(this.parseElement(tcn, true, optimizeForDojoML, count));
+					if(	(tcn.childNodes.length == 1)&&
+						(tcn.childNodes.item(0).nodeType == dojo.dom.TEXT_NODE)){
+						parsedNodeSet[ctn][parsedNodeSet[ctn].length-1].value = tcn.childNodes.item(0).nodeValue;
+					}
+					count++;
+					break;
+				case  dojo.dom.TEXT_NODE: // if a single text node is the child, treat it as an attribute
+					if(node.childNodes.length == 1){
+						parsedNodeSet[tagName].push({ value: node.childNodes.item(0).nodeValue });
+					}
+					break;
+				default: break;
+				/*
+				case  dojo.dom.ATTRIBUTE_NODE: // attribute node... not meaningful here
+					break;
+				case  dojo.dom.CDATA_SECTION_NODE: // cdata section... not sure if this would ever be meaningful... might be...
+					break;
+				case  dojo.dom.ENTITY_REFERENCE_NODE: // entity reference node... not meaningful here
+					break;
+				case  dojo.dom.ENTITY_NODE: // entity node... not sure if this would ever be meaningful
+					break;
+				case  dojo.dom.PROCESSING_INSTRUCTION_NODE: // processing instruction node... not meaningful here
+					break;
+				case  dojo.dom.COMMENT_NODE: // comment node... not not sure if this would ever be meaningful 
+					break;
+				case  dojo.dom.DOCUMENT_NODE: // document node... not sure if this would ever be meaningful
+					break;
+				case  dojo.dom.DOCUMENT_TYPE_NODE: // document type node... not meaningful here
+					break;
+				case  dojo.dom.DOCUMENT_FRAGMENT_NODE: // document fragment node... not meaningful here
+					break;
+				case  dojo.dom.NOTATION_NODE:// notation node... not meaningful here
+					break;
+				*/
+			}
+		}
+		//return (hasParentNodeSet) ? parsedNodeSet[node.tagName] : parsedNodeSet;
+		//if(parsedNodeSet.tagName)dojo.debug("parseElement: RETURNING NODE WITH TAGNAME "+parsedNodeSet.tagName);
+		return parsedNodeSet;
+	};
+
+
+	/* parses a set of attributes on a node into an object tree */
+	this.parseAttributes = function(/*DomNode*/node){
+		// summary:
+		// 		creates an attribute object that maps attribute values for the
+		// 		passed node. Note that this is similar to creating a JSON
+		// 		representation of a DOM node.
+		// usage:
+		//		a node with the following serialization:
+		//			<div foo="bar" baz="thud">...</div>	
+		//		would yeild the following return structure when passed into this
+		//		function:
+		//			{
+		//				"foo": {
+		//					"value": "bar"
+		//				},
+		//				"baz": {
+		//					"value": "thud"
+		//				}
+		//			}
+		//
+		var parsedAttributeSet = {};
+		var atts = node.attributes;
+		// TODO: should we allow for duplicate attributes at this point...
+		// would any of the relevant dom implementations even allow this?
+		var attnode, i=0;
+		while((attnode=atts[i++])){
+			if(isIE){
+				if(!attnode){ continue; }
+				if((typeof attnode == "object")&&
+					(typeof attnode.nodeValue == 'undefined')||
+					(attnode.nodeValue == null)||
+					(attnode.nodeValue == '')){ 
+					continue; 
+				}
+			}
+
+			var nn = attnode.nodeName.split(":");
+			nn = (nn.length == 2) ? nn[1] : attnode.nodeName;
+						
+			parsedAttributeSet[nn] = { 
+				value: attnode.nodeValue 
+			};
+		}
+		return parsedAttributeSet;
+	};
+};

Added: incubator/xap/trunk/codebase/src/dojo/src/xml/XslTransform.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/xml/XslTransform.js?view=auto&rev=518313
==============================================================================
--- incubator/xap/trunk/codebase/src/dojo/src/xml/XslTransform.js (added)
+++ incubator/xap/trunk/codebase/src/dojo/src/xml/XslTransform.js Wed Mar 14 13:36:44 2007
@@ -0,0 +1,249 @@
+/*
+	Copyright (c) 2004-2006, The Dojo Foundation
+	All Rights Reserved.
+
+	Licensed under the Academic Free License version 2.1 or above OR the
+	modified BSD license. For more information on Dojo licensing, see:
+
+		http://dojotoolkit.org/community/licensing.shtml
+*/
+
+dojo.provide("dojo.xml.XslTransform");
+
+dojo.xml.XslTransform = function(/*String*/xsltUri){
+	//	summary:
+	//		dojo.xml.XslTransform is a convenience object that takes the URI
+	//		String of an XSL file as a constructor argument. After each
+	//		transformation all parameters will be cleared. Transformation is
+	//		supported by IE, Mozilla, and partially by Opera. Other browsers
+	//		(notably Safari) have not yet exposed their transformation
+	//		primtives well enough to be useful.
+	// xsltUri:
+	//		Url of the xslt document to transform nodes with. Transformation is
+	//		acheived with the transformTo* methods on instances of this class.
+
+	dojo.debug("XslTransform is supported by Internet Explorer and Mozilla, with limited support in Opera 9 (no document function support).");
+	var IS_IE = dojo.render.html.ie;
+	var ACTIVEX_DOMS = [
+		"Msxml2.DOMDocument.5.0", 
+		"Msxml2.DOMDocument.4.0", 
+		"Msxml2.DOMDocument.3.0", 
+		"MSXML2.DOMDocument", 
+		"MSXML.DOMDocument", 
+		"Microsoft.XMLDOM"
+	];
+	var ACTIVEX_FT_DOMS = [
+		"Msxml2.FreeThreadedDOMDocument.5.0", 
+		"MSXML2.FreeThreadedDOMDocument.4.0", 
+		"MSXML2.FreeThreadedDOMDocument.3.0"
+	];
+	var ACTIVEX_TEMPLATES = [
+		"Msxml2.XSLTemplate.5.0", 
+		"Msxml2.XSLTemplate.4.0", 
+		"MSXML2.XSLTemplate.3.0"
+	];
+  
+	function getActiveXImpl(activeXArray){
+		for(var i=0; i < activeXArray.length; i++){
+			try{
+				var testObj = new ActiveXObject(activeXArray[i]);
+				if(testObj){
+					return activeXArray[i];
+				}
+			}catch(e){}
+		}
+		dojo.raise("Could not find an ActiveX implementation in:\n\n " + activeXArray);
+	}
+    
+    if(xsltUri == null || xsltUri == undefined){
+        dojo.raise("You must pass the URI String for the XSL file to be used!");
+        return false;
+    }
+    
+	var xsltDocument = null;
+	var xsltProcessor = null;
+	if(IS_IE){
+		xsltDocument = new ActiveXObject(getActiveXImpl(ACTIVEX_FT_DOMS));
+		xsltDocument.async = false;
+	}else{
+		xsltProcessor = new XSLTProcessor();
+		xsltDocument = document.implementation.createDocument("", "", null);
+		xsltDocument.addEventListener("load", onXslLoad, false);
+	}
+	xsltDocument.load(xsltUri);
+
+	if(IS_IE){
+		var xslt = new ActiveXObject(getActiveXImpl(ACTIVEX_TEMPLATES));
+		xslt.stylesheet = xsltDocument;  
+		xsltProcessor = xslt.createProcessor();
+	}
+
+	function onXslLoad(){
+		xsltProcessor.importStylesheet(xsltDocument); 
+	}
+
+	function getResultDom(xmlDoc, params){
+		if(IS_IE){
+			addIeParams(params);
+			var result = getIeResultDom(xmlDoc);
+			removeIeParams(params);   
+			return result;
+		}else{
+			return getMozillaResultDom(xmlDoc, params);
+		}
+	}
+
+	function addIeParams(params){
+		if(!params){ return; }
+		for(var i=0; i<params.length; i++){
+			xsltProcessor.addParameter(params[i][0], params[i][1]);
+		}
+	}
+
+    function removeIeParams(params){
+		if(!params){ return; }
+		for(var i=0; i<params.length; i++){
+			xsltProcessor.addParameter(params[i][0], "");
+		}
+    }
+
+	function getIeResultDom(xmlDoc){
+		xsltProcessor.input = xmlDoc;
+		var outDoc = new ActiveXObject(getActiveXImpl(ACTIVEX_DOMS));
+		outDoc.async = false;  
+		outDoc.validateOnParse = false;
+		xsltProcessor.output = outDoc;
+		xsltProcessor.transform();
+		if(outDoc.parseError.errorCode != 0){
+			var err = outDoc.parseError;
+			dojo.raise("err.errorCode: " + err.errorCode + "\n\nerr.reason: " + err.reason + "\n\nerr.url: " + err.url + "\n\nerr.srcText: " + err.srcText);
+		}
+		return outDoc;
+	}
+
+	function getIeResultStr(xmlDoc, params){
+		xsltProcessor.input = xmlDoc;
+		xsltProcessor.transform();    
+		return xsltProcessor.output;
+	}
+
+	function addMozillaParams(params){
+		if(!params){ return; }
+		for(var i=0; i<params.length; i++){
+			xsltProcessor.setParameter(null, params[i][0], params[i][1]);
+		}
+	}
+
+	function getMozillaResultDom(xmlDoc, params){
+		addMozillaParams(params);
+		var resultDoc = xsltProcessor.transformToDocument(xmlDoc);
+		xsltProcessor.clearParameters();
+		return resultDoc;
+	}
+
+	function getMozillaResultStr(xmlDoc, params, parentDoc){
+		addMozillaParams(params);
+		var resultDoc = xsltProcessor.transformToFragment(xmlDoc, parentDoc);
+		var serializer = new XMLSerializer();
+		xsltProcessor.clearParameters();
+		return serializer.serializeToString(resultDoc);
+	}
+
+	this.getResultString = function(	/*XMLDocument*/xmlDoc, 
+										/*2 Dimensional Array*/params, 
+										/*HTMLDocument*/parentDoc){
+		// summary:
+		//		transform the xmlDoc and return the result as a string.
+		// xmlDoc: an XML Document to transform
+		// params:
+		//		a set of configuration parameters to pass to the transformation
+		//		engine.
+		// parentDoc: The HTML docuemnt to transform the subdocument "under"
+		var content = null;
+		if(IS_IE){
+			addIeParams(params);
+			content = getIeResultStr(xmlDoc, params);
+			removeIeParams(params);  
+		}else{
+			content = getMozillaResultStr(xmlDoc, params, parentDoc);
+		} 
+		//dojo.debug(content);
+		return content;
+	};
+
+	this.transformToContentPane = function(	/*XMLDocument*/xmlDoc,
+											/*2 Dimensional Array*/params, 
+											/*ContentPane*/contentPane, 
+											/*HTMLDocument*/parentDoc){
+		// summary:
+		//		transform the xmlDoc and put the result into the passed
+		//		ContentPane instance
+		// xmlDoc: an XML Document to transform
+		// params:
+		//		a set of configuration parameters to pass to the transformation
+		//		engine.
+		// contentPane:
+		//		instance of dojo.widget.ContentPane to assign the transform
+		//		results to
+		// parentDoc: The HTML docuemnt to transform the subdocument "under"
+
+		// FIXME: do we need this function?
+		var content = this.getResultString(xmlDoc, params, parentDoc);
+		contentPane.setContent(content);
+	};
+
+	this.transformToRegion = function(	/*XMLDocument*/xmlDoc, 
+										/*2 Dimensional Array*/params, 
+										/*HTMLElement*/region, 
+										/*HTMLDocument*/parentDoc){
+		// summary:
+		//		transform the xmlDoc and put the result into the passed
+		//		DomNode using innerHTML
+		// xmlDoc: an XML Document to transform
+		// params:
+		//		a set of configuration parameters to pass to the transformation
+		//		engine.
+		// region: node to put transform results in
+		// parentDoc: The HTML docuemnt to transform the subdocument "under"
+		try{
+			var content = this.getResultString(xmlDoc, params, parentDoc);
+			region.innerHTML = content;
+		}catch (e){
+			dojo.raise(e.message + "\n\n xsltUri: " + xsltUri)
+		}
+	};
+
+	this.transformToDocument = function(	/*XMLDocument*/ xmlDoc, 
+											/*2 Dimensional Array*/params){
+		// summary:
+		//		transform the xmlDoc and return a new XML document containing
+		//		the result
+		// xmlDoc: an XML Document to transform
+		// params:
+		//		a set of configuration parameters to pass to the transformation
+		//		engine.
+		return getResultDom(xmlDoc, params); // XMLDocument
+	}
+
+	this.transformToWindow = function(	/*XMLDocument*/ xmlDoc,
+										/*2 Dimensional Array*/params, 
+										/*HTMLDocument*/windowDoc, 
+										/*HTMLDocument*/parentDoc){
+		// summary:
+		//		transform the xmlDoc and put the contents in the passed
+		//		windowDoc, blowing away any previous contents.
+		// xmlDoc: an XML Document to transform
+		// params:
+		//		a set of configuration parameters to pass to the transformation
+		//		engine.
+		// windowDoc: the HTMLDocument to assign the contents to
+		// parentDoc: The HTML docuemnt to transform the subdocument "under"
+		try{
+			windowDoc.open();
+			windowDoc.write(this.getResultString(xmlDoc, params, parentDoc));
+			windowDoc.close();
+		}catch(e){
+			dojo.raise(e.message + "\n\n xsltUri: " + xsltUri)
+		}
+	};
+};

Added: incubator/xap/trunk/codebase/src/dojo/src/xml/__package__.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/src/xml/__package__.js?view=auto&rev=518313
==============================================================================
--- incubator/xap/trunk/codebase/src/dojo/src/xml/__package__.js (added)
+++ incubator/xap/trunk/codebase/src/dojo/src/xml/__package__.js Wed Mar 14 13:36:44 2007
@@ -0,0 +1,17 @@
+/*
+	Copyright (c) 2004-2006, The Dojo Foundation
+	All Rights Reserved.
+
+	Licensed under the Academic Free License version 2.1 or above OR the
+	modified BSD license. For more information on Dojo licensing, see:
+
+		http://dojotoolkit.org/community/licensing.shtml
+*/
+
+dojo.require("dojo.xml.Parse");
+dojo.kwCompoundRequire({
+	common:		["dojo.dom"],
+    browser: 	["dojo.html.*"],
+    dashboard: 	["dojo.html.*"]
+});
+dojo.provide("dojo.xml.*");

Added: incubator/xap/trunk/codebase/src/dojo/storage_dialog.swf
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/dojo/storage_dialog.swf?view=auto&rev=518313
==============================================================================
Binary file - no diff available.

Propchange: incubator/xap/trunk/codebase/src/dojo/storage_dialog.swf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message