Total Pageviews

Wednesday, April 17, 2013

Liferay: Uploading User Portrait via Custom Portlet

The following code can be integreate with any MVC portlet extending MVCPortlet in controller class.

Controller class

1 comment:

  1. Hi Apoorv,

    Thanks for sharing mate.
    However I am not able to execute this code and always receiving this error :

    11:40:08,918 ERROR [RuntimePageImpl-2][render_portlet_jsp:132] null
    org.springframework.web.portlet.NoHandlerFoundException: No handler found for portlet request: mode 'view', phase 'RENDER_PHASE', parameters map[[empty]]

    Tried a few fixes, but nothing works.
    Any help would be appreciated mate!