Hi!

I was creating a code in onMarkupAttached to get the list of child components that wasn't manually added by the user.

I started with something like the code below, and it was wrong.
        IMarkupFragment mark = this.getMarkup();

        for (MarkupElement element : mark)

Then I switched to below approach which gave me correct results:
        for (int i = 0; i < mark.size(); ++i)

IMHO, the iterator approach is incorrect and these codes should be equivalent.


Adriano

Reply via email to