This content has been marked as final.
Show 2 replies
-
1. Re: Is it okey to put the logic within doView method instead
theute Feb 13, 2007 6:12 PM (in response to sudarshanacharya)You should split your portlets in differents classes.
You should avoid putting all your stuff in session, you should use request attributes when possible.
Putting the logic in doView is really against good practice. It will be executed on every refresh including when you trigger another portlet of the same page. -
2. Re: Is it okey to put the logic within doView method instead
morpheus_jboss Feb 14, 2007 7:48 AM (in response to sudarshanacharya)hi, i am interested in the same question too. particularly with myfaces, where we have to use a MyfacesGenericPortlet als the entry point. should i subclass the GenericPortlet?
thanks for any suggestion in advance!