Revision history [back]

click to hide/show revision 1
initial version

asked 2015-01-28 22:19:03 +0800

cotupha gravatar image cotupha

Setting new item renderer does not refresh Selectbox

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.

What can I do?

Thanks, Laura.

Setting new item renderer does not refresh Selectbox

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.

Setting new item renderer does not refresh Selectbox

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.

Setting new item renderer does not refresh Selectbox

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-2607http://tracker.zkoss.org/browse/ZK-2607.].(http://tracker.zkoss.org/browse/ZK-2607)

Setting new item renderer does not refresh Selectbox

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].(http://tracker.zkoss.org/browse/ZK-2607).

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More