Em Mon, 22 Jun 2009 18:13:13 -0300, Captain Cid <captain_...@indiatimes.com> escreveu:

Render queue error in Expansion[ComponentResources[expansion
Info.Description]]: Component showPage does not contain an embedded
component with id 'productInfo.Description'. Available components:
outputraw, outputraw_0, Info.

You cannot access component properties directly in templates. You can accomplish the same by

@InjectComponent
@Property
private ProductInfo productInfo

And use ${productInfo.description} in the template. By the way, is very unusual to use component properties in templates.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Reply via email to