Iterate over containerList with JSTL
| Newsgroups | gmane.comp.cms.jahia.template |
|---|---|
| Message-ID | <OFF46A0C9F.D82C3AAA-ONC1256ECF.005C9C5C-C1256ECF.005DB485@commaro.com> |
According to the draft version of the template developer documentation I
tried to use the JSTL expression
- ${currentSite.allContainerLists[partnerContainer]}
but I get an error:
An error occurred while evaluating custom action attribute "items" with
value "${currentSite.allContainerLists[partnerContainer]}": Unable to find
a value for "allContainerLists" in object of class
"org.jahia.data.beans.SiteBean" using operator "." (null)
It looks like it has not been implemented according to the proposal. I
would like to iterate over a container list and display the fields of the
containers by simplay using the JSTL tags <c:forEach> and <c:out>. Is it
already possible?
Greetings,
Benjamin Papez