views:

12

answers:

1

I want to be able to process generic AJAX requests that do more than just updating an existent component. How can I override the default PartialViewContext in the FacexContext?

A: 

It would appear you can specify your own PartialViewContextFactory in the faces-config file, like this:

<faces-config ...>
    <application>
        <factory>
            <partial-view-context-factory>
                com.yourcompany.jsfextention.MyPartialViewContextFactory
            </partial-view-context-factory>
        </factory>
        ...
    </application>
    ...
</faces-config>
Anda Clarke