Also, it's usual in such forms to do a "dummy" ajax request
from javascript every few minutes so that the session is extended

On Thu, Jun 2, 2011 at 17:05, Taha Hafeez <tawus.tapes...@gmail.com> wrote:
> This is fully documented at
> http://tapestry.apache.org/overriding-exception-reporting.html
>
> I would use version 2 or 3 from that page
>
> <http://tapestry.apache.org/overriding-exception-reporting.html>regards
> Taha
>
> On Thu, Jun 2, 2011 at 7:19 PM, <mwilliam...@kcp.com> wrote:
>
>> I have a problem with Tapestry 5 when the session times out.
>>
>> There is a security policy on my system that requires a session time-out
>> after 30 minutes of non-use.
>>
>> I have a data entry page that can take a long time to complete with many
>> submits.  If the session times out and a user then enters more data and
>> tries to submit they get this error.
>>
>> An unexpected application exception has occurred.
>>      org.apache.tapestry5.ioc.internal.OperationException
>>      Forms require that the request method be POST and that the t:formdata
>>      query parameter have values.
>>
>>
>>
>> Now I understand this error but my users will not.  Is there a way to catch
>> this exception so I can give them a more informative message.
>>
>>
>> Michael Williamson
>> Analyst Sr Applications Developer
>> Phone: 816/997-5994
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>



-- 
Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr
Apache Tapestry PMC / http://chesstu.be owner
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to