Index: doc/next-migration.html =================================================================== diff -u -r1beeb594c1cd9e222b6e1f419e9a6f5ec0713249 -raa41f220776456c37553c5daf8e0519d5b51f0b8 --- doc/next-migration.html (.../next-migration.html) (revision 1beeb594c1cd9e222b6e1f419e9a6f5ec0713249) +++ doc/next-migration.html (.../next-migration.html) (revision aa41f220776456c37553c5daf8e0519d5b51f0b8) @@ -3,29 +3,26 @@
- +When creating objects or classes, one should use the method create -explicitly. In XOTcl, a default unknown handler was provided for +explicitly. In XOTcl, a default unknown method handler was provided for classes, which create for every unknown method invocation an object/class with the name of the invoked method. This technique was convenient, but as well dangerous, since typos in method names lead -easily to unexpected behavior. This default unknown handler is not +easily to unexpected behavior. This default unknown method handler is not provided in NX (but can certainly be provided as a one-liner in NX by the application).
Class create Foo { - :attribute a:boolean - :attribute {b:integer 1} + :property a:boolean + :property {b:integer 1} }
Class create Foo { - :attribute a:required - :attribute b:boolean,required + :property a:required + :property b:boolean,required }@@ -2639,9 +2820,9 @@ .nx-variable {color: #AF663F; font-weight: normal; font-style: normal;}
Class create Foo { - :attribute {ints:integer,0..n ""} - :attribute objs:object,1..n - :attribute obj:object,0..1 + :property {ints:integer,0..n ""} + :property objs:object,1..n + :property obj:object,0..1 }@@ -6321,7 +6502,7 @@