[Helma-user] how to use _extends and _prototype

Julian Tree julian.tree at gmail.com
Sun Aug 13 00:42:14 CEST 2006


Yeah, I am accessing it from the shop object, my exactly code goes  
like this

var shop = session.users[session.user.user_type];  //  
session.user.user_type = "shop" or "agency";

res.data.body = this.renderTemplate( 'dashboard',
{
	newJobList : shop.newJobs.list(0,5)

}
);
// shop is defined
// newJobList throws error because shop.newJobs is undefined.

So I think _prototype is probably the problem. However I can't quite  
understand explaination of the _prototype in the documentation. Is it  
suppose to map to a varchar column in the company table dedicated for  
Helma object mapping?




On Aug 12, 2006, at 9:00 AM, Hannes Wallnoefer wrote:

> . (If you are using Helma 1.5.1rc2, you
> should get a big fat warning i

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://helma.org/pipermail/helma-user/attachments/20060812/e22a44ff/attachment.html 


More information about the Helma-user mailing list