I want to place an option on all of my View forms for starters, that
will allow the user to print the current record. I have been noodling
with this and am not sure the best way to approach this.
I untimately would like to modify the DisplayViewForm tag to
automatically place the link in the Form Label area (easy to do) and
have the current page redisplayed in a new window in the format chosen
in the user preferences for output (flashpaper, pdf).
Most of the examples I have seen wrap a <cfinclude> within a
<cfdocument> tagset, which is not an option.
I have successfully bracketed one of my View forms with the cfdocument
tag, and it works when the format is Flashpaper, but I can't get it to
work with PDF. All of the links in this master detail form are actually
live, so it is pretty slick. With the recent Adobe acquistion
announcement, gotta get it working with PDF though, just in case.
The above approach isn't a very good option from a code reuse
standpoint; this functionality should really be in a custom tag. I am
not sure this kind of scenario would work within the scope of the
DisplayViewForm tag, though.
Anybody have any suggestions for a 'preferred' method to implement
something like this?
v/r,
Jeff
**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:
http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************