-
Bug
-
Resolution: Unresolved
-
Normal
-
5.0.10
-
zk 5.0.8 or 5.0.10, chrome browser
-
None
We are currently using zk 5.0.7, but in chrome browser when update the zk version to 5.0.8 or 5.0.10 i have a problem: When put a combobox inside to a macro component, the width property of combobox does not work until I open the component. This happens only when change the source uri with setMacroURI method of the macro component, the new source has the combobox but does not take the width property, only take it after of open the items. The sources are:
------ index.zul -----
<zk>
<div id="container">
<macroComponent id="macroComponent" />
</div>
<button label="change source">
<attribute name="onClick">
HtmlMacroComponent macro =((HtmlMacroComponent) container.getFirstChild());
macro.setMacroURI("macro_component_with_combo.zul");
</attribute>
</button>
</zk>
----- macro_component_with_combo.zul ------
<zk>
<div>
<combobox width="40px;"
id="comboMonths" >
<comboitem label="label1"/>
<comboitem label="label2"/>
</combobox>
</div>
</zk>
thanks.