I have an application with a bunch of nested containers and
components. We are internationalizing this app (with ResourceModules)
and when someone switches languages we need invalidateDisplayList()
called on every child component of the app.

Iterating through the Application's rawChildren doesn't return any
components that are nested in a Canvas for example. Do I really have
to do some recusive deal to traverse the whole tree to make the whole
app redraw? There has to be an easier way to do this that I'm overlooking.

Example: rawChildren only returns the Canvas, do I need to check if
it's a container and recurse?

<App>
  <Canvas>
    <Box title="{resourceManger.getString('boxTitle')}"/>
  </Canvas>
</App>

Thanks in advance!

-Rob

Reply via email to