Regions are built the same way for Layouts as they are for App objects... but there are some differences in when they are built and initialized. That may be what's causing this, but I will need to see some sample code that reproduces the problem.
the method name is attachView, not attach. I'm honestly not sure how attach ever works... that method doesn't exist on any region objects that I know of.
also - what are you trying to do with attachView in this case? this method is specifically here to support pre-rendered HTML from a server or other rendering process ... if you have HTML that is already rendered and are attaching a region and a view to that pre-rendered content. from your sample code, it looks like you're trying to use it to display the contents of a newly created view. or am i not understanding your code?