ZK3.0.4 Bug loading stylesheet in IE?
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4866199
By: jebberwocky
Could you simplify the code and post here? It is somehow confusing.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4866646
By: geminiani
I have a "main page" loading some macro components.
For example:
MAIN PAGE CODE:
<window>
<button label="load macro 1" id="loadcomponent1"/> <button label="load macro 2" id="loadcomponent2"/> <div id="placeholder" /> </window>
MACRO COMPONENTS CODE:
<window>
<style src="mycss.css" />
<label sclass="class_of_mycss"/>
</window>
So, when I click on button "loadcomponent1", one "MACRO COMPONENT" is loaded.
When I click on button "loadcomponent2", another "MACRO COMPONENT" is loaded.
THE PROBLEM:
First time I load MAIN PAGE, and MACRO 1, style sheet is applied.
But if I try to load another MACRO (i.e. MACRO 2), style sheet is no more applied.
NOTE:
Stylesheet declaration is on macro component and not in main page.
But if you put css declaration on main page, all works fine.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4868503
By: henrichen
Please post to bug list.
/henri
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4868783
By: jumperchen
Hi,
Please specify the dynamic property to be true as follows.
<style src="mycss.css" dynamic="true"/>
Or refer to https://sourceforge.net/tracker/index.php?func=detail&aid=1710925&gr
oup_id=152762&atid=785191
BTW, in ZK 3.0.4, the style is embedded into a DIV tag by default.
/Jumper
ZK - Open Source Ajax Java Framework
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4865077
By: geminiani
Hi,
I have a strange problem with ZK3.0.4 and IE.
I have a page that uses a style sheet. When I load this page first time, all styles are ok.
If I try to attach new page, styles are not applied.
When I go back to my previous page (the first one), style is no more applied neither here.
This only with IE. Firefox, Opera and Safari works fine.
With ZK3.0.3 all works fine.
Is this a bug?
Can some one help me?
Angelo.