Details
Description
Using Firefox 2.x the flowing error occurs:
"XML Parsing Error: mismatched tag. Expected: </tr>."
For Firefox 3.x or IE 7 the Schedule component works with no problems even for facelets.
Also there are no problems for Firefox2.0 when using Schedule in a JSP page (no facelets).
The source of the error is a <TR> tag not closed inside the ScheduleDetailedDayRenderer class.
In the writeGutter method the last writer.endElement(HTML.TR_ELEM) should be inside the "while" block.
protected void writeGutter(FacesContext context, HtmlSchedule schedule,
ResponseWriter writer, boolean useIntervalLabels) throws IOException
{
boolean renderGutter = true;
while (intervalIt.hasNext())
{ ....... writer.endElement(HTML.TR_ELEM); }// writer.endElement(HTML.TR_ELEM);
writer.endElement(HTML.TBODY_ELEM);
writer.endElement(HTML.TABLE_ELEM);
}