I need to appy errorStyeClass attribute in struts to dhtmlXC

Hi,

I need to apply errorStyeClass attribute in struts to dhtmlXCombo. I tiried but I did not get. I am using dhtmlxcombo.css, dhtmlxcommon.js and dhtmlxcombo.js. Should I define any css in dhtmlxcombo.css.



errorStyleClass is CSS stylesheet class to be applied to this HTML element if an error exists for it (renders a “class” attribute).





How to get this?



Thanks in advance and thanks for your earlier reply.




Hello,


combo is a combination of combo input and container with options - they are created when combo is initialized. For which of these elements you want to apply a new style ?


Moreover combo elements have own css styles and possibly the new class will redefine some of them