writer.startElement("tr", null);
}
if (showBackButton)
{
Icon prevIcon = getIcon(arc, false, (prevOnClick != null));
if (!prevIcon.isNull())
{
// We assign an id to the left arrow so that we can target it as
// a partial target to work around bug 2275703 - see note above.
if (iconID != null)
{
writer.startElement("td", component);
writer.writeAttribute("id", iconID, null);
// If the navigation bar that we are currently rendering
// is included in a partial page response, add the icon
// id to the list of partial targets.
// =-=AEW Not sure this is still necessary
PartialPageContext pprContext = arc.getPartialPageContext();
if ((pprContext != null) &&
pprContext.isInsidePartialTarget())
{
pprContext.addRenderedPartialTarget(iconID);
}
}
else
{
// not in PPR mode, so just render the td (and id if not in a table)
_renderStartTableCell(writer, id, renderedId);
renderedId = true;
}
writer.writeAttribute("valign", "middle", null);
_renderArrow(context, arc, prevIcon, false, prevOnClick);
writer.endElement("td");
_renderSpacerCell(context, arc);
}
_renderStartTableCell(writer, id, renderedId);
renderedId = true;
writer.writeAttribute("valign", "middle", null);
writer.writeAttribute("nowrap", Boolean.TRUE, null);
_renderLink(context, arc, false, prevOnClick, prevRecords, id);
writer.endElement("td");
_renderSpacerCell(context, arc);
}
_renderStartTableCell(writer, id, renderedId);
renderedId = true;
writer.writeAttribute("valign", "middle", null);
writer.writeAttribute("nowrap", Boolean.TRUE, null);
_renderChoice(context,
arc,
component,
id,
source,
formName,
minValue,
currentValue,
blockSize,
maxValue,
validate);
writer.endElement("td");
if (showNextButton)
{
_renderSpacerCell(context, arc);
_renderStartTableCell(writer, id, true);
writer.writeAttribute("valign", "middle", null);
writer.writeAttribute("nowrap", Boolean.TRUE, null);
_renderLink(context, arc, true, nextOnClick, nextRecords, id);
writer.endElement("td");
Icon nextIcon = getIcon(arc, true, (nextOnClick != null));
if (!nextIcon.isNull())
{
_renderSpacerCell(context, arc);
_renderStartTableCell(writer, id, true);
writer.writeAttribute("valign", "middle", null);