[z3-five] formlib widgets access without repeat
Bernd Dorn
zope-mailinglist at mopa.at
Fri Dec 1 17:25:16 CET 2006
On 29.11.2006, at 19:07, Dennis Schulz wrote:
> in a formlib based form I would like to have more control over the
> rendering of the widgets.
> is it possible to call widget with a specific name directly instead of
> running through all on a repeat loop?
> for example
>
> <div tal:define="name string:1;
> w1 view/widgets.get(name)" >
you cant mix python and path syntax use this:
python:view.widgets.get(name)
>
> I saw that there is a get method but I can't access it form the page
> template.
>
> Dennis
>
> _______________________________________________
> z3-five mailing list
> z3-five at codespeak.net
> http://codespeak.net/mailman/listinfo/z3-five
More information about the z3-five
mailing list