Thanks for your response Gerhard.

I too tested this with a plain and simple page and after some tests, this is
what I have been able to conclude.
The immediate attribute stops working when
1) A EL based JSP include page is used within a facet of a component.

I have a custom built tabbed pane component that decides which page to
render based on a condition. Each tab is represented by a facet. Inside some
of these facets I use jsp include with #{} EL. When the included page has
any of these command btns with immediate attribute set, then the who
lifecycle seems to fall apart.

Any insights why that might be happening ?

Thanks
Yogi


Gerhard Petracek wrote:
> 
> hi yogi,
> 
> i tested the mentioned scenario with the archetype apps #1 and #2.
> i changed the following:
> 1) dependencies (update to v1.2.6)
> 2) added immediate command buttons
> 
> -> everything worked fine!
> -> could you please provide more details or a link to a sample app.
> regards,
> gerhard
> 
> http://www.irian.at
> 
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
> 
> Professional Support for Apache MyFaces
> 
> 
> 2009/6/22 Karma Yogi <[email protected]>
> 
>>
>> All,
>>
>>  I have been using the immediate attribute on all my cancel command
>> buttons
>> since MyFaces 1.1 and have had no issues with its usage. I am attempting
>> to
>> upgrade to Myfaces 1.2.6 and suddenly all my cancel command buttons do
>> not
>> work as intended. This is the behavior that I notice.
>> 1) All required validations of fields fire the moment I click the
>> "immediate" tagged btn.
>> 2) The listener for the cancel btn is never reached.
>>
>> I cannot be missing anything in the basic usage itself because this was
>> working perfectly before the upgrade. So what else could I be missing ?
>> Or
>> is this a bug in this version ? Some clarity on this from the gurus would
>> be
>> appreciated.
>>
>> FYI I have already read the wiki on using the immediate attribute at
>> apache.org and I am using the same techniques mentioned there
>>
>> Ciao
>> Yogi
>> --
>> View this message in context:
>> http://www.nabble.com/MyFaces-1.2.6-immediate-attribute-on-command-button---required-validation-tp24151328p24151328.html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/MyFaces-1.2.6-immediate-attribute-on-command-button---required-validation-tp24151328p24152703.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to