java - How to add navigation case for Virtual directory -



java - How to add navigation case for Virtual directory -

in app, have virtual directory store files downloading. wanted create <h:button> outcome="<virtual-directory-url>/<file-name>" download file. however, ran error navigation case not resolved.

i'd grateful if show me how should tackle problem.

best regards,

james tran

i found solution: combination of <h:outputlink> , <h:button> do. should this:

<h:outputlink value="<virtual-directory-url>/<file-name>"> <h:button value="download" /> </h:outputlink>

java jsf-2 navigation ejb-3.0

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - cuda, pycuda -- how to write complex numbers -- errors:class "cuComplex" has no member "i" -

How do I check if an insert was successful with MySQLdb in Python? -