¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

CH5 - Help - using Contract editor....... #crestron


 

So since labs is shutting down I figured someone here might know how to make this work.

I'm trying to use ch5 and I have a simple touchpanel and was going to try to use contract editor to make it so I could make a keypad for what ever I needed.? I made one button in the editor and gave it 12 instances and it spits back:


????????<ch5-template?id="Keypad.Button.Button">
??????????<ch5-list?id="Button.Button"?indexId="idx1"?size="12"?orientation="horizontal">
?????????????<template>
?????????????<div?class="horizontal-list-item">
?????????????<ch5-button?sendEventOnClick="Button[{idx1}].KeypadButton"?receiveStateSelected="Button[{idx1}].KeypadButtoFb">
??????????????</ch5-button>
?????????????<span?data-ch5-textcontent="Button[{idx1}].KeypadButtonName">Label</span>
????????????</div>?
????????????</template>
???????????</ch5-list>
??????????
??????????</ch5-template>


so i then add :



<ch5-template?templateId="Keypad.Button.Button"?context="1"></ch5-template>

to reference the first button right? I want to have a press and recieve and a serial recieve but after importing the gui file and connecting signals it doesn't seem to work. Any thoughts as to what i am doing wrong???

Join [email protected] to automatically receive all group messages.