On Mon, 11 Jul 2011 17:46:58 -0300, Ray Nicholus <rnicho...@widen.com>
wrote:
It seems like zone updates on form elements are quite difficult to
perfect in tapestry.
Yep, not easy. Putting a whole form inside a zone is trivial, though.
I simply want to update a select via a zone update
I guess Tapestry should have a mixin for that. I wrote one specifically
for the state -> city scenario here:
http://ars-machina.svn.sourceforge.net/viewvc/ars-machina/brasil-tapestry/trunk/.
Source code is in Portuguese but it's still readable, I guess. The mixin
name is CidadesDoEstado, is applied to the Select which selects cities and
has the state chooser as a parameter (seletorEstado).
and I'm finding myself attempting to work around the framework to get
this to
happen.
I'd say you're twisting some components to use them in scenarios they
weren't made for. Paraphrasing Howard, Zone is not catch-all solution for
all AJAX scenarios.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org