The print button is a browser side thing, DisplayTag is a server side
thing.  DisplayTag can be used to create a printer-friendly page that you
can then print, but it has no way of sending the entire list to the printer
when the print button is pressed.
  (*Chris*)

On Mon, Jan 5, 2009 at 10:16 PM, <nihal.niga...@cognizant.com> wrote:

>  Hi Narcis,
>
>
>
> I am talking about the print functionality. Browser prints the document
> object, and when displaytag renders the table only paginated records are
> part of the document object hence whenever we print the page only that many
> records get printed. So while printing we have manipulate the document
> object to hold all the records.
>
>
>
> Please let me know if there is any other solution to this problem..
>
>
>
> Thanks
>
> Nihal
>
>
>
> *From:* Paslaru Narcis [mailto:]
> *Sent:* Monday, January 05, 2009 7:45 PM
> *To:* displaytag-user@lists.sourceforge.net
> *Subject:* Re: [displaytag-user] print functionality
>
>
>
> Hello,
>
> Thanks for putting this question. I've looked at my current project and it
> has the same behaviour.
> As far as I understood by looking at the sources, It should be possible to
> configure this by setting the property
>
> export.amount = list
>
> in your displaytag.properties file or via setProperty.
>
> But in my tests, it seems that the PDF Export only exports all the list and
> the other exports only exports the current page no matter the property
> setting.
> If you want to further investigare this issue, you should take a look at
> the BaseExportView class at line
> 241 RowIterator rowIterator = this.model.getRowIterator(this.exportFull);
>
> Or maybe there is something wrong with the table model.
>
> Note: I am using displaytag 1.2 sience this morning.
>
>
> Cheers,
> Narcis
>
> On Mon, Jan 5, 2009 at 11:37 AM, <nihal.niga...@cognizant.com> wrote:
>
> Hi All,
>
>
>
> I have a functionality in my project to print the screen. I am using
> displaytag for pagination. I want the entire records to get printed instead
> of the paginated records.
>
>
>
> Can anyone please help me in achieving this.
>
>
>
> Thanks in Advance
>
> Nihal
>
> This e-mail and any files transmitted with it are for the sole use of the
> intended recipient(s) and may contain confidential and privileged
> information.
> If you are not the intended recipient, please contact the sender by reply
> e-mail and destroy all copies of the original message.
> Any unauthorised review, use, disclosure, dissemination, forwarding,
> printing or copying of this email or any action taken in reliance on this
> e-mail is strictly
> prohibited and may be unlawful.
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
>  This e-mail and any files transmitted with it are for the sole use of the
> intended recipient(s) and may contain confidential and privileged
> information.
> If you are not the intended recipient, please contact the sender by reply
> e-mail and destroy all copies of the original message.
> Any unauthorised review, use, disclosure, dissemination, forwarding,
> printing or copying of this email or any action taken in reliance on this
> e-mail is strictly
> prohibited and may be unlawful.
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
------------------------------------------------------------------------------
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to