myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Bischoff <jbisch...@klkurz.com>
Subject Re: submit value by commandLink
Date Mon, 11 Dec 2006 14:28:19 GMT
Simon Kitching wrote:
> BTW, immediate defaults to false for commandButton. I *think* it 
> defaults to true for commandLink.
> 

Actually, Simon, commandLink defaults to false also. :)
They both inherit the property and the default setting from 
javax.faces.component.UICommand.

 From Sun's Javadoc [1]:
"The default value for this property must be false."

 From the current impl [2]:
private static final boolean DEFAULT_IMMEDIATE = false;

[1] 
http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api/javax/faces/component/UICommand.html#isImmediate()
[2] 
http://svn.apache.org/repos/asf/myfaces/core/trunk/api/src/main/java/javax/faces/component/UICommand.java

TinyURL versions:

[1] http://tinyurl.com/yz38ec
[2] http://tinyurl.com/yf3pnl

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.



Mime
View raw message