modnaut / primary

0 stars 0 forks source link

XType #37

Closed modnaut closed 11 years ago

modnaut commented 11 years ago

What is XType for? I tried creating an item with that type in xml spy but it errors out saying it isn't valid...

dannycohn commented 11 years ago

If we ever have a complex view that NEEDS to be defined in Javascript for some reason (there are plenty of such reasons), you'd use an item of xsi:type Xtype and give it the xtype attribute indicating what JS-defined view to use.