David Sean Taylor wrote:

Christophe Lombart wrote:

Hi All,

Within the current GenericServletPortlet, it is not possible to set the template in the edit mode (PARAM_EDIT_PAGE). It is possible to change it in the ProcessAction but not in the doEdit method.
The method call "response.setRenderParameter(PARAM_EDIT_PAGE, "myTemplate.vm")" works fine in the ProcessAction but I don't see similar possibilities in the doEdit because setParameter is not defined. Am I wrong ? For some portlets it should be nice to have the flexibility to change the template in the doEdit method. What do you think about that ?


patch applied to edit mode (and help) to work same as view mode
let me know if that works for you



Yes, that works - Thank for this patch

Christophe


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to