You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andy Pahne <an...@gmail.com> on 2009/11/17 14:32:40 UTC
ProgressiveDisplay component - context retrieval
I have defined a ProgressiveDisplay component like in the snippet below.
Now I want to know: how can I access the ProgressiveDisplay's context
inside my custom RetrieveAvailabilityAndPrice component. I don't know
how to do that.
Thank you,
Andy
<t:ProgressiveDisplay
t:initial="block:checkingAvailability"
t:id="ajaxDisplay"
context="accommodation.id"
class="progressiveDisplay">
<t:t5oos.RetrieveAvailabilityAndPrice accommodation="????"/>
<t:block id="checkingAvailability">
Availability is being checked...
</t:block>
</t:ProgressiveDisplay>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: ProgressiveDisplay component - context retrieval
Posted by Andy Pahne <an...@googlemail.com>.
Thiago H. de Paula Figueiredo schrieb:
> Em Tue, 17 Nov 2009 11:32:40 -0200, Andy Pahne <an...@gmail.com>
> escreveu:
>
>> Now I want to know: how can I access the ProgressiveDisplay's context
>> inside my custom RetrieveAvailabilityAndPrice component. I don't know
>> how to do that.
>
> Create a parameter in RetrieveAvailabilityAndPrice to do that.
>
I did that.
<t:t5oos.RetrieveAvailabilityAndPrice accommodation="????"/>
The parameter is accommodation.
I still don't know how to achieve that the parameter get's set.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: ProgressiveDisplay component - context retrieval
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Tue, 17 Nov 2009 11:32:40 -0200, Andy Pahne <an...@gmail.com>
escreveu:
> Now I want to know: how can I access the ProgressiveDisplay's context
> inside my custom RetrieveAvailabilityAndPrice component. I don't know
> how to do that.
Create a parameter in RetrieveAvailabilityAndPrice to do that.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da
Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org