Hi,

the problem is that accordionPanel is more or less deprecated since
the heavy use of dojo in sandbox/tomahawk. The component relies on
rico and will be sooner or later replaced by the dojo accordion
widget.

Therefore it will be difficult to get support; but feel free to bring
some enhancements to the custom myfaces js file for rico
initialisation.

regards,

Gerald

On 11/8/06, _dani <[EMAIL PROTECTED]> wrote:

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.




--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to