JSF Ajax refresh issue
        Posted  
        
            by 
                johnip
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by johnip
        
        
        
        Published on 2010-12-23T16:23:44Z
        Indexed on 
            2010/12/24
            11:54 UTC
        
        
        Read the original article
        Hit count: 390
        
In my JSF page, I have a dropdown that needs to be populated onload of the page which is set in request scope, now I have a Ajax call that refreshes a part of the page. The Ajax piece works fine but the issue is on refresh it also calls the getter for the Dropdown and returns null ( because its in request scope). To me it makes no sense to call the getter for a component that's not part of the Ajax refresh. Am I doing it correct , please suggest.
© Stack Overflow or respective owner