Edit the portlet Manager and Add Code that for Code Generation