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 [
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
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
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
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
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
--
6 matches
Mail list logo