i was wondering what happens first in the order the @postconstruct method in my backing bean or the onload JS in the view side ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
@PostConstructis a server side method.onloadfunction is a client side function. No matter what,@PostConstructwill always be executed before the response is rendered and hence, beforeonload.