I have a spring js dojo combo box and when rendered, its height spans almost the entire page. Is there anyway to set the height attribute when decorating the element as follows:
I have no idea why it's not working.Code:<form:select id="pays" path="pays"> <form:option value="" label=""/> <form:options items="${countries}" itemValue="description" itemLabel="description"/> </form:select> <script type="text/javascript"> Spring.addDecoration(new Spring.ElementDecoration({ elementId : "pays", widgetType : "dijit.form.ComboBox", widgetAttrs : { style: "height:50px;" } })); </script>


Reply With Quote