Hello Mario,

In principle, you are doing the right thing by declaring the
component-class for an existing component type in the faces-config
file.  So, I cannot tell from your message what is going wrong.
Can you send us the error message?

Also, be warned that it is not trivial to use a custom component
for the view root.  I tried this a few weeks ago and failed to get
JSF to recognize my custom view root component *and* to have
it behave like a view root.  I only tried a few hours, but decided it
was not worth my effort.  However, if you are successful, I would
*love* to hear how you did it.

-Bryan

[EMAIL PROTECTED] wrote:

Hi, I have a question about the JSF mechanism used to set a component:

If I have to jars both defining:

  <component>

    <component-type>javax.faces.ViewRoot</component-type>

    <component-class>xxxxxxx.myClassXXX</component-class>

  </component>

Witch is the component type used for ViewRoot? May be depends on the classloader order used to load jars?

Thanks in advance

Mario This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.


Reply via email to