Hi everybody,

I am preparing the migration of two tapestry projects from 5.3.7 to 5.4. A
strong motivation for this is the fact, that die client (java script)
interface is much clearer and easier to handle and to extend in Tapestry
5.4. (Great Job guys!! Thanks!)

Nevertheless  in both of these projects I end up with modifying of one of
the tapestry own javascript modules, namely  t5-core-dom-prototype.js
(t5-core-dom.coffee in the source distribution) in the dame way, by adding
a this function to the module exports:

onElement: function( selector, events, match, handler) {
  return exports.on( selector, events, match, handler);
},

In the first project it is necessary because this function used in
tapestry internally in the normal case:

onDocument: function(events, match, handler) {
  return exports.on( document, events, match, handler);
},

does not work with Ajax requests on IE8. It may be of little concern for 
the most of you, but should someone need it, this is the solution. As
selector you define the form, which triggers the Ajax request.

In the second project I incline to use the same onElement function above
from more subjective reasons. It seems to me that it increases the
reaction speed of the page and (this is really absolutely subjective)
reduces its overall complexity. The pages in this app are kind of
micro-workflows with several forms and several Ajax zones, a single
request may modify more than one zone. A zone may be modified by different
requests.

I would appreciate if someone could share her/his experience with more
complex pages (several forms and several Ajax zones) working under T 5.4
especially in regard to performance. My feeling is that the reaction time
increased in T5.4 compared with 5.3.7 and that it is the client that needs
more time to trigger the actions.

It will help me to solve my dilemma – modify an internal tapestry file for
a project? (which is not really a good practice), or accept an increase in
the reaction time?

Best regards,
Peter








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

Reply via email to