portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe Lombart <christophe.lomb...@sword-technologies.com>
Subject Re: Setting the edit template
Date Wed, 09 Feb 2005 21:22:24 GMT
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: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message