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
<andrew.rw.robinson@gmail.com> 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 <dojo@ginguppin.de> 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
>>
|