1 Reply Latest reply on Jan 18, 2011 5:48 AM by anicapil

    How to set style on BROEWS 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}">
        • 1. Re: How to set style on BROEWS button in s:fileupload?
          anicapil
          any idea?
          <blockquote>
          _Anil Kapil wrote on Jan 18, 2011 05:48:_<br/>

          <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}">

          </blockquote>

          Click HELP for text formatting instructions. Then edit this text and check the preview.