I am using OpenFaces and have to be compatible with IE6. Up to now everything works more or less without problems.
However, I’ve run into a problem….
I’ve got a few buttons within a form. Save, Add, Export and Delete. Clicking on Export works fine with Firefox and IE8, exportToCsv() in the defined bean is invoked, so it must be a browser behaviour. Clicking on Export with IE6 invokes add() in the bean instead of exportToCsv().
Any idea?
Thank you in advance.
The
<o:commandButton>component renders the<button>tag instead of<input>only if you specify the displayed button’s content in between<o:commandButton>and</o:commandButton>. If you just need to display plain text, then you don’t have to use this approach, and you can use the usualvalueattribute, which will result in rendering<input>tag instead of<button>, i.e. use:instead of
The thing is that the latter form allows placing arbitrary HTML and thus requires the
<button>tag.