2010-08-26 54 views

回答

1

這樣看來,你可以在faces-config文件指定自己PartialViewContextFactory,像這樣:

<faces-config ...> 
    <application> 
     <factory> 
      <partial-view-context-factory> 
       com.yourcompany.jsfextention.MyPartialViewContextFactory 
      </partial-view-context-factory> 
     </factory> 
     ... 
    </application> 
    ... 
</faces-config> 
相關問題