unsubscribe

On 8 December 2017 at 16:08, Voß, Marko <marko.v...@cgi.com> wrote:

> Hi Udo,
>
> thank you very much for your help. Your suggestion works.
>
> Have a nice weekend.
>
>
> Regards,
> Marko
>
> -----Ursprüngliche Nachricht-----
> Von: Udo Schnurpfeil [mailto:lof...@apache.org]
> Gesendet: Freitag, 8. Dezember 2017 11:40
> An: users@myfaces.apache.org
> Betreff: Re: [TOBAGO] How to setup my own PageRenderer in 3.0.6
>
> Hi,
>
> I've testet it, and I found 2 additional points in the faces-config.xml:
> You need to define the render-kit-it:
>
> <render-kit>
>   <render-kit-id>tobago</render-kit-id>
>   <renderer>
>     <component-family>javax.faces.Form</component-family>
>     <renderer-type>Page</renderer-type>
>     <renderer-class>org.apache.myfaces.tobago.example.demo.
> DemoPageRenderer</renderer-class>
>   </renderer>
> </render-kit>
>
> and you should define an ordering, to select reliablely the double defined
> renderer:
>
> <ordering>
>
>   <after>
>     <name>tobago_core</name>
>   </after>
> </ordering>
>
> Regards,
>
> Udo
>
> Am 07.12.17 um 23:02 schrieb Udo Schnurpfeil:
> > Hi Marko,
> >
> > the voting for 4.0.0 ist just done. The release will be available via
> > the Maven repos very soon. Tomorrow the websites will be updated.
> >
> > I'll check the configuration of own renderers, that should work.
> >
> > Regards
> >
> > Udo
> >
> >
> > Am 07.12.17 um 14:39 schrieb Voß, Marko:
> >> Hello,
> >>
> >> I need to setup my own PageRenderer in Tobago 3.0.6 as we need to setup
> custom Meta information. 4.0.0 is not yet released and we are in a hurry to
> get into production this month.
> >>
> >> I tried this in faces-config.xml:
> >>
> >> <render-kit>
> >>        <renderer>
> >>              <component-family>javax.faces.Form</component-family>
> >>              <renderer-type>Page</renderer-type>
> >>              <renderer-class>foo.bar.MyRenderer </renderer-class>
> >>        </renderer>
> >> </render-kit>
> >>
> >> MyRenderer extends PageRenderer.
> >>
> >> It does not work. MyRenderer is not being used.
> >>
> >> Thank you very much.
> >>
> >> Kind regards,
> >> Marko
> >>
>
>

Reply via email to