Revision history [back]

click to hide/show revision 1
initial version

asked 2023-04-13 01:29:44 +0800

holos gravatar image holos

Re: SmallTalk Printing In ZK - not more than 50 entries are rendered

I followed the instructions in https://www.zkoss.org/wiki/SmallTalks/2014/December/PrintingIn_ZK and could successfully print the content of any container in my zul.

Then I extended the solution and used a zul with mvvm to print any kind of data. Again, this worked perfectly well.

But then I noticed, that if I use a listbox or a grid it only renders exactly 50 entries (!) before stopping rendering of "content" but just renders empty borders.

What is the reason? Why is 50 a magic number???

If I open the "print-zul" directly it renders all elements. More than 50.

Note: the solution described in the SmallTalk uses a hidden iframe to render the output of a zul file.

The hiden iframe is set as

<iframe id="zk_printframe" name="zk_printframe" style="width:0;height:0;border:0;position:fixed;"/>

Side note: I added the same listbox twice. And it rendered exactly the same 50 entries twice and again stopped rendering then.

Re: SmallTalk Printing In ZK - not more than 50 entries are rendered

I followed the instructions in https://www.zkoss.org/wiki/SmallTalks/2014/December/PrintingIn_ZKlink text and could successfully print the content of any container in my zul.

Then I extended the solution and used a zul with mvvm to print any kind of data. Again, this worked perfectly well.

But then I noticed, that if I use a listbox or a grid it only renders exactly 50 entries (!) before stopping rendering of "content" but just renders empty borders.

What is the reason? Why is 50 a magic number???

If I open the "print-zul" directly it renders all elements. More than 50.

Note: the solution described in the SmallTalk uses a hidden iframe to render the output of a zul file.

The hiden iframe is set as

<iframe id="zk_printframe" name="zk_printframe" style="width:0;height:0;border:0;position:fixed;"/>

Side note: I added the same listbox twice. And it rendered exactly the same 50 entries twice and again stopped rendering then.

Re: SmallTalk Printing In ZK - not more than 50 entries are rendered

I followed the instructions in

link textSmallTalk Printing In ZK

and could successfully print the content of any container in my zul.

Then I extended the solution and used a zul with mvvm to print any kind of data. Again, this worked perfectly well.

But then I noticed, that if I use a listbox or a grid it only renders exactly 50 entries (!) before stopping rendering of "content" but just renders empty borders.

What is the reason? Why is 50 a magic number???

If I open the "print-zul" directly it renders all elements. More than 50.

Note: the solution described in the SmallTalk uses a hidden iframe to render the output of a zul file.

The hiden iframe is set as

<iframe id="zk_printframe" name="zk_printframe" style="width:0;height:0;border:0;position:fixed;"/>

Side note: I added the same listbox twice. And it rendered exactly the same 50 entries twice and again stopped rendering then.

Re: SmallTalk Printing In ZK - not more than 50 entries are rendered

I followed the instructions in

SmallTalk Printing In ZKhttps://www.zkoss.org/wiki/SmallTalks/2014/December/PrintingIn_ZK

and could successfully print the content of any container in my zul.

Then I extended the solution and used a zul with mvvm to print any kind of data. Again, this worked perfectly well.

But then I noticed, that if I use a listbox or a grid it only renders exactly 50 entries (!) before stopping rendering of "content" but just renders empty borders.

What is the reason? Why is 50 a magic number???

If I open the "print-zul" directly it renders all elements. More than 50.

Note: the solution described in the SmallTalk uses a hidden iframe to render the output of a zul file.

The hiden iframe is set as

<iframe id="zk_printframe" name="zk_printframe" style="width:0;height:0;border:0;position:fixed;"/>

Side note: I added the same listbox twice. And it rendered exactly the same 50 entries twice and again stopped rendering then.

Re: SmallTalk Printing In ZK - not more than 50 entries are rendered

I followed the instructions in

https://www.zkoss.org/wiki/SmallTalks/2014/December/PrintingIn_ZKPrinting In ZK

and could successfully print the content of any container in my zul.

Then I extended the solution and used a zul with mvvm to print any kind of data. Again, this worked perfectly well.

But then I noticed, that if I use a listbox or a grid it only renders exactly 50 entries (!) before stopping rendering of "content" but just renders empty borders.

What is the reason? Why is 50 a magic number???

If I open the "print-zul" directly it renders all elements. More than 50.

Note: the solution described in the SmallTalk uses a hidden iframe to render the output of a zul file.

The hiden iframe is set as

<iframe id="zk_printframe" name="zk_printframe" style="width:0;height:0;border:0;position:fixed;"/>

Side note: I added the same listbox twice. And it rendered exactly the same 50 entries twice and again stopped rendering then.

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