Re: submit value by commandLink

2006-12-11 Thread Jeff Bischoff
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 [

Re: submit value by commandLink

2006-12-08 Thread David Chandler
On 12/8/06, Dave <[EMAIL PROTECTED]> wrote: But no modelUpdate phase is went through, and the backing bean binding value is not changed. If commandLink submit values like commandButton does, there should be a modelUpdate phase to update values. Thanks, What happens if you simply change the word

Re: submit value by commandLink

2006-12-08 Thread Dave
But no modelUpdate phase is went through, and the backing bean binding value is not changed. If commandLink submit values like commandButton does, there should be a modelUpdate phase to update values. Thanks, David Chandler <[EMAIL PROTECTED]> wrote: CommandLink does submit all values in th

Re: submit value by commandLink

2006-12-08 Thread David Chandler
CommandLink does submit all values in the enclosing form just like commandButton unless you're using immediate=true and specifying the outcome in the action attribute like this: /dmc -- David Chandler Development Coach learnjsf.com On 12/7/06, Dave <[EMAIL PROTECTED]> wrote: Insi

RE: submit value by commandLink

2006-12-07 Thread Nebinger, David
ailto:[EMAIL PROTECTED] Sent: Thursday, December 07, 2006 11:39 PM To: users@myfaces.apache.org Subject: submit value by commandLink Inside a form, there is an inputText and a commandLink. When a user clicks the commandLink, can the value in the inputText be submitted at the same time? The reason t

submit value by commandLink

2006-12-07 Thread Dave
Inside a form, there is an inputText and a commandLink. When a user clicks the commandLink, can the value in the inputText be submitted at the same time? The reason to use commandLink instead of commandButton is that commandLink can have params. Thanks. Dave --