Hi - I'm looking for some guidance as to how one might incorporate PDF files in a lift stack. I know you can just link to a PDF, but what I'd like to do is serve / not serve the PDF based on similar logic as to how I serve HTML pages. For example, if I want a subset of users to have access to a view, I can define that subset via query in Boot, define a function that determines if the current users is in that group, and attach that function to the Loc / Menu.
Can I do the same thing for a PDF, or XLS, or Word document?
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
Thanks! I am literally getting Lift into some of the largest
investment houses, via a compliance framework, and it's going great,
but for their absolute insistence on having all data that resides in a
nice, meaningful database, splattered on timestamped PDFs!