[fields] computed.py: plainText is now False by default, method can now be a PX [fields] list.py: bugfixes in the validation process; [gen] within aby PX, its context is now available as a special var '_ctx_': to use with caution only for the needs of Appy itself. It is not meant to be used by Appy developers.
This commit is contained in:
parent
59dc619c7f
commit
6206dbe59c
6 changed files with 48 additions and 51 deletions
|
@ -90,6 +90,9 @@ class Px:
|
|||
as is, without re-applying the template (else, an infinite
|
||||
recursion would occur).
|
||||
'''
|
||||
# Developer, forget the following line forever.
|
||||
if '_ctx_' not in context: context['_ctx_'] = context
|
||||
|
||||
if self.hook and applyTemplate:
|
||||
# Call the template PX, filling the hook with the current PX.
|
||||
context[self.hook] = self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue