This content has been marked as final.
Show 3 replies
-
1. Re: a4j:commandButton generating html button tag ?
nbelaevski Aug 21, 2008 8:55 PM (in response to gcollin)Hi GCollin,
Looks like it is not possible to render it as . You can use a4j:jsFunction activated in button's onclick as a workaround. -
2. Re: a4j:commandButton generating html button tag ?
nbelaevski Aug 21, 2008 8:57 PM (in response to gcollin)"nbelaevski" wrote:
Hi GCollin,
Looks like it is not possible to render it as < button >. You can use a4j:jsFunction activated in button's onclick as a workaround.
Sorry, I've just found out that this forum allows posting HTML tags as is :( and cannot delete my previous post. -
3. Re: a4j:commandButton generating html button tag ?
gcollin Aug 22, 2008 4:20 AM (in response to gcollin)It worked like a charm.
In fact, FYI i've used the following code, which avoid to create javascript.
<button type="submit" class="bouton".><a:support event="onclick" action="#{mainTemplate.myActionMethod}"/>OK