0 Replies Latest reply on Aug 7, 2008 12:04 PM by Kevin Gutch

    HtmlAjaxCommandLink setActionExpression() without ELCotext

    Kevin Gutch Newbie

      I am trying to create an HtmlPanel myPanel containing HtmlAjaxCommandLink during application initialization. I am using

       <listener>
       <listener-class>com.protech.util.InitParams</listener-class>
       </listener>
      

      and
      contextInitialized(ServletContextEvent sce)
      

      and then

      sce.getServletContext().setAttribute("myPanel", myPanel);
      



      I can create the everything nice but when I try to add the "Action" I stumbling because the FaceContext is not available thus the ELContext is not there either?

      Can anyone suggest anything?


      Thanks in advance,

      Kevin