cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Re: [SUMMARY] Caching DynamicSelectionList
Date Sat, 04 Jun 2005 00:11:27 GMT
On Jue, 2 de Junio de 2005, 2:50, Sylvain Wallez dijo:
> Antonio Gallardo wrote:
>>Are we going to deprecate @dynamic?
>
> Yes. Use of @dynamic should be logged as deprecated. Also, the default
> behavior should be changed to either cache="none" or cache="request",
> whereas today it's similar to cache="static".

Just committed:

Cforms block: Caching selection list for best performance inside
repeaters. Deprecate @dynamic in <fd:selection-list>  in favor of @cache.
Posible @cache values are:

        * static => equivalent to old @dynamic="false"
        * none => equivalent to old @dynamic="true"
        * request => is new, similar to cache="none", but caching the
selection list per request. Useful to improve performance inside
repeaters.

Defaults are the same as before.

                                  - 0 -

Now looking forward, the next task is improve the SelectionLIst
performance, when it is created using:

<fd:on-value-changed>
 <fd:javascript>
   var value= ....
   myWidget.setSelectionList("cocoon:/mySelectionList?id=" + value);
   .....
 </fd:javascript>
</fd:on-value-changed>

Thanks for all the help provided! ;-)

Best Regards,

Antonio Gallardo.


Mime
View raw message