backplane-import/backplanejs — Issue #109: Result of expression 'YAHOO.widget.SimpleDialog' [undefined] is not a constructor.
Author: backplane-import
Created: 2011-10-15 03:20:51+00:00
State: open

### Imported from backplanejs Google Code [issue 109](http://code.google.com/p/backplanejs/issues/detail?id=109).

Reporter
fdintino

Date
20 Sep 2010 9:30:50 PM UTC

Simple xforms model to reproduce:

Alert message

Expected output is that a modal overlay appears saying "Alert message" after page load. Instead, one gets the javascript error "Result of expression 'YAHOO.widget.SimpleDialog' [undefined] is not a constructor."

This happens because the yui file container.js (not to be confused with container_core.js), where YAHOO.widget.SimpleDialog is defined, is not in third-party/yui, although it is used in third-party/uxf/src/lib/xforms/message.js