Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Component plugin

$
0
0
Hey everybody,

I'm trying to build a component where pages that use this component will be
able to add plugin like that :

<t:component>
<t:plugin1 />
<t:plugin2 />
</t:component>

I've build a ComponentSupport like the FormSupport to allow plugins to
interact with my component. I'm setting up my support in the environment at
setupRender time so that plugins can reach it.

My problem is that my support doesn't not exists on ajax event triggered by
either my plugins or the component. This is because I register it at render
time in setupRender method. When and how should I be instanciate it so that
it can exists in event ?

Feel free to ask me if i'm not clear enough.

Thanks in advance :D

Cheers,
Charles.

Viewing all articles
Browse latest Browse all 5648

Trending Articles