#20: suggestion: add suppport for dynamic template functions
--------------------------+----------------------
Reporter: olichtne | Owner: somebody
Type: enhancement | Status: new
Priority: major | Milestone:
Component: component1 | Version:
Resolution: | Keywords:
Blocked By: | Blocking:
--------------------------+----------------------
Comment (by rpazdera):
I personally think, that this is very good suggestion. IIRC we did stumble
upon the idea of making that function set extensible at some point.
The problem with internal controller data could be resolved by introducing
some additional API for the functions. The controller would indicate
(somehow), that it wants to make some specific data/variables available to
the user-defined scripts/functions. And they could access them.
The area of accessing the recipe from the XmlTemplates is a little bit
gray at the moment. In the case when the controller explicitly makes some
data available, we wouldn't need to worry about the parsing chicken-egg
conflicts any more. We would simply print out "The data you're requesting
are not yet available. Go fix your recipe."
I'd definitely like to discuss this further!
--
Ticket URL: <
https://fedorahosted.org/lnst/ticket/20#comment:1>
lnst <
http://example.org/>
My example project