I told him it was "smarter", but he needed to show a little understanding. His problem was that he was using the
<ui:fragment/>without namespaces defined.
So here is how you do it to avoid a sea of red. Notice how I just simply added the namespaces as attributes right to the
<ui:fragment/>. No more red, and NetBeans is happy.