You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2005/10/05 13:13:26 UTC

[Jakarta-tapestry Wiki] Update of "Gotchas" by JohnPrince

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-tapestry Wiki" for change notification.

The following page has been changed by JohnPrince:
http://wiki.apache.org/jakarta-tapestry/Gotchas

------------------------------------------------------------------------------
  
  There's no specified order to calling pageBeginRender() in a page and its components. The way around this is to use lazy-loading in component properties where this is an issue.
  
+ 
+ = Validation Gotcha in Tapestry 4 =
+ 
+ If you have defined validators in your .page descriptor, they will be invoked, and will reject invalid values, even if client validation is not enabled and you are not using the validation information they are providing. This means that if you define a validator and forget about it, you will probably at some point be scratching your head wondering why the values you are inputting are not appearing in your page class. This is, of course, perfectly logical and correct, but hopefully if you are reading this you won't waste as many hours as I did trying to work out what is going on.
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org