[CPS-devel] CPS 3.4.0 alpha!

Jean-Marc Orliaguet jmo at ita.chalmers.se
Tue Jan 3 15:01:48 CET 2006


Florent Guillaume wrote:

> On 3 Jan 2006, at 14:24, Jean-Marc Orliaguet wrote:
>
>> Florent Guillaume wrote:
>>
>>> On 3 Jan 2006, at 13:10, Jean-Marc Orliaguet wrote:
>>>
>>>>> - there are a few problems with the default root portlets, some   
>>>>> are  duplicated or present where they shouldn't.
>>>>
>>>>
>>>>
>>>> this should be easy to fix, this is because the portlet guards  
>>>> are  not set during the installation.
>>>
>>>
>>>
>>> Ah yes, I didn't do the I/O of the guards. Is that why I found   
>>> seemingly duplicated portlets? The guards were different?
>>>
>>> Florent
>>>
>>
>> Yes, the guards are used as visibility criteria in that case based  
>> on the current template / action.
>
>
> Can't we have a single guard for both cases instead of duplicating  
> portlets? I hate duplication.
>
>
> Florent


I hate duplication. too:-)  but they are actually different portlets. 
The ones you're thinking of are probably the document portlet and the 
navigation portlet in the middle of the page.

Both show the document's title. Otherwise, yes, they should be merged 
and the guard expression should be something like: python: condition1 or 
condition2.

/JM



More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.