Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
<rich:fileUpload fileUploadListener="#{listprojet.listener}"
                maxFilesQuantity="#{listprojet.uploadsAvailable}"
                id="upload"
                immediateUpload="#{listprojet.autoUpload}"
                acceptedTypes="jpg, gif, png, bmp" allowFlash="#{listprojet.useFlash}" >
                <a4j:support event="onuploadcomplete" reRender="info" />
            </rich:fileUpload>

comment imposer à file upload un repertoire de choix d'images qu'il va choisir.çàd qu'il n'aura pas accés à tous l'ordinateur , juste un seul repertoire .