[html-formfu] formfu object in TT / accesing single formfu elements
in TT
Benjamin Bellee
bellee at webit.de
Wed Feb 6 10:44:21 GMT 2008
well,
i have another problem regarding the issue self.object.
-----
i need to acces (and render) single form elements, and i cant think of
any other way then self.getelement(..)
or anything similar.
but i guess to be able to do so there has to be an object.
is there any other way? or will there be an object someday?
Subject: [html-formfu] self.form.has_errors in TT templates
> > 1)
> > We could provide the original form object through something such as
> > [% self.object %]
> > this would let you do
> > [% self.object.has_errors %]
> > (we'd also be best providing an {object} hash-key for all elements too).
(this is from another conversation about self.object
)
More information about the HTML-FormFu
mailing list