Tim; A spin:constructor needs to be defined before any sub-properties of spin:constructor will execute when creating an instance.
-- Scott On Feb 15, 10:15 am, Tim Darr <tdarr.u...@gmail.com> wrote: > Attached is a simple test case. The MyClass class has a property that is a > sub-property of spin:constructor that sets the name of the class. When I > create an instance, the constructor is not executed (as far as I can tell). > > > > On Mon, Feb 15, 2010 at 9:55 AM, Tim Darr <tdarr.u...@gmail.com> wrote: > > I will double check, but I did a direct copy from the sub-property to > > spin:constructor and everything worked OK. > > > On Mon, Feb 15, 2010 at 9:47 AM, Scott Henninger < > > shennin...@topquadrant.com> wrote: > > >> Tim; Rules defined on sub-properties of spin:constructor will execute > >> when a new instance of that class is created. Perhaps the rule > >> (construct query) has a problem? > > >> -- Scott > > >> On Feb 15, 9:28 am, Tim Darr <tdarr.u...@gmail.com> wrote: > >> > If I create a sub-property of spin:constructor and define a rule for > >> that > >> > sub-property for a given class, then when I create an instance of that > >> > class, the constructor rule is not executed. If I define the same rule > >> on > >> > spin:constructor, then all works fine. > > >> > Do sub-properties of spin:constructor not work as constructors? > > >> > -- > >> > Tim Darr > >> > tdarr.u...@gmail.com > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "TopBraid Composer Users" group. > >> To post to this group, send email to > >> topbraid-composer-us...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> topbraid-composer-users+unsubscr...@googlegroups.com<topbraid-composer-users%2bunsubscr...@googlegroups.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/topbraid-composer-users?hl=en. > > > -- > > Tim Darr > > tdarr.u...@gmail.com > > -- > Tim Darr > tdarr.u...@gmail.com > > constructor-test.owl > 2KViewDownload -- You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. To post to this group, send email to topbraid-composer-us...@googlegroups.com. To unsubscribe from this group, send email to topbraid-composer-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/topbraid-composer-users?hl=en.