Ok guys, after some tries on weekends, I can say exactly what I want:
There is very strange behavior - without filter it returns all the Colors from all page data folders. With filter - nothing returns. I'm stuck on it. Pls help, it looks like a some bug - when function ActivePageReferenceFilter called from a console it returns nothing. (add some data to page folder)
<functions>
There is very strange behavior - without filter it returns all the Colors from all page data folders. With filter - nothing returns. I'm stuck on it. Pls help, it looks like a some bug - when function ActivePageReferenceFilter called from a console it returns nothing. (add some data to page folder)
<functions>
<f:widgetfunction xmlns:f="http://www.composite.net/ns/function/1.0" name="Composite.Widgets.Selector">
<f:param name="Options">
<f:function name="List.Colors.GetColorsXml">
<f:param name="PropertyNames">
<f:paramelement value="PageId" />
<f:paramelement value="Id" />
<f:paramelement value="Name" />
</f:param>
<f:param name="Filter">
<f:function name="List.Colors.ActivePageReferenceFilter">
<f:param name="SitemapScope" value="Current" />
</f:function>
</f:param>
</f:function>
</f:param>
<f:param name="KeyFieldName" value="Name" />
<f:param name="LabelFieldName" value="Name" />
</f:widgetfunction>
</functions>