I am building a page for a speakers bureau ­ and am building a topics page
for that speaker. The topics page, of course, has links to the subtopics
pages. 

To simplify building the links and descriptions of the topics, I am
encapsulating the specific topic data and description in the topic page
itself, and then the ³topics² page ­ i.e. The menu of topics ­ will pull
data from the subnodes and display it when it builds the menu of topics.

Here¹s a fragment of the jsp code that does it:

<div class="topicsContainer">
<cms:pageIterator hiddenAttribute="true">
    <cms:setNode var="pageProperties" />
    <div class="speakingTopic">
        <a href="${pageProperties.name}.html">
        <div class="stopic">
        <h2>
            <c:out value="${pageProperties.topicTitle}"/>
        </h2>
        <h3>
            <c:out value="${pageProperties.topicSubtitle}"/>
        </h3>
        <p>
            <c:out value="${pageProperties.topicDescription}"/>
        </p>
        </div>
        </a>
    </div>
</cms:pageIterator>
</div> <!-- / topicsContainer -->

The problem is that I can¹t figure out how to get the name of the page that
the pageIterator is iterating over in order to build the link...

The code I have in there - <a href="${pageProperties.name}.html"> - doesn¹t
work. Is there a property I can snag that would help me build this link?

If someone can point me to the proper API docs, I¹m more than willing to
rtfm to figure this out... I just cant find tfm that talks about this issue.

Ryan 


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to