You need to do it in Javascript (document.title = "Blah" + document.title).
Or if you disable Tapestry javascript validation the layout will be
rerendered as you expect.

Tapestry doesn't seem to have a good place to hook into failed javascript
validations though. As far as I can tell you'd hook into the submit event on
the form and check $T(theform).validationError. So:

$('id_of_the_form').observe('submit', function() {
  if ($T($('id_of_the_form')).validationError)
    document.title = "Blah" + document.title;
}



-- 
View this message in context: 
http://tapestry-users.832.n2.nabble.com/Dynamic-Layout-tp5952978p5954906.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

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

Reply via email to