I'm not sure about "the right way" to do this in Lift, but an external
menu link serves it up (with webapp as the base directory).

Menu(Loc("FileDownload", ExtLink("content/StartingWithLift.pdf") ,
"FileDownload")) ::


On Aug 29, 9:11 pm, Jim Myers <myer...@gmail.com> wrote:
> I'm trying to put a link in a menu to directly download a PDF.
>
> Menu(Loc("DH6", ("current/pdf/DH6.pdf" :: "" :: Nil) -> true, "DH6 -
> test PDF")) ::
>
> I get the message:
> The requested page was not defined in your SiteMap, so access was
> blocked.
>
> Is this possible?  If so, what's the secret?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to