When I’m using below code getting warning that it’s deprecated Then I used as this was suggested by v3.0. But after that getting bellow error at run time Answer This issue was because my portlet module was using portlet API v2.0 by default and getRenderParameters() is available since v3.0. So, when explicitly I mentioned in component class to use v3.0
Tag: portlet
What exactly is Field Injection and how to avoid it?
I read in some posts about Spring MVC and Portlets that field injection is not recommended. As I understand it, field injection is when you inject a Bean with @Autowired like this: During my research I also read about constructor injection: What are the advantages and the disadvantages of both of these types of injections? EDIT 1: As this question