On 07/07/06, Dave Howorth <[EMAIL PROTECTED]> wrote: > You need to make your User class part of the model, so it knows about > the Exported attribute. It needs to inherit from the model class. Add > the line I've shown above.
This shouldn't be necessary from version 2.11, as it will check the inheritence and add the model you specified to the class's @ISA at runtime. > I think the Model manual could be clearer. The example at the bottom of > http://search.cpan.org/~teejay/Maypole-2.11_pre3/lib/Maypole/Manual/Model.pod > could usefully have a use base. The use base is no longer needed in 2.11 for the reason outlined above. In fact I need to rewrite that documentation so it matches the code I have working with v2.11 - however doing it the old way will still work - I currently have a mix of 2.10 and 2.11 style code and the only difference is that the new stuff loses a few lines of boilerplate. A. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Maypole-users mailing list Maypole-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/maypole-users