You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Saqib Rasul <sa...@sagadc.de> on 2005/07/18 17:35:52 UTC
ITemplateSourceDelegate caching question
Hello fellow Tapestry Users,
I need to have a page that has a dynamic layout (and hence dynamic
components) and after searching the arcvies I found that i need to have
my own ITemplateSourceDelegate.
This is done.
Now comes my question:
Tapestry caches the HTML generated by the page that has the dynamic
components, so how I disable caching for just this one page?
Many thanks in advance,
Regards,
Saqib
------------------------------------------------------------------------
SAGA D.C. GmbH Phone : +49 (0) 6731-9428-0
Berliner Strasse 73 Fax : +49 (0) 6731-9428-26
D-55232 Alzey
mailto:saqib.rasul@sagadc.de http://www.sagadc.de
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: ITemplateSourceDelegate caching question
Posted by Ron Piterman <rp...@gmx.net>.
It is specifically advised, *not* to change (add/remove) page
component's at runtime. This might work in developement invironment, at
production it will fail.
Tapestry offers many strategies to address that problem. Loops,
Conditional, Block and Delegate are all related to making the layout
dynamic.
Cheers,
Ron
ציטוט Saqib Rasul:
> Hello fellow Tapestry Users,
>
> I need to have a page that has a dynamic layout (and hence dynamic
> components) and after searching the arcvies I found that i need to have
> my own ITemplateSourceDelegate.
>
> This is done.
>
> Now comes my question:
>
> Tapestry caches the HTML generated by the page that has the dynamic
> components, so how I disable caching for just this one page?
>
> Many thanks in advance,
>
> Regards,
>
> Saqib
>
> ------------------------------------------------------------------------
> SAGA D.C. GmbH Phone : +49 (0) 6731-9428-0
> Berliner Strasse 73 Fax : +49 (0) 6731-9428-26
> D-55232 Alzey
> mailto:saqib.rasul@sagadc.de http://www.sagadc.de
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org