Sorry, i just realized i made a mistake.
I expected all the callbacks onInit and onRender to be called. My mistake
was that i added the controls to the _model_, not to the page controls.
Adding them property to the page solved the problem..

-atle


On Sun, Mar 14, 2010 at 5:33 PM, Mykhaylo Kotsur <[email protected]> wrote:

> Hey,
>
> What callbacks do you expect to be fired? AFAIK Control has only
> onProcess() and onRender() event-related methods.
>
> Mykhailo
>
>
> On Sun, Mar 14, 2010 at 5:05 PM, Atle Prange <[email protected]>wrote:
>
>> Hi,
>>
>> i am new to Click, and have started to play around with building pages.
>> Its seems that there finally exists a good, easy-to-use web framework, i am
>> tired of huge heavy "POJO" frameworks with xml and annotation hell that
>> never work the way you want them to.
>>
>> Now the question:
>> I have subclassed AbstractContainer to make simple typed html elements
>> like table, div and so on. I add the top level element to my page using
>> addControl(name, control) in the constructor, but it i cannot see that the
>> lifecycle callbacks of the control are ever called. Only render() is called.
>>
>>
>> thanks for yor help
>>
>> -atle
>>
>>
>

Reply via email to