7 Replies Latest reply on Feb 12, 2010 10:20 AM by Mike Burton

    s:fileUpload styleClass (2.0.2.SP1)

    Mike Burton Newbie
      Hi folks,

      I'm trying to set the styleClass of s:fileUpload, to give it the rounded red effect as per the 'import' button shown below.
      But s:fileUpload consists of a button and an outputText, so I end up with the grey button shown below, plus (some of) the outputText- the vertical line to the right of the button (I've removed most of the outputText by setting style="..width: ..."

      Is there some way to set the styleClass of s:fileUpload's button only, ie not the whole composite?

      Alternatively would it be possible to invoke s:fileUpload's functionality from another action method?


      Best Regards

      Mike Burton