Hi,

Just write your renderer and add the following to your project's faces
config
<render-kit>
       <renderer>
           <component-family>javax.faces.Panel</component-family>
           <renderer-type>org.apache.myfaces.Navigation</renderer-type>
           <renderer-class>your.extended.HtmlNavigationRenderer
</renderer-class>
       </renderer>
</render-kit>

Cagatay

On 5/24/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:

Google is your friend.

This article will hopefully be enough:


https://blueprints.dev.java.net/bpcatalog/ee5/ajax/extendingRenderFunctionality.html

On 5/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
>
>
>
> No responses?
>
> Please!
>
>
>
> Mario
>
>
>
>  ________________________________
>
>
> From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]
>  Sent: 24 maggio 2007 15.53
>  To: [email protected]
>  Subject: I need to override the HtmlNavigationMenuRenderer
>
>
>
>
> I need to override the HtmlNavigationMenuRenderer because I want
> enable/disable the menu items basing on application logic before
rendering
> it (or during rendering).
>
>
>
> How can I do it?
>
>
>
> 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.
>
>
>
>
>
> 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