Re: Problem binding component properties to a parameter.
The problem is the initialization of the component. The initial-value is set at the time the component is initialized, not at the time the parameter was passed in. Thus, the property "rateProp" will be set to 0 in this case since parameter "rate" was not available. What you can do instead is use
Problem binding component properties to a parameter.
I have a component with a parameter named rate and a session-scoped property named rateProp. Both are to be ints. I have my rate parameter declared as follows:I have the rateProp declared as follows: