UINode node
) throws IOException
{
boolean initialLinkSelectedStatus = LinkUtils.isSelected(context);
UIXNavigationLevel component = (UIXNavigationLevel) node.getUIComponent();
UINode stamp = node.getNamedChild(context, NODE_STAMP_CHILD);
if(stamp != null)
{
// Save the current key
Object oldKey = component.getRowKey();
int size = component.getRowCount();
int rowIndex = component.getRowIndex();
for (int i = 0; i < size; i++)
{
component.setRowIndex(i);
renderStamp(context, stamp,i == rowIndex);
if ( i < (size - 1))
renderBetweenNodes(context);
}
if (getVisibleIndexedChildCount(context, node) > 0)
renderBetweenNodes(context);
// Restore the old path
component.setRowKey(oldKey);
}
super.renderContent(context, node);
//Reset the selected status, which might have been changed on rendering