Community mailing list archives

Re: QWeb, t-call value

Olivier Dony (odo)
- 05/06/2015 07:15:38
On 05/05/2015 09:10 AM, Paul Catinean wrote:
> I think there is a misunderstanding here
> t-call="" takes in a external_id, if I pass a variable name there it does not
> try to parse it but instead looks for a external_id "xml"
> my question was wether I can somehow pass a variable name that is interpreted
> to the t-call attribute

t-call's argument is a format string[1], so you can use variable names in it, 
like you would in a t-attf- attribute[2]: