You can't.
What mess would it be if you could do it from the portlet. Each portlet could add its own
code, portlets usually come from different resources and must not interfere.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989219#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...