0 Replies Latest reply on Nov 1, 2007 6:10 PM by Arbi Sookazian

    facelet onload event handler question

    Arbi Sookazian Master

      In html there is <body onload="jsFunction()"...>

      How can I execute a JS function when a jsf/facelet loads/renders???

      I see nothing in the index of the Core JSF 2nd edition for "onload". I know about "onshow" for modalPanel but I'm talking about the entire JSF when it loads.

      I need to make some radio buttons visible (default is hidden due to use case requirements) if there is a value selected. Right now, after I save and the record is updated, when the JSF re-renders, the radio buttons are still hidden for the subsequent user session.