This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

aj4:support initialize backing bean  RSS feed

 
Shaiju scientia
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am a newbi in JSF and aj4.I have used ajs:support tag to do a server side validation (a business validation) ,invoking a backing bean method.
What I have observed is ,when ever the ajax call happened for this validation method , the init() method of the backing bean is getting executed.I have annoted the init with @postConstruct.This is required for me.
Please find the code below
jsp

Backing bean


Can anybody suggest,how do I turn off the invokation of init() on the ajax requests ?

Note:I have posted the same in sun jsf forum, but no response
http://forums.sun.com/thread.jspa?messageID=10821281�
Thanks in Advance
Shaiju
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Shaiju", it is imperative that you check your private messages for an important administrative matter prior to your next post.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!