AnsweredAssumed Answered

Having trouble understanding some stuff from the WSF

Question asked by benjim on Jan 31, 2008
Latest reply on Feb 4, 2008 by benjim
<c:set var="query" value="/canteen_menu:canteen_menu[canteen_menu:channel='${channel}']"/>
         
     <c:if test="${empty postfix}">
        <c:set var="postfix" value=".html"/>
     </c:if>

   <div>
     <c:forEach items="${cl:getContentList(pageContext,'canteen_menu','/content/Megabytes/Day',postfix,query)}" var="item"  varStatus="status">
      <jsp:include page="${item}"/>
     </c:forEach>

I have added my own page to the WSF framework initally to get to grips with writing my own content.  I have created the XSD and XSLT to transform the input into /content/Megabytes/Day/ as *.HTML files.

If someone could help me understand what does the below code do:

<c:set var="query" value="/canteen_menu:canteen_menu[canteen_menu:channel='${channel}']"/>

Im hackign like hell but i cant pull in the HTML from that folder into a simple div on my index page.

Any help any explanation any pointers in the right direction would be gratefully appreciated.

Thanks
Ben

Outcomes