Instead, I backed off to a more straightforward link approach, i.e. use of the outputLink control, as follows:
<ice:form>
<ice:outputLink value="doc/some-PDF-file.pdf"
target="_blank">
<ice:outputText value="Open PDF"/>
</ice:outputLink>
</ice:form>
The plain vanilla HTML is dirt-simple:<a target="_blank" href="doc/some-PDF-file.pdf">Open PDF</a>This assumes the "doc" directory location is under your webapp root context.

No comments:
Post a Comment