[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nuxeo-localizer] Localizer w/zpt
From: |
Frank Bennett |
Subject: |
Re: [Nuxeo-localizer] Localizer w/zpt |
Date: |
Thu, 16 May 2002 15:48:08 +0900 |
User-agent: |
Mutt/1.3.25i |
Many thanks! I found the changeLanguage function in Localizer.py,
and was halfway through drafting template code to exploit it when
your message arrived. Your snippet works like a charm (of course).
I see that providing a language switch that does not rely on
javascript is in the TODO list. What I was working on uses a
pedestrian "Submit" button to perform the switch, so I'll post
it to the list when I've finished it, in case anyone is interested.
Cheers,
Frank Bennett
On Thu, May 16, 2002 at 07:53:14AM +0200, Robert Rottermann wrote:
> ZPT can not render DTML directly.
> Howevewr it is easy to create the same effect.
> Either create a dtml-method that does what you want and call it from zpt
> like
> <span "tal:replace="structure here/myProxyDtml"></span>
> or call the same function you would call using dtml like:
> <span "tal:replace="structure here/changeLanguageForm"></span>
>
> robert