PDA

View Full Version : handleActionRequest can't be invoked by the DispatcherPortlet


yurbar
May 22nd, 2007, 06:40 AM
Hello guys,

I am working on the portlet development and I can't process portlet action request when using DispatcherPortlet.

On my jsp I am using the following form

<form name="CalendarHeaderForm" style="margin: -5px;" id="calendarform" action="<portlet:actionURL portletMode='view'/>">

But when I debug my application the only handleRenderRequest method invoked.

Maybe someone know why.

Thanks in advance.
Waiting for any suggestions.
Thanks.

johnalewis
May 22nd, 2007, 11:43 AM
Can't really tell from your explanation why you would have a problem. Are you able to get one of the sample applications working correctly? What portlet-container/portal are you using?

yurbar
May 23rd, 2007, 10:54 AM
I have resolved the problem. The problem was in the controller class wich only implements Controller interface instead extends AbstractController class.
So, I just replace implemnt Controller with extends AbstractController and all works good.

Anyway, thanks for your reply. Maybe my explanation is not good, I did it very quickly, sorry :)