Unlikely to be a cached file, we have experienced this on multiple machines and 
under multiple browsers.

----- Original Message -----
From: "Howard Lewis Ship" <[EMAIL PROTECTED]>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Thursday, 29 May, 2008 7:23:26 PM GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: Error posting a simple form

Possibly a bug in the client-side tapestry.js, or just the old one
caught in the browser cache.

On Thu, May 29, 2008 at 9:03 AM, Peter Stavrinides
<[EMAIL PROTECTED]> wrote:
> t:formdata:
> * 
> H4sIAAAAAAAAAFvzloG1XJZBOiNNvyizOFvfuSg1sSTVKhlMJSaXZObnFRcxWOQXpeslFiQmZ6TqlSQWpBaXFFWa6iXnF6XmZCYB6dyC/LzUvJJivaDElMx896L80gKV4NSS0oKJBvt0NvN9PsTEwOjDwJ2cn1dSlJ/jl5ibWsIg5JOVWJaon5OYl64fXFKUmZduXVFQwsADsdoRbDVhl5mQ4TLDUxWnTm0K/ruPiYGhoqBcjkEGzY6C/KKStPwcoA1AlwItscZrSVJicaqeYxJQEOgqt8zUnBSI3yFeUA09zP1Q9PgfjBAoZKhjYAT5mBduHUiYCOe4k+qcgKL85NTi4uDSpNzM4mKgORCnHV6XYpL2bd45SDCIMAih2ZuYklIMciVbCQMzkI1dBUgBFwBFyYu3RgIAAA==
> * true
>
> location:
>    classpath:com/albourne/web/pages/hf/risk/Create.tml, line 11, column 24
>    6   You may construct a new EDITABLE portfolio, with the option of basing 
> it on
>    7   an existing portfolio.<br/><br/>
>    8   </span>
>    9
>    10
>  -> 11  <t:form t:id="create">
>    12  I wish to create:<br/>
>    13  <t:radiogroup t:id="createAction" value="action" 
> encoder="actionEncoder">
>    14  <t:radio t:id="copy"
>    15  t:mixins="triggerfragment"
>    16  fragment="copyfragment"
>
> Not sure how to get you the html output though.
>
>
>
> ----- Original Message -----
> From: "Howard Lewis Ship" <[EMAIL PROTECTED]>
> To: "Tapestry users" <users@tapestry.apache.org>
> Sent: Thursday, 29 May, 2008 6:23:48 PM GMT +02:00 Athens, Beirut, Bucharest, 
> Istanbul
> Subject: Re: Error posting a simple form
>
> I know the FormFragment code has been in flux recently.  Some more may
> come up as I work on the AjaxFormLoop component.
>
> This doesn't show up in my tests.
>
> It would be interesting to see more of the output HTML and the posted
> values fro the t:formdata query parameter.
>
> On Thu, May 29, 2008 at 8:01 AM, Peter Stavrinides
> <[EMAIL PROTECTED]> wrote:
>> Hi All
>>
>> I am using the Tapestry 5.0.12-SNAPSHOT, and I suspect a recent update 
>> caused my form to break, but I am at a loss...  perhaps someone can help me 
>> with this? the error I get is as follows:
>>
>> org.apache.tapestry5.runtime.ComponentEventException: Not in GZIP format [at 
>> classpath:com/albourne/web/pages/hf/risk/Create.tml, line 11, column 24]
>>        at 
>> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1042)
>>        at 
>> org.apache.tapestry5.internal.services.ComponentEventRequestHandlerImpl.handle(ComponentEventRequestHandlerImpl.java:67)
>>        at 
>> org.apache.tapestry5.internal.services.ImmediateActionRenderResponseFilter.handle(ImmediateActionRenderResponseFilter.java:42)
>>        at 
>> $ComponentEventRequestHandler_11a3525e282.handle($ComponentEventRequestHandler_11a3525e282.java)
>>        at 
>> org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42)
>>        at 
>> $ComponentEventRequestHandler_11a3525e282.handle($ComponentEventRequestHandler_11a3525e282.java)
>>        at 
>> org.apache.tapestry5.services.TapestryModule$37.handle(TapestryModule.java:1987)
>>        at 
>> $ComponentEventRequestHandler_11a3525e282.handle($ComponentEventRequestHandler_11a3525e282.java)
>>        at 
>> $ComponentEventRequestHandler_11a3525e105.handle($ComponentEventRequestHandler_11a3525e105.java)
>>        at 
>> org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:135)
>>        at $Dispatcher_11a3525e108.dispatch($Dispatcher_11a3525e108.java)
>>        at $Dispatcher_11a3525e0f8.dispatch($Dispatcher_11a3525e0f8.java)
>>        at 
>> org.apache.tapestry5.services.TapestryModule$12.service(TapestryModule.java:938)
>>        at 
>> com.albourne.web.services.PageAccessController.service(PageAccessController.java:147)
>>        at 
>> $RequestHandler_11a3525e0f9.service($RequestHandler_11a3525e0f9.java)
>>        at com.albourne.web.services.AppModule$1.service(AppModule.java:150)
>>        at $RequestFilter_11a3525e0f6.service($RequestFilter_11a3525e0f6.java)
>>        at 
>> $RequestHandler_11a3525e0f9.service($RequestHandler_11a3525e0f9.java)
>>        at 
>> org.apache.tapestry5.internal.services.LocalizationFilter.service(LocalizationFilter.java:42)
>>        at 
>> $RequestHandler_11a3525e0f9.service($RequestHandler_11a3525e0f9.java)
>>        at 
>> org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:586)
>>        at 
>> $RequestHandler_11a3525e0f9.service($RequestHandler_11a3525e0f9.java)
>>        at 
>> org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
>>        at 
>> $RequestHandler_11a3525e0f9.service($RequestHandler_11a3525e0f9.java)
>>        at 
>> org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:79)
>>        at 
>> $RequestHandler_11a3525e0f9.service($RequestHandler_11a3525e0f9.java)
>>        at 
>> org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:93)
>>        at 
>> org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:84)
>>        at 
>> org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:75)
>>        at 
>> org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:106)
>>        at 
>> $RequestHandler_11a3525e0f9.service($RequestHandler_11a3525e0f9.java)
>>        at 
>> $RequestHandler_11a3525e0f1.service($RequestHandler_11a3525e0f1.java)
>>        at 
>> org.apache.tapestry5.services.TapestryModule$11.service(TapestryModule.java:918)
>>        at 
>> org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
>>        at 
>> $HttpServletRequestFilter_11a3525e0f0.service($HttpServletRequestFilter_11a3525e0f0.java)
>>        at 
>> $HttpServletRequestHandler_11a3525e0f2.service($HttpServletRequestHandler_11a3525e0f2.java)
>>        at 
>> $HttpServletRequestHandler_11a3525e0ef.service($HttpServletRequestHandler_11a3525e0ef.java)
>>        at 
>> org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:168)
>>        at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>        at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>        at 
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>        at 
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>>        at 
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>>        at 
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>        at 
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>        at 
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>>        at 
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>>        at 
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>>        at 
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>>        at java.lang.Thread.run(Thread.java:619)
>> Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: Not in 
>> GZIP format
>>        at 
>> org.apache.tapestry5.corelib.components.Form.executeStoredActions(Form.java:400)
>>        at 
>> org.apache.tapestry5.corelib.components.Form.onAction(Form.java:313)
>>        at 
>> org.apache.tapestry5.corelib.components.Form.dispatchComponentEvent(Form.java)
>>        at 
>> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:872)
>>        at 
>> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1025)
>>        ... 49 more
>> Caused by: java.io.IOException: Not in GZIP format
>>        at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:137)
>>        at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:58)
>>        at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:68)
>>        at 
>> org.apache.tapestry5.internal.util.Base64ObjectInputStream.<init>(Base64ObjectInputStream.java:30)
>>        at 
>> org.apache.tapestry5.corelib.components.Form.executeStoredActions(Form.java:378)
>>
>>        ... 53 more
>>
>> The curious thing is why is this form breaking and not some of my others? 
>> Apart from the mixin there is very little in the form, its really simple!
>>
>>        <t:form t:id="create">
>>                I wish to create:<br/>
>>                <t:radiogroup t:id="createAction" value="action" 
>> encoder="actionEncoder">
>>                        <t:radio t:id="copy"
>>                                t:mixins="triggerfragment"
>>                                fragment="copyfragment"
>>                                onClick="var 
>> s=$(portfolio);$(portfolioName).value=s.options[s.selectedIndex].text+' 
>> (Copy)'" />A <b>copy</b> based on an existing portfolio<br/>
>>
>>                        <t:radio t:id="new" 
>> onClick="$(portfolioName).value=''" />A <b>new</b> portfolio<br/>
>>                </t:radiogroup>
>>
>>                <br/>
>>
>>                <div>
>>                        <t:formfragment t:id="copyfragment" visible="true">
>>                                Select the portfolio to copy:<br />
>>                                <t:select t:id="portfolio" 
>> model="portfolioModel" style="width: 500px;"
>>                                        value="portfolio" 
>> encoder="portfolioModel"  blankOption="never"
>>                                        
>> onChange="$(portfolioName).value=this.options[this.selectedIndex].text+' 
>> (Copy)'" />
>>                        </t:formfragment>
>>
>>                        <br />
>>                        Please provide a unique name for the new 
>> portfolio:<br />
>>                        <t:textfield t:id="portfolioName" 
>> value="portfolioname"
>>                                size="40" style="width:500px;" 
>> validate="required" />
>>                                <br/>   <br/>
>>
>>                        <t:submit t:id="add" value="Create Portfolio" />
>>                </div>
>>        <t:errors />
>>        </t:form>
>>
>> Thanks for your help,
>> Peter
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to