Cannot Change Theme For Modules

hi I repost here again, refer to::

http://www.yiiframework.com/forum/index.php/topic/52440-why-or-how-theme-carry-to-a-module/page__p__242406#entry242406

I cannot set a theme to modules. How can I do that?




<?php

class YourModule extends CWebModule

{

	public function init()

	{

    	Yii::app()->theme='YourthemeName';

	}

}

;?>



However, the very first reply of the referred link (from me actually), did not work. Have you tried?