I should have asked this earlier, what is my:component? Do you use
ui:component in the root of the xhtml file? Is there getConverter /
setConverter methods on the component?

If you could provide a small code snippet from the facelet and the
component that it uses that would help.

-Andrew

On Wed, Apr 23, 2008 at 11:31 AM, arne anka <[EMAIL PROTECTED]> wrote:
> snippet from faces-config.xml:
>  <converter>
>         <description>
>         </description>
>         <display-name>contentConverter</display-name>
>         <converter-id>contentConverter</converter-id>
>
> <converter-class>my.package.FaceletsElements.FedoraObjectContentConverter</converter-class>
>  </converter>
>
>  as said before -- it works with standard components. so it seems to be
> something trivial i do not see.
>
>
>
>
>
>
>
>
>
>  On Wed, 23 Apr 2008 19:21:37 +0200, Andrew Robinson
> <[EMAIL PROTECTED]> wrote:
>
>
> > Have you registered the converter in faces-config.xml properly? Please
> > post your configuration for your converter
> >
> > On Wed, Apr 23, 2008 at 7:20 AM, arne anka <[EMAIL PROTECTED]> wrote:
> >
> > > hi,
> > >  i got my custom component (faclets based, not tomahawk or trinidad,
> > > extending UIOutput) working so far -- but my converter is not executed.
> > >  if i attribute the converter to, say, h:outputText it works, so it
> seems to
> > > be ok.
> > >  my idea is, because i use my own rendere (getRendererType() returns
> null)
> > > maybe i need to call it myself?
> > >  if so, how do i get hold of the converter?
> > >
> > >  both with
> > >
> > >  <my:component value="foo" converter="contentConverter" />
> > >
> > >  and with
> > >
> > >  <my:component value="foo">
> > >        <f:converter converterId="contentConverter"/>
> > >  </my:component>
> > >
> > >  getConverter() always returns null
> > >
> > >  thanks in advance
> > >
> > >
> >
>
>
>

Reply via email to