On Sun, 04 Mar 2012 20:25:12 -0300, Paul Stanton <p...@mapshed.com.au> wrote:


On 29/02/2012 12:13 AM, Thiago H. de Paula Figueiredo wrote:

No, you're using the t:id (server-side Tapestry component id) to retrieve the component, so it may not have its clientId set yet.

Thiago,

Hi!

If I'm using the server-side tapestry component id, than what I'm doing is still wrong and might cause issues, since AjaxResponseRenderer expects *clientId*, block and not *componentId*, block...:

Yes.


ClientBodyElement zone = (ClientBodyElement) getEmbeddedComponent(container, componentId);

but getEmbeddedComponent() expects the Tapestry server-side component id. ;)

--
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

Reply via email to