Hi guys,
i've a question for you.
I need to improve my jsf application with Uploading function and i've done
it with

<h:form id="MyFormNormalizzati" enctype="multipart/form-data" >

    <h:messages globalOnly="true" styleClass="message"/>

    <h:panelGrid columns="3" border="0" cellspacing="5" bgcolor="orange">

        <h:outputLabel for="myFileNorm" value="Invia Dati Normalizzati : "/>
        <t:inputFileUpload id="myFileNorm"
            value="#{experiment.myFile}"
            storage="file">
         </t:inputFileUpload>  
        <h:message for="myFileId"/>

        <h:outputText value=" "/>
        <h:commandButton value="Submit"
             actionListener="#{experiment.carica}"/>
        <h:outputText value=" "/>

    </h:panelGrid>


</h:form>



I have 4 FileUpload forms in my page,each one has a submit button that load
the file,make some operation and put it into a blob field of a mysql db.

1) Can i use one only button to load these 4 files,associating each one to a
bean and sending them into db?(Instead of having a button for each form?)

2) Can i use a progressive bar to see upload percentage progress?

3) How can i use required values for this form?
That is i've used required=true,but after i've upload the file and try going
to next page i see required input message!When file has been successfully
uploaded!

I hope you can help me with code or links....thanks very much and excuse my
stupid questions..i'm new of jsf and myfaces...
-- 
View this message in context: 
http://www.nabble.com/MyFaces-upload...-tf2281605.html#a6338149
Sent from the MyFaces - Users forum at Nabble.com.

Reply via email to