It depends on what your behavior does.  Obviously if your behavior holds a
reference to the component that is passed in to bind(Component), you can not
use a shared behavior.

Anyway, it's really based on that particular behavior.  Safest bet is to
create one for each so you don't have a hard-to-track bug later.  But, if
that causes a performance issues, *some* behaviors could be shared.

--
Jeremy Thomerson
http://www.wickettraining.com



On Tue, May 18, 2010 at 11:12 PM, Joe Fawzy <joewic...@gmail.com> wrote:

> Hi
> i have a large number of components in a page that i have to add the same
> behaviour
> should i use the same instance for all or instansiate one for every
> component(that's what i am currently doing);
> thanks
> Joe
>

Reply via email to