-
FEATURED COMPONENTS
First time here? Check out the FAQ!
![]() | 1 | initial version | |
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.
![]() | 2 | No.2 Revision |
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.
![]() | 3 | No.3 Revision |
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.
![]() | 4 | No.4 Revision |
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.
![]() | 5 | No.5 Revision |
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.