why need to set org.ajax4jsf.VIEW_HANDLERS

View: New views
2 Messages — Rating Filter:   Alert me  

why need to set org.ajax4jsf.VIEW_HANDLERS

by jimmy6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is the following setting to overwrite jsf default handler? Maybe can any one tell why ajax4jsf need that.
<context-param>
        <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
        <param-value>com.sun.facelets.FaceletViewHandler</param-value>
</context-param>

Then why in my jsf config still need
<view-handler>
    com.sun.facelets.FaceletViewHandler
</view-handler>

2) I show org.ajax4jsf.framework.ajax.AjaxViewRoot in console. It mean ajax4jsf overwrite jsf viewroot?  or there is 2 view root?

Re: why need to set org.ajax4jsf.VIEW_HANDLERS

by Sergey Smirnov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This mailling list is deprecated. Please use jboss RichFaces forum for
further questions.
1. If FaceletViewHandler is declared in the web.xml with
org.ajax4jsf.VIEW_HANDLERS, it must NOT be declared in the faces-config.xml.
However, declaring FaceletViewHandler in the web.xml is not nessesary for a
very long period of time. You post sounds like a message from the deeply
past.

2.  ajax4jsf overwrites jsf viewroot



----- Original Message -----
From: "jimmy6" <whatcani2@...>
To: <dev@...>
Sent: Friday, July 13, 2007 9:22 PM
Subject: why need to set org.ajax4jsf.VIEW_HANDLERS


>
> Is the following setting to overwrite jsf default handler? Maybe can any
> one
> tell why ajax4jsf need that.
> <context-param>
>        <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
>        <param-value>com.sun.facelets.FaceletViewHandler</param-value>
> </context-param>
>
> Then why in my jsf config still need
> <view-handler>
>    com.sun.facelets.FaceletViewHandler
> </view-handler>
>
> 2) I show org.ajax4jsf.framework.ajax.AjaxViewRoot in console. It mean
> ajax4jsf overwrite jsf viewroot?  or there is 2 view root?
> --
> View this message in context:
> http://www.nabble.com/why-need-to-set-org.ajax4jsf.VIEW_HANDLERS-tf4077981.html#a11590966
> Sent from the Ajax4jsf dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

LightInTheBox - Buy quality products at wholesale price!