at the end of the page, section "Control your custom control with parameters",the sentence
You can send parameters from your page to a control by using controlName.parameterName = "something"
seems not true. I did a test with a button using SSJS setting a custom control text property, and it's not working.
I had to use a scoped variable to "pass" the value to the custom control.