The reason the alert box comes up is that it has an "ontext" handler, which says

    <myalert title="Error"
             id="errors"
             text="$path{ '/response/@status' }"
             datapath="surveydataset:/">
        <handler name="ontext">
            <![CDATA[
            if ( this.text != null && this.text != 'ok' ){
                this.open();
            }
            ]]>
        </handler>
    </myalert>

And the text that comes in is the string "null". So is this an example
of the data type coercion that Max just put in?

If so, we need to figure out how to tell the datapath matching code
about what null means in a String data type ?

On Mon, Jul 14, 2008 at 12:12 PM, Henry Minsky
<[EMAIL PROTECTED]> wrote:
> When I run the vacation-survey demo, it comes up with a "Error" dialog
> box when the app starts up. Clicking OK,the app
> proceeds to run correctly, although the first time I ran it, the
> histogram bars showed up as just a few pixels wide. Then it
> got better...
>
> Something funny is going on ....
>
>
>
> --
> Henry Minsky
> Software Architect
> [EMAIL PROTECTED]
>



-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to