I was just having the same problem myself!
Here is what I am doing for now:
<f:verbatim>
<input type="button" value="Start Dialog" onclick="startDialog();"/>
</f:verbatim>
This doesn't solve your EL problem though. Perhaps we could add an
attribute to x:commandButton? Or maybe a new component,
x:inputButton, would be more appropriate (since its not really a
command if its not posting back to the original bage and listening for
action events.)
sean
On 5/24/05, Rogerio Pereira <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I need a commandButton that doesn't fire submit or reset on the form
> and only fires the onclick event.
> I tried a simple html code like <input type="button"
> value="#{messages['key']'}" onclick="javascriptMethod(args)"/> but the
> EL code isn't being rendered.
>
> Any tips?
>
> Thanks for any answer,
>
> Rog�rio
>