1 Reply Latest reply on Apr 14, 2010 1:39 PM by girionis

    Default button style

    girionis
      Hello, I am new to seam and rich faces.

      I am trying to display a submit button in a form with the default style, so I am running the following simple code

      <html>
           <body>
                <form>
                     <input type="submit" value="submit"/>
                </form>
           </body>
      </html>

      If I save it as .html extension and run it from the browser I can see the button properly. If I save it as .xhtml and run it from within a seam project then the button has a completely different style. I see that seam puts some javascript and rich stylesheet information on the file, so I guess that's why I am getting the different style on the button.

      Is there any way I can only display the default button style?

      Thanks.

      Panos
        • 1. Re: Default button style
          girionis
          I found the answer myself. You need to turn off extended skinning

          <script type="text/javascript">
          window.RICH_FACES_EXTENDED_SKINNING_ON = false;
               </script>