org.chorem.pollen.ui.components
Class FileLink
java.lang.Object
org.apache.tapestry5.corelib.base.AbstractLink
org.chorem.pollen.ui.components.FileLink
- All Implemented Interfaces:
- org.apache.tapestry5.ClientElement
public class FileLink
- extends org.apache.tapestry5.corelib.base.AbstractLink
Composant qui affiche un lien vers un fichier dynamique.
Ce composant permet d'afficher un lien vers un fichier. Le fichier est traité
comme un flux affiché par le navigateur lorqu'on clique sur le lien.
Utilisation :
<t:filelink src="/feeds/feed.xml" type="literal:application/atom+xml" />
- Version:
- $Id: FileLink.java 2791 2009-11-05 13:58:23Z echatellier $
- Author:
- rannou
| Methods inherited from class org.apache.tapestry5.corelib.base.AbstractLink |
getClientId, getLink, isDisabled, writeLink |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileLink
public FileLink()
onCreateLink
public org.apache.tapestry5.StreamResponse onCreateLink(String filename,
String type)
- Affichage du fichier
Copyright © 2009-2010 CodeLutin. All Rights Reserved.