New version with performance improvements for Eclipse Tapestry5 plugin

2015-05-08 Thread Dmitry Gusev
Available for download now: https://github.com/anjlab/eclipse-tapestry5-plugin#install It's highly recommended to install this version if you're using version 2.10.0. Latest update (2.10.3) contains significant performance improvements in project's structure analysis after you edited your

Re: ActionLink event handlers in Parent Page causing errors in Child

2015-05-08 Thread Dmitry Gusev
Hi, just a guess: maybe it'll work if you declare parentAction as @Property in ParentPage? Like: @Property @InjectComponent private ActionLink parentAction; On Fri, May 8, 2015 at 1:35 PM, Casey Link ca...@outskirtslabs.com wrote: I'm upgrading a very old tapestry 5.0 project to 5.3 One

Re: ActionLink event handlers in Parent Page causing errors in Child

2015-05-08 Thread Lance Java
Tapestry validates all onXFromY() handlers to ensure that all Y's actually exist. In your case, it looks like Y does not exist in the child page since a different tml page is used. I can only assume this validation was introduced after 5.0. I consider actionlink to be deprecated, you should use

AW: Differences between prepareForRender and prepare - What kind of code goes where

2015-05-08 Thread Poggenpohl, Daniel
Hi, I know of this page, but I can't seem to find the answer for What kind of code would or would you not put in each handler? there. Regards, Daniel P. -Ursprüngliche Nachricht- Von: Lance Java [mailto:lance.j...@googlemail.com] Gesendet: Freitag, 8. Mai 2015 15:03 An: Tapestry users

JumpStart Edit example - prepareForSubmit event handler

2015-05-08 Thread Poggenpohl, Daniel
Hi, http://jumpstart.doublenegative.com.au/jumpstart/examples/input/edit1/1 describes an example where a BeanEditForm is used to edit some object and update the database. The example uses the following code: // Form bubbles up the PREPARE_FOR_SUBMIT event during form submission. void

Re: AW: Differences between prepareForRender and prepare - What kind of code goes where

2015-05-08 Thread Lance Java
http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/EventConstants.html

RE: Detect jqXHR.abort()

2015-05-08 Thread Svein Erik Løken
Is it a bug in the JQuery xhr.abort() then? Debugging RequestFilter.service I found that request.request.request._connection._parser._state = -13 ( org.mortbay.jetty.HttpParser.STATE_START) when things goes wrong (Should be org.mortbay.jetty.HttpParser.STATE_CONTENT). I did not figure out how I

Re: AW: Differences between prepareForRender and prepare - What kind of code goes where

2015-05-08 Thread Lance Java
onPrepare() any setup that should happen on render AND submit onPrepareForSubmit() submit only setup onPrepareForRender() render only setup On 8 May 2015 14:46, Poggenpohl, Daniel daniel.poggenp...@isst.fraunhofer.de wrote: Hi, I know of this page, but I can't seem to find the answer for

RE: Detect jqXHR.abort()

2015-05-08 Thread Lance Java
Ah, sorry... It looks like the browser actually closes the connection on abort which is resulting in a partial request being sent to the server. I have no idea how to detect this (possibly different per container too). Since you've found a solution which doesn't abort I'd use that. Cheers,

RE: Detect jqXHR.abort()

2015-05-08 Thread Svein Erik Løken
Fiddler2 reports that the request is aborted most of the time. But some request gets this warning from Fiddler2: 369 Content-Length mismatch: Request Header indicated 95 876 bytes, but client sent 65 536 bytes. 369 Failed to obtain request body. System.IO.InvalidDataException

RE: Detect jqXHR.abort()

2015-05-08 Thread Lance Java
That looks like a really old version of jetty, try jetty 8 or 9. On 8 May 2015 18:00, Svein Erik Løken sv...@jacilla.no wrote: Fiddler2 reports that the request is aborted most of the time. But some request gets this warning from Fiddler2: 369 Content-Length mismatch: Request Header

Differences between prepareForRender and prepare - What kind of code goes where

2015-05-08 Thread Poggenpohl, Daniel
Hi, I'm trying to discern between the two events in the subject line. What kind of code would you put in which event and why (or why not)? Regards, Daniel P.

Re: Differences between prepareForRender and prepare - What kind of code goes where

2015-05-08 Thread Lance Java
http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/whatiscalledandwhen