1. add namespace support for view

Add namespace support for view