Hello guys

I changed some attribute for the accordionPanel component, ex. borderColor.
The change has no effect, the component still renders the default settings
(color).

I think I tracked the problem down, maybe it is a problem in customRico.js.
The method setOptions in the Rico.Toggler.Custom class defines default
settings and tries in a second step to overload the attributes with custom
settings:

Object.extend(options, {});

I think that this can't work. I changed it to:

Object.extend(this.options, options);

Now the attributes are propperly propagated (as far i could see for the
borderColor, there could be some problems with other attributes (naming)).

Does someone have an idea, or did I understand something completly wrong?

greetings daniel

-- 
View this message in context: 
http://www.nabble.com/accordionPanel-problem-with-attribute-assignment-tf2595949.html#a7240764
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to