4 Replies Latest reply on Jan 31, 2011 4:03 AM by anicapil

    How to set style on BROWS button in s:fileupload?

    anicapil



      <td align="left">

                              <s:fileUpload id="uploadComponent" data="#{importDictionaryManager.file.data}"

                                            contentType="#{importDictionaryManager.file.contentType}"

                                            fileName="#{importDictionaryManager.file.name}"

                                            fileSize="#{importDictionaryManager.file.size}"

                                            accept="#{importDictionaryManager.file.accept}"

                                           size="40">

                                  <a4j:support event="onchange" action="#{importDictionaryManager.setDisabled(false)}" reRender="uploadButton"/>

                              </s:fileUpload>

                          </td>

                          <td align="left" width="90%">

       

                              <h:commandButton id="uploadButton"

                                               action="#{importDictionaryManager.upLoad}"

                                               disabled="#{importDictionaryManager.disabled}"

                                               value="#{messages.upload}">

       

      any ideas?