Param defaults broken?
#1
Are include param defaults broken in Isengard RC2? I can't get them to work. Explicitly passing a value works fine. I am using the proper syntax.
Code:
<!-- Includes.xml -->
<include name="MyControl">
    <param name="id"/>
    <param name="foo" default="bar"/>
    <definition>
        <control type="label">
            <label>$PARAM[foo]</label>
        </control>
    </definition>
</include>

<!-- MyVideoNav.xml -->
<include name="MyControl">
    <param name="id" value="50"/>
</include>
Image
Reply
#2
The syntax you´re using is incorrect. Look at how Confluence does it. (it´s used for Dialog backgrounds there)
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#3
What makes you think so? From what I can tell Confluence simply doesn't assign any default values to parameters thus enabling the use of the shortened syntax without the definition tag.
Image
Reply

Logout Mark Read Team Forum Stats Members Help
Param defaults broken?0