4 Replies Latest reply on Jan 15, 2008 12:09 PM by Piotr Walczyszyn

    Action execution upon page load

    Fady Matar Novice

      You can specify an action to be executed upon page load throught the *page.xml

      <ui:include src="/layout/ui/ui-component.xhtml">
      ...
      </ui:include>
      
      
      However I need to load an action upon the inclusion of a subpage.
      i.e. the ui-component.xhtml is more of a component that is loaded many times on the same page and each time is computing an algorithm based on the parameters that are passed. Now calling an action from within the ui-components.page.xml will not work because it's an included page.
      
      What would be an alternative to invoke an action upon ui:include?