html - Rendering of <h:commandbutton> in Firefox? -


When we set as disabled is true attribute set, then Firefox Button still looks enabled but it is working fine in IE. Is this a limitation with Firefox or JSF?

Generating all JSF HTML / CSS / JS Webbrowsers can not recover / understand the JSF code at all. Style and look'n'feel are usually handled using CSS. Whatever you could do, it is to see the HTML / CSS / JS code generated for the style associated with the style of the disabled button.

  & lt ;! DOCTYPE html & gt; You can probably create a plain vanilla HTML page so that you can do some quick tests to get one out. & Lt; Html lang = "en" & gt; & Lt; Top & gt; & Lt; Title & gt; Test & lt; / Title & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Input type = "submit" disabled & gt; & Lt; / Body & gt; & Lt; / Html & gt;  

You can select a passive submit button by using the attribute selector [name = value] such as:

  Input [type = submit] [disabled] {background: pink; }  

Check it as:

   

And apply the things learned in JSF favor.


Comments