[Helma-user] Extending a mountpoint

tobias.schaefer at orf.at tobias.schaefer at orf.at
Sun Jun 24 19:22:42 CEST 2007


Hello

I am currently testing Helma's new feature of generic object references and collections in Antville.

So far I have made the Image and LayoutImage prototypes work with the mountpoints ImageMgr and LayoutImageMgr:

http://antville.googlecode.com/svn/trunk/code/Image/type.properties
http://antville.googlecode.com/svn/trunk/code/ImageMgr/type.properties
http://antville.googlecode.com/svn/trunk/code/LayoutImageMgr/type.properties

However, I noticed that I need to set all desired mappings in the LayoutImage prototype -- although LayoutImage extends Image and some of them could be inherited from it.

If I leave away the mappings in LayoutImageMgr I get all the (layout?) images from database, too many, anyway.

This is confusing because I think all settings below the FIXME in LayoutImageMgr should be inherited from ImageMgr; and yet they are not.

I wonder if inheritance does not work this way regarding mountpoints. Or maybe this *should* work and something interferes here, related to the changes in Helma?

Please let me know if you need further information to reproduce the behaviour.

Ciao,
tobi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://helma.org/pipermail/helma-user/attachments/20070624/c7ec1a72/attachment.html 


More information about the Helma-user mailing list