Saturday, January 09, 2010

Immediate = True

In JSF development, and attribute called Immediate pops up sporadically.
It has always been a source of confusion of myself and others around me. Rather than trying to explain its meaning in the post, I will redirect the reader to the best article i have ever read about this issue,
http://wiki.apache.org/myfaces/How_The_Immediate_Attribute_Works

In essense, the immediate behaviour has to be studied for Input Items seperately from Command items. In Input Items, immediate = true, effectively executes the validation, conversion and events queueing at the end of the apply-request phase. If an error occurs, the rest of the lifecycle is skipped and the Render phase is executed (meaning that non-immediate input items wont be checked). For Command Button, immediate=true means that the action listener or other action events are executed at the end of the apply-request (before, any validation on non - immediate items and before update model). If the event processing returns a non-null navigation string, the lifecycle proceeds to the render-response phase, effectively short-circuiting all other component's lifecycle processing. if the even processing returns null navigation string, then normal processing of lifecycle continues.

ammar sajdi

5 comments:

Anonymous said...

Hello!
You may probably be very curious to know how one can make real money on investments.
There is no need to invest much at first.
You may begin to get income with a money that usually goes
on daily food, that's 20-100 dollars.
I have been participating in one project for several years,
and I'll be glad to share my secrets at my blog.

Please visit blog and send me private message to get the info.

P.S. I earn 1000-2000 per day now.

http://theblogmoney.com

Anonymous said...

[url=http://sapresodas.net/][img]http://vioperdosas.net/img-add/euro2.jpg[/img][/url]
[b]cheapest antivirus software, [url=http://sapresodas.net/]academic office software[/url]
[url=http://sapresodas.net/]windows vista reviews[/url] buy dreamwaver filemaker pro 10 torrent
is roxio creator 2009 better than nero 9 [url=http://sapresodas.net/]educational software india[/url] free kaspersky internet security 2009 activation code
[url=http://sapresodas.net/]buy photoshop cd[/url] microsoft software
[url=http://sapresodas.net/]cheap software for you[/url] manual adobe photoshop cs3
buy erp software [url=http://vioperdosas.net/]windows vista update[/url][/b]

Anonymous said...

I will not acquiesce in on it. I over nice post. Especially the title attracted me to review the sound story.

Anonymous said...

Good day, sun shines!
There have were times of hardship when I felt unhappy missing knowledge about opportunities of getting high yields on investments. I was a dump and downright pessimistic person.
I have never imagined that there weren't any need in large starting capital.
Nowadays, I feel good, I started take up real money.
It's all about how to choose a correct companion who utilizes your money in a right way - that is incorporate it in real business, and shares the profit with me.

You may ask, if there are such firms? I have to answer the truth, YES, there are. Please get to know about one of them:
http://theblogmoney.com

Anonymous said...

male enhancement products that really works for you visit http://www.male-sexual.com

Getting Ref of the View Object referenced by the current Iterator binding for One iterator page without knowing the name of the iterator

Getting Ref of the View Object referenced by the current Iterator binding for One iterator page without knowing the name of the iterator ...