Hello,
commandButton with icon on PDAs displays only the IMAGE and not the inline
text. In desktop, an image with an inline text can be displayed within a
button. On PDAs, a commandButton gets rendered as in input HTML element as
follow :
jspx:
<af:commandButton text="Go to Component Guide page" immediate="true"
icon="../../images/uplevel.gif"
action="guide"/>
rendered html:
<input type="image"
onclick="submitForm script...."
src="../../images/uplevel.gif"
text="Go to Component Guide page">
For desktops :
rendered html:
<button id="demoTemplate:_id12" class="x6j" onclick="return false;">
<img class="xrt" src="../../images/uplevel.gif">
</button>
Button tag is not supported on PDA browsers.
So, do we say that on PDAs either of a text or an image can be rendered but not
both ??
-Piyush