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

Why do I have to explicitly render a zone if it's ID is specified in the ajax-enabled Select component ?

$
0
0
I have a *Select* component. I need to display a *Zone* when the *Select*
component is rendered so I specified the zone's ID in the select
component's *t:zone* attribute.

But I still have to explicitly render the zone

I even removed the *Select* component's *VALUE_CHANGED* event handler
assuming that having it would override this default\expected behavior but
it didn't work.

I believe that specifying the zone ID once in the tml is enough to know
what zone should be displayed on a *VALUE_CHANGED* event. Also having a way
to override this default behavior in the *VALUE_CHANGED* event handler
method will definitely be needed.

So should I specify the zone twice for the exact purpose ? Or is there a
cleaner way to do it ?
*---------------------*
*Muhammad Gelbana*
http://www.linkedin.com/in/mgelbana

Viewing all articles
Browse latest Browse all 5648

Trending Articles