Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Immediate Components (immediate="true")

843842Mar 17 2005 — edited Mar 17 2005
Hi:

Does anybody understood immediate components ?

If I have a commandButton with the label immediate="true" what happens ?

At first I though that with immediate="true", when clicking the button, all validation and conversions and update model are skipped just to the RenderResponse phase.

Is that true ?

But if I have a commandButton with immediate="true" and some other component (like a inputText) with immediate="true" then all life cycle phases of the inputText are executed before anithing and then the actionListener and action of command Button.

Is that true ?

And, if I have only one component like an InputText with immediate="true", then all life cycle phases of that component are executed before the "real" life cycle begin. So after all life cycle of that component, the phases are executed again but for the rest of components.

Is that true ?

Can someone explains to me how does the immediate="true" label works, and how it change life cycle execution ?

Thanks a lot !!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 14 2005
Added on Mar 17 2005
2 comments
209 views