[opencms-dev] Filter xmlcontent for overview-pages

Sandrine Prousteau s.prousteau at eurelis.com
Tue Sep 16 09:52:41 CEST 2008


Hi
I think you should read the CmsJspTagEditable class, in which I found this:

"To do manual placement of the direct edit buttons, you need to place <cms:editable mode="manual"> and </cms:editable> around your HTML."


-----Message d'origine-----
De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de Marc Schlegel
Envoyé : mardi 16 septembre 2008 01:39
À : The OpenCms mailing list
Objet : [opencms-dev] Filter xmlcontent for overview-pages

Hi

I would like to filter out certain xmcontents if an element has a
certain value.

I tried the following

<cms:contentload collector="allInFolderPriorityDateDesc"
param="/_modules/raceevents/raceevent_%(number).html|raceevent|200"
    pageSize="10"
    pageIndex="%(param.pageIndex)"
    pageNavLength="10" editable="true">
   
    <c:set var="mode"><cms:contentshow element="Mode"/></c:set>
    <c:if test="${mode == 'Cup'}">
        ...

the problem with this approach is, that I will get a lot of empty
editable-icons since the code for those is added with the contenload. I
already tried to make use of this preload attrobute or the
cms:contentinfo but without any success.

Is there any other way to do this. Of course I could create a special
content-type for each possible value butI prefer to keep the system
clean and make use of a more sophisticated apporach.

Thanks

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list