You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Geoff Callender (JIRA)" <ji...@apache.org> on 2013/12/01 17:18:35 UTC
[jira] [Created] (TAP5-2247) AJAX Select could bubble up PREPARE
event
Geoff Callender created TAP5-2247:
-------------------------------------
Summary: AJAX Select could bubble up PREPARE event
Key: TAP5-2247
URL: https://issues.apache.org/jira/browse/TAP5-2247
Project: Tapestry 5
Issue Type: Improvement
Components: tapestry-core
Affects Versions: 5.4
Reporter: Geoff Callender
Since 5.4, the Select model has to be regenerated server-side on submit (unless secure="literal:never"), else you'll fail with model bound to null.
If you're chaining AJAX Selects this is a pain - the workaround is to indiscriminately regenerate all of them in onActivate().
Perhaps it would be better if each AJAX Select bubbled up a PREPARE event so the container can prepare the appropriate model(s) before you handle VALUE_CHANGED.
--
This message was sent by Atlassian JIRA
(v6.1#6144)