пятница, 24 июня 2011 г.

The simplicity in code much more better than complex stupidity covered by enterprise patterns.

The simplicity in code much more better than complex stupidity covered by enterprise patterns.

понедельник, 20 июня 2011 г.

Write custom FaceletFactory

It can be done via following steps:

  1.  Create class, that dirived from DefaultFaceletFactory
  2.  Overwrite logic
  3.  Configure jsf to use created class.
    <context-param>
            <param-name>com.sun.faces.faceletFactory</param-name>
            <param-value>org.yes.cart.web.application.view.MultiStoreFaceletFactory</param-value>
    </context-param>