2 Replies Latest reply on Dec 16, 2008 1:39 PM by nbelaevski

    a4j:commandButton input vs button

    pkawiak

      Hello!

      I was wondering if it would be possible to change the code of commandButton to render instead of . It would make it more 'styling' friendly. As I was searching through the web I've found out that there are differences in interpreting in major browsers (value should be the same as inner text for IE) - is it the reason for commandButton is still input?

        • 1. Re: a4j:commandButton input vs button
          pkawiak

          oops I've forgot to disable html.

          I was wondering if it would be possible to change the code of commandButton to render button instead of input. It would make it more 'styling' friendly. As I was searching through the web I've found out that there are differences in interpreting button in major browsers (value should be the same as inner text for IE) - is it the reason for commandButton is still input?

          • 2. Re: a4j:commandButton input vs button
            nbelaevski

            Piotr,

            I think the main reason for this is compatibility with standard JSF controls. Currently it is not possible to output BUTTON tag as result of a4j:commandButton component rendering. Please file JIRA RFC if you like this feature.