-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I had display the products iteratively with details by detail tag in grid.
i want to print the single product information.
i have given print button in each detail tag .
when user clicks on print button the pop up window zul comes of particular product info.
my pop window is likethis
<window id="printwin" title="new page title" border="normal" mode="popup" position="center" closable="true" onCreate="Clients.print()">
Hello world!!!!!!!!!!!!
</window>
here Clients.print() prints backround browser but not pop up window what should i do.
plz help very urgent.
if it is not possible to print pop up window is there any login to print particular detail tag only code as follow
<center flex="true" autoscroll="true"> <div> Please open/close the +/- button, to see product details properly. <grid fixedLayout="false" width="600px" forEach="${ads}" mold="paging" pageSize="2"> <columns> <column width="25px" /> <column>Product Name</column> <column>Brand</column> <column>Category</column> </columns> <rows> <row> <detail open="true" > <hbox> <image width="150px" height="150px" src="/img/camcord.jpeg" /> <vbox> <label value="Item Specifics - Item Condition" style="font-weight:bold;font-style: italic;" /> <hbox> <label value="Product Code:" /> <label value="${each.product.product_id}" style="font-weight:bold;" /> </hbox> <hbox> <label value="Product Name:" /> <label value="${each.product.product_name}" style="font-weight:bold;" /> </hbox> <hbox> <label value="Product Brand:" /> <label value="${each.product.product_brand}" style="font-weight:bold;" /> </hbox> <hbox> <label value="Terms Conditions :" /> <label value="${each.offer_desc}" style="font-weight:bold;" /> </hbox> <button id="${each.product.product_id}" label="print" onClick="getLabId(self)" /> </vbox> </hbox> </detail> <label value="${each.product.product_name}" /> <label style="color:green;float:right;" value="${each.product.product_brand}" /> <label value="${each.product.prodcat_main.category_desc}" /> </row> </rows> </grid> </div> </center>
plz help
Asked: 2010-04-08 00:22:51 +0800
Seen: 963 times
Last updated: Feb 21 '12