0

images redrawing after collection change

asked 2015-06-08 14:25:47 +0800

mynda gravatar image mynda
1 1

updated 2015-06-08 14:28:07 +0800

Hi everyone,

I have a rather strange issue. I use a groupbox to store my images and every time the model of the groupbox changes every image is redrawed. That raises an issue where an image is large and the redrawing of all elements takes a lot of time.

Here is my .zul - <groupbox id="root" mold="flat" closable="false" sclass="content-margin">

<template name="children">
<remove-btn onclick="@command('removePhoto', obj=forEachStatus.index)"/> <image content="@load(each.binaryContent) @converter(model.binaryContentToImageConverter)" style="max-width:300px; max-height:300px;"/>
</template>
</groupbox>

Is there a any way to change the behavior of the renderer?

Sorry for the zul's editing.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-06-10 09:50:08 +0800

Darksu gravatar image Darksu
1991 1 4

Hello mynda,

You could refer to the following url for some good tips:

http://books.zkoss.org/wiki/ZKDeveloper%27sReference/PerformanceTips/ClientRenderonDemand

If you still have performance issues, please let me know.

Best Regards,

Darks

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-06-08 14:25:47 +0800

Seen: 9 times

Last updated: Jun 10 '15

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