Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Binding A Widget Select To Function Causes: FunctionProducer does not have property named f

$
0
0
Here you go:
<cms:formdefinition xmlns:cms="http://www.composite.net/ns/management/bindingforms/1.0" xmlns="http://www.composite.net/ns/management/bindingforms/std.ui.controls.lib/1.0" xmlns:ff="http://www.composite.net/ns/management/bindingforms/std.function.lib/1.0" xmlns:f="http://www.composite.net/ns/function/1.0">
    <cms:bindings>
        <cms:binding name="Brand" type="System.String" optional="true" />
        <cms:binding name="Page" type="System.Int32" optional="true" />
        <cms:binding name="PageSize" type="System.Int32" optional="true" />
        <cms:binding name="PublicationStatus" type="System.String" optional="true" />
        <cms:binding name="CultureName" type="System.String" optional="true" />
        <cms:binding name="SourceCultureName" type="System.String" optional="true" />
        <cms:binding name="Id" type="System.Guid" optional="true" />
        <cms:binding name="PageId" type="System.Guid" optional="true" />
        <cms:binding name="FieldName" type="System.String" optional="true" />
    </cms:bindings>
    <cms:layout>
        <cms:layout.label>
            <cms:read source="Brand" />
        </cms:layout.label>
        <FieldGroup>
            <KeySelector Label="Brand" Help="" OptionsKeyField="Key" OptionsLabelField="Value" Required="false">
                <KeySelector.Selected>
                    <cms:bind source="Brand" />
                </KeySelector.Selected>
                <KeySelector.Options>
                    <f:function xmlns:f="http://www.composite.net/ns/function/1.0" name="Adgistics.Functions.BrandFunctions.GetBrandsDictionary" />
                </KeySelector.Options>
            </KeySelector>
            <TextBox Label="Page" Help="" Type="Integer">
                <TextBox.Text>
                    <cms:bind source="Page" />
                </TextBox.Text>
            </TextBox>
            <TextBox Label="Page Size" Help="" Type="Integer">
                <TextBox.Text>
                    <cms:bind source="PageSize" />
                </TextBox.Text>
            </TextBox>
        </FieldGroup>
    </cms:layout>
</cms:formdefinition>

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>