Hi,

I have made a class extending view which is making some processing on 
the resource it gets, and shows it in a subview. It works fine when I 
use an attribute and call setAttribute('myattribute',myresource). To 
make it 'perfect', I wanted to use the default 'resource' attribute from 
views instead of myattribute, just overiding the 'onresource' handler, 
so that I could just use my class as a standard view. But I get a 
warning saying "cannot set resource to myresource because it already has 
subviews." Why can't I overide the behavior and just have it actually 
show the processed resource into the subview?

Thanks for the help
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to