{% with m.nodes.test1 as result %}Calls m_find_value with SearchProps:test1 and M:{m,m_nodes,undefined}
{% with m.nodes[1].test2 as result %}Calls m_find_value with SearchProps:1 and M:{m,m_nodes,undefined}, and then m_find_value with SearchProps:test2 and M:{m,m_nodes,{1,2,3}} where {1,2,3} is the result from the first call to m_find_value
{% with m.nodes[{test5 param=test6|default:"def_value"}] as result %}Calls m_find_value with SearchProps:{test5,[{param,”def_value”}]} and M:{m,m_nodes,undefined}
{% with m.nodes.test7|test8 as result %}Calls m_find_value with SearchProps:test7 and M:{m,m_nodes,undefined}, and then passes the result to method test8/2 in module filters/filter_test8.erl This is followed by a call to m_to_list with M:{m,m_nodes,{1,2,3}} where {1,2,3} is a result previously returned from m_find_value
Hi AllFound this thread very informative.m_notifier is really very straightforward and powerful but got a little problem while using it with utf8 strings (Russian in my case).If I am just passing utf8 binary string as a result of an observe_foo function (for example <<208,158,208,158,208,158>>) it is still presented as binary at html web page.At the same time, if I am passing such variable through controller -> z_template:render, I am having readable content at my web page.Could anyone advise a work around?Best,Kirill
вторник, 15 января 2013 г., 1:32:41 UTC+4 пользователь Arjan Scherpenisse написал: