Can you give some example code?

On 2006-06-02, at 06:30 EDT, Morgan Duchène wrote:

> 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?
>

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

Reply via email to