You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/06/20 19:55:23 UTC
[Myfaces Wiki] Update of "Sending Files" by IzakWessels
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.
The following page has been changed by IzakWessels:
http://wiki.apache.org/myfaces/Sending_Files
------------------------------------------------------------------------------
You have to bind an action in the JSP to a method in your backing bean.
The content of the method could be like this:
-
+ {{{
'''//We must get first our context'''
FacesContext context = FacesContext.getCurrentInstance();
@@ -62, +62 @@
FacesContext.getCurrentInstance().responseComplete();
'''//End of the method '''
-
+ }}}