myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "TrinidadSeamAjax4JsfFaceletDetail" by ThomasHamacher
Date Wed, 28 Feb 2007 18:08:32 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by ThomasHamacher:
http://wiki.apache.org/myfaces/TrinidadSeamAjax4JsfFaceletDetail

The comment on the change is:
No need of listener

------------------------------------------------------------------------------
  }}}
      
  
- Afterward you have to define the listener for your JSF-Implementation. I used MyFaces and
therefor used this declaration:
+ You don´t have to define any additional listeners for your JSF-implementation as these
are listed inside the TLD for the core lib (<f:xxx>) and the web-container should
+ see the Listener, when parsing the TLD, during deployment.
+ 
+ That´s why you can remove listeners like:
  
  {{{  
+     <!-- MyFaces listener -->
      <listener>
          <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
      </listener>
+     <!-- Sun RI listener -->
- }}}    
- 
- But if you´re playing with SUN RI, declare it this way:
- 
- {{{
      <listener>
          <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
      </listener>
  }}}    
+ 
+ from your web.xml.
  
  For the most of the libraries you don´t have to set any special context-parameters, but
when it comes to the Trinidad `context-param`s the following declaration is 
  necessary:

Mime
View raw message