XML Parsing Error in Firefox 2.x when using Tomahawk Schedule with Facelets
---------------------------------------------------------------------------
Key: TOMAHAWK-1384
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1384
Project: MyFaces Tomahawk
Issue Type: Bug
Components: Schedule
Affects Versions: 1.1.8, 1.1.7
Environment: JBoss - 4.2.2 GA
Seam - 2.0.2.SP1
Facelets - 1.1.14
Tomahawk 1.1.7 or 1.1.8
Reporter: Dan Stoica
Priority: Critical
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);
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.