portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <da...@bluesunrise.com>
Subject Re: Setting the edit template
Date Tue, 08 Feb 2005 18:16:17 GMT
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

David Sean Taylor
Bluesunrise Software
[office] +01 707 773-4646
[mobile] +01 707 529 9194

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

View raw message