Hello,
I'm trying to use the Trinidad inputDate component to fire a PPR event
and I'm getting an error whenever I use the date picker.
If I just enter the date in the textbox part, the PPR fires correctly
and the page updates as expected.
However, if I use the date picker, I get the following exception:
01-Oct-2007 15:25:39
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRoo
tRenderer encodeAll
SEVERE: Error during partial-page rendering
java.lang.IndexOutOfBoundsException
at
com.evermind.io.ChunkedOutputStream.write(ChunkedOutputStream.java:64)
at
com.evermind.server.http.EvermindServletOutputStream.flushBuffer(Evermin
dServletOutputStream.java:88)
at
com.evermind.server.http.EvermindServletOutputStream.write(EvermindServl
etOutputStream.java:181)
at
com.evermind.server.http.ServletWriter.convertAndWriteChars(ServletWrite
r.java:284)
at
com.evermind.server.http.ServletWriter.flushBuffer(ServletWriter.java:30
9)
at
com.evermind.server.http.ServletWriter.getWrittenByteCount(ServletWriter
.java:195)
at
com.evermind.server.http.ServletWriter.checkWriteLength(ServletWriter.ja
va:421)
at
com.evermind.server.http.ServletWriter.write(ServletWriter.java:486)
at
org.apache.myfaces.trinidadinternal.config.xmlHttp.XmlOutput$2.write(Xml
Output.java:109)
at java.io.Writer.write(Writer.java:92)
at java.io.PrintWriter.write(PrintWriter.java:333)
at
org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter.write(HtmlResp
onseWriter.java:347)
at
org.apache.myfaces.trinidadinternal.io.ResponseWriterDecorator.write(Res
ponseWriterDecorator.java:159)
at
org.apache.myfaces.trinidadinternal.renderkit.core.ppr.ScriptBufferingRe
sponseWriter.write(ScriptBufferingResponseWriter.java:158)
at
org.apache.myfaces.trinidadinternal.renderkit.core.ppr.PPRResponseWriter
.write(PPRResponseWriter.java:200)
at com.sun.facelets.StateWriter.write(StateWriter.java:108)
at
org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter.writeAttribute
(HtmlResponseWriter.java:229)
at
org.apache.myfaces.trinidadinternal.io.ResponseWriterDecorator.writeAttr
ibute(ResponseWriterDecorator.java:110)
[rest snipped for brevity]
I'm using Trinidad 1.0.3 with MyFaces 1.1.5 and Facelets 1.1.12. My
servlet container is OC4J - hence the com.evermind stuff.
Any ideas gratefully received!
Thanks,
Stephen
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee
only and may contain information that is confidential or privileged.
Unauthorised use is strictly prohibited. If you are not the addressee, you
should not read, copy, disclose or otherwise use this message, except for the
purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and
do not necessarily represent those of Coventry University.