Re: deform renderer

2011-11-28 Thread Malthe Borch
On 28 November 2011 12:11, Arndt Droullier wrote: > Anyway, in my case there seems to be a problem with Ubuntu and the > filesystem. Old "ext 3" formatted drives don't work very well with new > Ubuntu versions. And since Chameleon templates are stored in the temp > directory this slows down everyt

Re: deform renderer

2011-11-28 Thread Arndt Droullier
Am Samstag, den 26.11.2011, 17:41 +0100 schrieb Malthe Borch: > Do you have a good reason not to create the renderer factory in advance? > > You're probably right that it means the template will be compiled for > every rendering, judging from the experience you state. > > \malthe > You're right

Re: deform renderer

2011-11-27 Thread Malthe Borch
On 28 November 2011 08:05, Robert Forkel wrote: > Ah, right, I remember, couldn't get it to work for me, though; and i > guess i stopped researching after having found a workaround. But you > do say that also with a custom deform renderer both caching and > internationalization

Re: deform renderer

2011-11-27 Thread Robert Forkel
Ah, right, I remember, couldn't get it to work for me, though; and i guess i stopped researching after having found a workaround. But you do say that also with a custom deform renderer both caching and internationalization will work without keeping multiple renderer around? On Mon, Nov 28,

Re: deform renderer

2011-11-27 Thread Malthe Borch
On 27 November 2011 09:58, Robert Forkel wrote: > This is consistent with what i experienced without caching the templates. So > i ended up creating the factories at app start and register these as > utilities, named with the locale (you will need One per locale you want to > support). Just use t

Re: deform renderer

2011-11-27 Thread Robert Forkel
Hi, This is consistent with what i experienced without caching the templates. So i ended up creating the factories at app start and register these as utilities, named with the locale (you will need One per locale you want to support). Regards Robert Am 26.11.2011 17:41 schrieb "Malthe Borch" : >

Re: deform renderer

2011-11-26 Thread Malthe Borch
Do you have a good reason not to create the renderer factory in advance? You're probably right that it means the template will be compiled for every rendering, judging from the experience you state. \malthe On 26 November 2011 14:57, Arndt wrote: > Hi all, > I'm using the 'renderer' option (ZPT

deform renderer

2011-11-26 Thread Arndt
Hi all, I'm using the 'renderer' option (ZPTRendererFactory) of deform forms to dynamically set the template directory of widgets. Unfortunately the form rendering is so slow now that it is quite useless (almost a second, about 30 times slower). It is the same with default deform templates: