-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Since upgrading to zk 7.0.4 I am having an issue with selectboxes.
Before, after setting a new renderer, the selectbox would be automatically redrawn, applying the new renderer.
Since 7.0.4, the selectboxes do not apply the change immediately. I have tried using selectbox.invalidate() right after setting the new renderer, but it does not help.
Here is a fiddle illustrating the issue: http://zkfiddle.org/sample/3pc011e/11-Selectbox-rendering
It's very simple: the initial renderer always shows "render1". After you click on "Change renderer", it will set a renderer that always shows "render2".
If you run it with 6.5.5, all the items will be automatically re-rendered. If you run it with 7.0.4, they will not. I think the problem starts in 6.5.7.
What can I do?
Thanks, Laura.
Edit for bugtracker link : http://tracker.zkoss.org/browse/ZK-2607.
I should temporary downgrade to ZK 7.0.2 until the bugreport is set to solved.
As I tested the fiddle, the issue is there from ZK 7.0.3 and later.
Greetz chill.
Asked: 2015-01-28 22:19:03 +0800
Seen: 25 times
Last updated: Jan 29 '15
try making a fiddle and post a bug report, give in the report the fiddle link and version what work and version what doesn't work. (in fiddle you can test different versions)
chillworld ( 2015-01-28 22:30:52 +0800 )editThanks, @chillworld, I will.
cotupha ( 2015-01-28 22:37:43 +0800 )edit@chillworld, I just created the fiddle and edited my question to include the link. I also posted a bug http://tracker.zkoss.org/browse/ZK-2607. What can I do while this gets fixed?
cotupha ( 2015-01-28 23:18:41 +0800 )edit