Rendered property within repeat control

I’m not sure if I’ve encountered a bug here, or what, but I’m encountering different outcomes with the ‘rendered’ property for a panel inside a Repeat control and outside a Repeat control.

Outside a Repeat control, rendered=“false” hides the contents of the panel. However, inside my Repeat control, if I have a panel with rendered=“false”, the contents are appearing. I have to set the rendered property of all contents of the Repeat control in order to hide them.

I actually want to hide the properties based on a formula, but that wasn’t working. Quite some time later and after tring to simplify it, rebuilding my XPage and cleaning my project, I can’t get the contents of a panel to hide when the panel is inside a Repeat control unless I set the rendered property on ALL controls within it. My code is below.

I would be interested to hear if anyone has been able to hide a panel within a Repeat control before reporting this as a bug.

Thanks

Paul

xp:this.data

	<xp:dominoView var="docsView" viewName="luDocs" />

	<xp:dominoDocument var="travelHome" formName="Travel Page"

		action="openDocument">

		<xp:this.documentId><![CDATA[#{javascript:var travView:NotesView = database.getView("TravelHomePage");

var travDoc:NotesDocument = travView.getFirstDocument();

return travDoc.getUniversalID()}]]></xp:this.documentId>

	</xp:dominoDocument>

</xp:this.data>

<xp:this.beforePageLoad><![CDATA[#{javascript:viewScope.sectionShow = "Links"}]]></xp:this.beforePageLoad>

<xp:text escape="true" id="mainTitle" value="#{travelHome.TravelTitle}"

	styleClass="MainTitle" />

	

	<xp:br></xp:br><xp:br></xp:br>

<xp:repeat id="repeat1" rows="30" var="travelCat"

	value="#{docsView}">



	<xp:panel>

		<xp:text escape="true" id="computedField1"

			styleClass="SectionTitle">

			<xp:this.value><![CDATA[#{javascript:travelCat.getColumnValue("Description")}]]></xp:this.value>

		</xp:text>

		<xp:br />

		<xp:panel rendered="false">

			<xp:text value="Test"></xp:text>

		</xp:panel>

		<xp:br></xp:br>

	</xp:panel>

</xp:repeat>