This content has been marked as final.
Show 3 replies
-
1. Re: commandButton and return button
koraycetinbas Sep 8, 2009 7:58 AM (in response to hrbaer)Hi,
You need to use javascript for that issue.
Open source taglibs are also available for that.
Take a look at the following link
http://www.jsftutorials.net/defaultActionTag.html -
2. Re: commandButton and return button
hrbaer Sep 8, 2009 8:01 AM (in response to hrbaer)Ok,
if you use a a4j:commandButton (f.ex. you want to use ajaxSingle=true) the generated html-output is a .
If you use a h:commandButton the generated output is .
So is there any chance to use a4j:commandButton which result in a input type="submit" ??
Because if not and you want to use f.ex a search button but there are also some aktiv detail fields they become validated by using a h:commandButton which is not(!) the expected behaviour.
Thanks in advance. -
3. Re: commandButton and return button
hrbaer Sep 8, 2009 8:04 AM (in response to hrbaer)"hrbaer" wrote:
Ok,
if you use a a4j:commandButton (f.ex. you want to use ajaxSingle=true) the generated html-output is a<input type="button">
.
If you use a h:commandButton the generated output is<input type="submit">
So is there any chance to use a4j:commandButton which result in a input type="submit" ??
Because if not and you want to use f.ex a search button but there are also some aktiv detail fields they become validated by using a h:commandButton which is not(!) the expected behaviour.
Thanks in advance.