|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.pollen.ui.components.Image
public class Image
Composant qui affiche une image. Ce composant permet d'afficher une image dynamique (exemple : image uploadée sur le serveur par un formulaire).
Utilisation :
<t:image src="/img/image.png" />
Pour afficher une image statique il est préférable d'utiliser :
<img src="${asset:context:img}/image.png" />
| Constructor Summary | |
|---|---|
Image()
|
|
| Method Summary | |
|---|---|
org.apache.tapestry5.StreamResponse |
onImageLink(java.lang.String src,
int width,
int height)
Affichage de l'image |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Image()
| Method Detail |
|---|
public org.apache.tapestry5.StreamResponse onImageLink(java.lang.String src,
int width,
int height)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||