If I want to make a skin customizable I can use $getVar(). So instead of 
writing

$day.radiation.max

I can write

#set $obs = 'day.radiation.max'
...
$getVar($obs)

But how to do that with other bindings than the standard binding?

I tried

#set $obs = 'day(data_binding="xyz_binding").xyz.max'
...
$getVar($obs)

but that does not work (and yes, "xyz_binding" is defined, and there is an 
observation type "xyz" in it, and $day(data_binding="xyz_binding").xyz.max 
shows 
a value).

Is there a way to use a binding, if the tag is defined by an expression?

Remark: These are examples. At the end I want to use it within a #for loop.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/65a5e84a-bc5f-4239-8df7-27b3fdd767fen%40googlegroups.com.

Reply via email to