Re: BUG ?: actionResponse.setRenderParameter crashes ActionUrl ???

Martin Maidhof <[email protected]> Tue, 31 Mar 2015 20:15:01 +0200
Newsgroups gmane.comp.jakarta.jetspeed.user
Message-ID <[email protected]>
Hi again,

Appendix: Here are our jetspeed settings (override.properties):


# Use this to override settings in jetspeed.properties

merge.portal.parameters.with.portlet.parameters=true
merge.portal.parameters.before.portlet.parameters=true

portalurl.relative.only=false

portal.statistics.logToDatabase=false

portal.audit.enable=false

psml.template.folder = /_user/template/

jetui.customization.method = server


regards,
    Martin



Am 31.03.2015 um 19:55 schrieb Martin Maidhof:
> Hi all,
>
> we recently experienced the following strange behavior using the current
> Jetspeed trunk in our portal:
>
>
> - PORTLET A and PORTLET B on same page, both with forms and action url
> in the velocity template like:
> #set ($action = $renderResponse.createActionURL())
> $action.setParameter('action','doSearch')
> <form action="$action" ...
>
> - PORTLET B sets a Render Parameter in its processAction():
>     actionResponse.setRenderParameter("cmd", action);
>
> - PORTLET A nd B are rendered, PORTLET B picks up the render parameter, ok
>
> - BUT: On button click in PORTLET A the processAction() method of
> PORTLET A is NOT called anymore !
> Instead PORTLET A only enters it's doView method in the render phase.
>
> If PORTLET B does NOT set the render parameter then PORTLET A calls it's
> action method properly !
>
>
> Is it possible, that setRenderParameter in one portlet crashes the
> action url in another portlet on the same page ?
>
> We migrated our portal to the current jetspeed trunk using the most
> recent snapshots.
> But the methods we use are nearly all still JSR 168 compliant (where no
> compiler errors occured).
>
> I think actionResponse.setRenderParameter should still be valid in JSR 286 ?
> Can you verify this strange behavior ?
>
> Thanks for any help !
> best regards,
>     Martin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>