PIRONET Benoît
2008-06-19 13:47:30 UTC
Hi,
I have a container:
<content:declareContainerList name="newsContainer" title="News Container">
<content:declareContainer>
<content:declareField name="newsLink" title="News" type="Page" value="<[News detailed] pageonly, move>"></content:declareField>
</content:declareContainer>
</content:declareContainerList>
and I'd like to sort the item by two special fields:
first; the newsLink page Category (or if not possible by the newsContainer category)
second; the newsDate (type date) that is in the first container of newsDetailedIntroContainerList of the newsLink page. Here is the jstl address of the newsDate element:
newsLink.containerLists['newsDetailedIntroContainer'].containers[0].fields['newsDate'].value
Thank you in advance,
Benoit Pironet
I have a container:
<content:declareContainerList name="newsContainer" title="News Container">
<content:declareContainer>
<content:declareField name="newsLink" title="News" type="Page" value="<[News detailed] pageonly, move>"></content:declareField>
</content:declareContainer>
</content:declareContainerList>
and I'd like to sort the item by two special fields:
first; the newsLink page Category (or if not possible by the newsContainer category)
second; the newsDate (type date) that is in the first container of newsDetailedIntroContainerList of the newsLink page. Here is the jstl address of the newsDate element:
newsLink.containerLists['newsDetailedIntroContainer'].containers[0].fields['newsDate'].value
Thank you in advance,
Benoit Pironet